Compile problems on new server

From: Brian Helms (bhelms1@GL.UMBC.EDU)
Date: 02/09/98


Wish I knew more about the different flavors of UNIX.  Our old server went
down, found a new one but it's running BSD or some flavor of UNIX that
configure doesn't work 100% for.  I can configure, it works, but compile
blows up...  Here's the output of my makefile
begin makefile
--------
% make
make ../bin/circle
gcc -c -g -O -Wall -fno-strict-prototypes  comm.c
cc1: Invalid option `-fno-strict-prototypes'
In file included from comm.c:31:
comm.h:83: conflicting types for `htonl'
/usr/include/machine/endian.h:64: previous declaration of `htonl'
comm.h:95: conflicting types for `ntohl'
/usr/include/machine/endian.h:66: previous declaration of `ntohl'
comm.c: In function `END_WAR':
comm.c:704: warning: implicit declaration of function `war_info_channel'
comm.c:693: warning: unused variable `count'
comm.c: In function `END_CLAN_WAR':
comm.c:745: warning: implicit declaration of function `clan_victory'
comm.c:735: warning: unused variable `count'
comm.c: In function `CHECK_WAR':
comm.c:784: warning: unused variable `next_ch'
comm.c: In function `make_prompt':
comm.c:1259: warning: array subscript has type `char'
comm.c:1262: warning: array subscript has type `char'
comm.c: In function `perform_act':
comm.c:2145: warning: suggest parentheses around && within ||
comm.c:2148: warning: suggest parentheses around && within ||
comm.c: In function `act':
comm.c:2289: warning: suggest parentheses around && within ||
comm.c:2289: warning: suggest parentheses around && within ||
comm.c:2224: warning: `to' might be used uninitialized in this function
*** Error code 1

Stop.
*** Error code 1

-------
end makefile

Anyone who can offer suggestions or aid will earn my lifelong gratitude :O


Brian
bhelms1@gl.umbc.edu


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