delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-5.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
X-IronPortListener: | Outbound_SMTP |
X-IronPort-Anti-Spam-Filtered: | true |
X-IronPort-Anti-Spam-Result: | Ag4BAFAF3U6cKEdK/2dsb2JhbABEhQWVD414gSKBD34HgXIBAQEEEhERVQIBCA0NAhgOAgICHRMVAgENAQEEGxqhU4lQkW6BMIhbM2MEiC2EL41njE8 |
From: | "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder AT niaid DOT nih DOT gov> |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
Date: | Mon, 5 Dec 2011 12:59:39 -0500 |
Subject: | RE: injob version 1.3 |
Message-ID: | <0105D5C1E0353146B1B222348B0411A20A43AF2C44@NIHMLBX02.nih.gov> |
References: | <4EDC224D DOT 3020907 AT gmail DOT com> <0105D5C1E0353146B1B222348B0411A20A43AF2C0C AT NIHMLBX02 DOT nih DOT gov> <4EDCF0BC DOT 6090301 AT gmail DOT com> |
In-Reply-To: | <4EDCF0BC.6090301@gmail.com> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id pB5I0Y2m014643 |
Dave Korn sent the following at Monday, December 05, 2011 11:27 AM >> 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 <Tlhelp32.h>" > >should be all lower-case. Thanks. But no joy. /arc/2build/C> gcc -lntdll -o injob injob-1.3.c /tmp/ccP0Ylww.o:injob-1.3.c:(.text+0x87b): undefined reference to `__imp__NtQueryInformationProcess AT 20' collect2: ld returned 1 exit status (I corrected the case of Tlhelp32.h.) - Barry Disclaimer: Statements made herein are not made on behalf of NIAID.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |