Re: Yet Another Red Hat 5.0 Compile Question

From: George (greerga@CIRCLEMUD.ORG)
Date: 03/26/98


On Thu, 26 Mar 1998, Jared Buckley wrote:

>gcc -c -g -O -Wall -fno-strict-prototypes  comm.c
>In file included from comm.c:14:
>sysdep.h:207: conflicting types for `random'
>/usr/include/stdlib.h:218: previous declaration of `random'
>In file included from comm.c:30:
>comm.h:83: conflicting types for `htonl'
>/usr/include/netinet/in.h:200: previous declaration of `htonl'
>comm.h:95: conflicting types for `ntohl'
>/usr/include/netinet/in.h:198: previous declaration of `ntohl'
>make[1]: *** [comm.o] Error 1

Try just removing them from 'sysdep.h', they're redundant.

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


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



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