Daniel Colascione sent the following at Sunday, December 04, 2011 8:46 PM
>
> * injob: runs a program (Win32 or Cygwin) in a job object, imbuing it
> * and all its sub-processes with Cygwin job control support.
> *
> * Revision history:
> *
> * Version 1.3 - 2011-12-04
> *
> *   - Add ability to wait for all processes in a job to exit
> *     before killing the entire job.
> *
> *   - Add ability to trace execution of processes in jobs.
> *
> *   - Correctly block SIGHUP.
> *
> *   - Print PIDs of children in the job when SIGUSR1 is
> *     received.
> *
> *   - Correctly propagate exit status of Cygwin programs in the job.
> *
> * Version 1.0 - 2011-04-06
> *
> *   - Initial release
> *
> */
>
>/**

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?

Thanks,

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.

Reply via email to