Compiling under DJGPP v2...

From: Vladimir Nano (
Date: 10/25/01

Can You help me with $subj.
(It's DJGPP under w95, gcc 2.953)
When I compile (for example bpl17), in comm.c occurs error.
Here is listing:
d:/djgpp/bin/make.exe ../bin/circle
make.exe[1]: Entering directory `d:/djgpp/mysrc/circle30bpl17/src'
gcc -c -g -O2 -Wall  comm.c
comm.c: In function `reap':
comm.c:1959: `SIGCHLD' undeclared (first use in this function)
comm.c:1959: (Each undeclared identifier is reported only once
comm.c:1959: for each function it appears in.)
comm.c: In function `signal_setup':
comm.c:2039: `ITIMER_VIRTUAL' undeclared (first use in this function)
comm.c:2040: `SIGVTALRM' undeclared (first use in this function)
comm.c:2044: `SIGCHLD' undeclared (first use in this function)
make.exe[1]: *** [comm.o] Error 1
make.exe[1]: Leaving directory `d:/djgpp/mysrc/circle30bpl17/src'
make.exe: *** [all] Error 2

I have signal.h, but without signals SIGCHILD and SIGVTALRM
and sys/time.h without ITIMER_VIRTUAL.

Thank You
PS: When I delete those lines -> no errors. ;-)

   | FAQ: |
   | Archives: |

This archive was generated by hypermail 2b30 : 12/06/01 PST