X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Message-ID: <4EDCF0BC.6090301@gmail.com> Date: Mon, 05 Dec 2011 16:26:36 +0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: injob version 1.3 References: <4EDC224D DOT 3020907 AT gmail DOT com> <0105D5C1E0353146B1B222348B0411A20A43AF2C0C AT NIHMLBX02 DOT nih DOT gov> In-Reply-To: <0105D5C1E0353146B1B222348B0411A20A43AF2C0C@NIHMLBX02.nih.gov> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com > Windows 7. Everything up to date. > > /arc/2build> gcc -o injob injob.c > /tmp/ccOdzsVZ.o:injob.c:(.text+0x87b): undefined reference to `__imp__NtQueryInformationProcess AT 20' > collect2: ld returned 1 exit status > > What am I doing wrong? Needs "-lntdll". Also, if obcaseinsensitive=0, the "#include " should be all lower-case. cheers, DaveK -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple