injob version 1.3
Dave Korn
dave.korn.cygwin@gmail.com
Mon Dec 5 16:27:00 GMT 2011
> 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.
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
More information about the Cygwin
mailing list