Compiling under DJGPP v2...

From: Vladimir Nano (nano.vladimir@slsp.sk)
Date: 10/25/01


Hallo;-)
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
VladoN
PS: When I delete those lines -> no errors. ;-)

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



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