This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: injob version 1.3


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@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@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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]