sys/wait.h in windows
kazzmir

I wrote a program in Solaris( UNIX ) that uses <sys/wait.h> and various signal stuff. When trying to compile in windows, i get the following errors:

gcc pp_concurrent_operations.c -c -o pp_concurrent_operations.o
pp_concurrent_operations.c:45:22: sys/wait.h: No such file or directory
pp_concurrent_operations.c: In function `runCommand':
pp_concurrent_operations.c:318: `P_PID' undeclared (first use in this function)
pp_concurrent_operations.c:318: (Each undeclared identifier is reported only onc
e
pp_concurrent_operations.c:318: for each function it appears in.)
pp_concurrent_operations.c:318: `SIGCONT' undeclared (first use in this function
)
pp_concurrent_operations.c: In function `main':
pp_concurrent_operations.c:478: `SIGCONT' undeclared (first use in this function
)
pp_concurrent_operations.c:527: `P_PID' undeclared (first use in this function)
make: *** [pp_concurrent_operations.o] Error 1

Anyone know a way to compile this? Im using mingw with gcc 3.2.3.

MiquelFire

Only I know is to either find Window's version of that header, or download Cygwin.

Oscar Giner

All that stuff is UNIX specific.

Maybe that could be compiled using cygwin?

Thread #360393. Printed from Allegro.cc