[Newbie][Compiling]:More errors.

From: Miguel Chávez G. (mchlinux@col1.telmex.net.mx)
Date: 04/14/99


I feel realy bad.
I change it twice.
The first change was to change ulong to u_long (and too to unsigned
long)
But its didnt works.
Te error i got was:

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'
*** Exit 1
Stop.
*** Exit 1
Stop.
colliman>

-------------------------------------------------------
The second time was to comment the #ifdef :

/* #ifdef NEED_HTONL_PROTO */
/*    unsigned long htonl(unsigned long hostlong); */
/* #endif */

The Error I got was:

cc -c -g -O2 -Wall  comm.c
comm.c: In function `get_bind_addr':
comm.c:1110: warning: implicit declaration of function `htonl'
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'
*** Exit 1
Stop.
*** Exit 1
Stop.
colliman>

Thanks a lot.


     +------------------------------------------------------------+
     | 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