Re: [Newbie][Compiling]:More errors.

From: George Greer (greerga@circlemud.org)
Date: 04/15/99


On Wed, 14 Apr 1999, Miguel [iso-8859-1] Chávez G. wrote:

>cc -c -g -O2 -Wall  comm.c
>comm.c: In function `parse_ip':
>comm.c:1146: warning: pointer to const given for argument 1 of
>`inet_addr'
>comm.c: In function `reap':
>comm.c:1946: warning: implicit declaration of function `waitpid'
>comm.c:1946: `WNOHANG' undeclared (first use this function)
>comm.c:1946: (Each undeclared identifier is reported only once
>comm.c:1946: for each function it appears in.)
>comm.c:1948: warning: implicit declaration of function `my_signal'

You must have a pretty non-standard system.  You'll have to poke around in
/usr/include for the appropriate header that has 'waitpid' in it.

--
George Greer
greerga@circlemud.org


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST