public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Dave Korn <dave.korn.cygwin@gmail.com>
To: cygwin@cygwin.com
Subject: Re: injob version 1.3
Date: Mon, 05 Dec 2011 16:27:00 -0000	[thread overview]
Message-ID: <4EDCF0BC.6090301@gmail.com> (raw)
In-Reply-To: <0105D5C1E0353146B1B222348B0411A20A43AF2C0C@NIHMLBX02.nih.gov>


> 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

  reply	other threads:[~2011-12-05 16:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-05  1:46 Daniel Colascione
2011-12-05 11:54 ` Andrew Schulman
2011-12-05 16:03 ` Buchbinder, Barry (NIH/NIAID) [E]
2011-12-05 16:27   ` Dave Korn [this message]
2011-12-05 17:59     ` Buchbinder, Barry (NIH/NIAID) [E]
2011-12-05 18:11       ` Andrew Schulman
2011-12-05 18:26         ` Buchbinder, Barry (NIH/NIAID) [E]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EDCF0BC.6090301@gmail.com \
    --to=dave.korn.cygwin@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).