I am currently trying to compile the Vanilla server which was
downloaded from the sourceforge CVS Repository.

I am running Fedora Core 3 Linux 2.6.9-1.667 - I have had to change
some lines due to compile errors (char *strdup();   to   char
*strdup(char *str);    in defaults.c) (advised by a friend)

I got this error during make "x11window.c:136: error: conflicting
types for 'malloc" this was solved by commenting the line out.

But now im having another problem which i am unsure how to deal with it.

My make error and ./configure output is below. (not all of my make
because there simply is too much to copy)

-------------------------------------- ./CONFIGURE
-------------------------------------------
loading cache ./config.cache
checking for used sources... Vanilla SERVER
installation path is /usr/local/games/netrek
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking whether ln -s works... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking for AIX... no
checking for inline... (cached) inline
checking if fd_set requires sys/select.h... no
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking for memory.h... (cached) yes
checking for math.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for sys/timeb.h... (cached) yes
checking for sys/ptyio.h... (cached) no
checking for sys/fcntl.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for ctype.h... (cached) yes
checking for machine/endian.h... (cached) no
checking for sys/resource.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for sys/filio.h... (cached) no
checking for gdbm.h... (cached) no
checking for ncurses.h... (cached) yes
checking for gdbm_open in -lgdbm... (cached) no
checking for wait3 that fills in rusage... (cached) yes
checking for pid_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for size_t... (cached) yes
checking for vfork.h... (cached) no
checking for working vfork... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for itimer in time.h... no
checking size of long... (cached) 4
checking for u_int in sys/types.h... yes
checking for PATH_MAX in limits.h... yes
checking for main in -lgdi32... (cached) no
checking for X... (cached) no
checking for mp.h... no
checking for gmp.h... no
checking for main in -lmp... (cached) no
checking for main in -lgmp... (cached) no
checking for main in -lmp... (cached) no
Warning mp or gmp library not found, turning RSA off.
checking res-rsa/configure... RSA utilities found
checking for main in -lXbsd... (cached) no
checking for main in -lsocket... (cached) no
checking for main in -linet... (cached) no
checking for main in -lnsl... (cached) yes
checking for main in -lseq... (cached) no
checking for main in -lsun... (cached) no
checking for main in -lipc... (cached) no
checking for main in -lshm... (cached) no
checking for main in -lstuff... (cached) no
checking for crypt in -lcrypt... (cached) yes
checking for main in -ltermcap... (cached) no
checking for newwin in -lncurses... (cached) yes
checking return type of signal handlers... (cached) void
checking for restartable system calls... (cached) yes
checking for signals style... (cached) BSD
checking for usleep... (cached) yes
checking for random... (cached) yes
checking for setstate... (cached) yes
checking for strftime... (cached) yes
checking for ftime... (cached) yes
checking for strcmpi... (cached) no
checking for strncmpi... (cached) no
checking for main in -lm... (cached) yes
checking for nint... (cached) no
checking for nint in -lsunmath... (cached) no
checking for random... (cached) yes
checking for strdup... (cached) yes
checking for rint... (cached) yes
checking for netstat... yes
checking for uptime... yes
creating ./config.status
creating system.mk
creating Makefile
creating ntserv/Makefile
creating tools/Makefile
creating sequencer/Makefile
creating newstartd/Makefile
creating robots/Makefile
creating keycomp/Makefile
creating xsg/Makefile
creating pledit/Makefile
creating robotd/Makefile
creating docs/Makefile
creating tools/no_geno_timer
creating tools/geno_timer
creating docs/sample_geno_timer_crontab
creating docs/sample_sysdef
creating include/config.h
include/config.h is unchanged
configuring in res-rsa
running /bin/sh ./configure  --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ranlib... (cached) ranlib
checking for inline... (cached) inline
checking for gmp.h... (cached) no
GMP not found, non-GMP version of librsa will be built.
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
------------------------------------------------------------------------------------------------




--------------------------------------- Make
-----------------------------------------------
defs.h:246:8: warning: extra tokens at end of #endif directive
In file included from dodge.c:9:
struct.h:84:8: warning: extra tokens at end of #endif directive
In file included from dodge.c:10:
data.h:116:8: warning: extra tokens at end of #endif directive
dodge.c:177:8: warning: extra tokens at end of #endif directive
dodge.c:188:8: warning: extra tokens at end of #endif directive
dodge.c:360:8: warning: extra tokens at end of #endif directive
dodge.c:652:8: warning: extra tokens at end of #endif directive
dodge.c:708:8: warning: extra tokens at end of #endif directive
dodge.c:910:8: warning: extra tokens at end of #endif directive
dodge.c:1324:8: warning: extra tokens at end of #endif directive
dodge.c:1363:8: warning: extra tokens at end of #endif directive
dodge.c:1372:8: warning: extra tokens at end of #endif directive
dodge.c:1408:8: warning: extra tokens at end of #endif directive
dodge.c:1464:8: warning: extra tokens at end of #endif directive
dodge.c:1480:8: warning: extra tokens at end of #endif directive
gcc -g -O2 -funroll-loops -finline-functions -DATM -DPING
-DHAVE_NINT=0   -c -o engage.o engage.c
In file included from engage.c:7:
defs.h:246:8: warning: extra tokens at end of #endif directive
In file included from engage.c:8:
struct.h:84:8: warning: extra tokens at end of #endif directive
In file included from engage.c:9:
data.h:116:8: warning: extra tokens at end of #endif directive
engage.c:635:8: warning: extra tokens at end of #endif directive
engage.c:776:8: warning: extra tokens at end of #endif directive
gcc -g -O2 -funroll-loops -finline-functions -DATM -DPING
-DHAVE_NINT=0   -c -o enter.o enter.c
In file included from enter.c:13:
defs.h:246:8: warning: extra tokens at end of #endif directive
In file included from enter.c:14:
struct.h:84:8: warning: extra tokens at end of #endif directive
In file included from enter.c:15:
data.h:116:8: warning: extra tokens at end of #endif directive
gcc -g -O2 -funroll-loops -finline-functions -DATM -DPING
-DHAVE_NINT=0   -c -o escort.o escort.c
In file included from escort.c:7:
defs.h:246:8: warning: extra tokens at end of #endif directive
In file included from escort.c:8:
struct.h:84:8: warning: extra tokens at end of #endif directive
In file included from escort.c:9:
data.h:116:8: warning: extra tokens at end of #endif directive
gcc -g -O2 -funroll-loops -finline-functions -DATM -DPING
-DHAVE_NINT=0   -c -o findslot.o findslot.c
In file included from findslot.c:14:
defs.h:246:8: warning: extra tokens at end of #endif directive
In file included from findslot.c:15:
struct.h:84:8: warning: extra tokens at end of #endif directive
In file included from findslot.c:16:
data.h:116:8: warning: extra tokens at end of #endif directive
gcc -g -O2 -funroll-loops -finline-functions -DATM -DPING
-DHAVE_NINT=0   -c -o getarmies.o getarmies.c
In file included from getarmies.c:8:
defs.h:246:8: warning: extra tokens at end of #endif directive
In file included from getarmies.c:9:
struct.h:84:8: warning: extra tokens at end of #endif directive
In file included from getarmies.c:10:
data.h:116:8: warning: extra tokens at end of #endif directive
getarmies.c:239:8: warning: extra tokens at end of #endif directive
getarmies.c:247:8: warning: extra tokens at end of #endif directive
getarmies.c:253:8: warning: extra tokens at end of #endif directive
gcc -g -O2 -funroll-loops -finline-functions -DATM -DPING
-DHAVE_NINT=0   -c -o getname.o getname.c
In file included from getname.c:16:
defs.h:246:8: warning: extra tokens at end of #endif directive
In file included from getname.c:17:
struct.h:84:8: warning: extra tokens at end of #endif directive
In file included from getname.c:18:
data.h:116:8: warning: extra tokens at end of #endif directive
gcc -g -O2 -funroll-loops -finline-functions -DATM -DPING
-DHAVE_NINT=0   -c -o getship.o getship.c
In file included from getship.c:8:
defs.h:246:8: warning: extra tokens at end of #endif directive
In file included from getship.c:9:
struct.h:84:8: warning: extra tokens at end of #endif directive
In file included from getship.c:10:
data.h:116:8: warning: extra tokens at end of #endif directive
getship.c:298:8: warning: extra tokens at end of #endif directive
getship.c:617:8: warning: extra tokens at end of #endif directive
gcc -g -O2 -funroll-loops -finline-functions -DATM -DPING
-DHAVE_NINT=0   -c -o main.o main.c
In file included from main.c:20:
defs.h:246:8: warning: extra tokens at end of #endif directive
In file included from main.c:21:
struct.h:84:8: warning: extra tokens at end of #endif directive
In file included from main.c:22:
data.h:116:8: warning: extra tokens at end of #endif directive
main.c:258:8: warning: extra tokens at end of #endif directive
gcc -g -O2 -funroll-loops -finline-functions -DATM -DPING
-DHAVE_NINT=0   -c -o master.o master.c
In file included from master.c:17:
defs.h:246:8: warning: extra tokens at end of #endif directive
In file included from master.c:18:
struct.h:84:8: warning: extra tokens at end of #endif directive
In file included from master.c:19:
data.h:116:8: warning: extra tokens at end of #endif directive
master.c: In function `connect_master':
master.c:66: warning: passing arg 2 of `connect' from incompatible pointer type
gcc -g -O2 -funroll-loops -finline-functions -DATM -DPING
-DHAVE_NINT=0   -c -o newwin.o newwin.c
newwin.c:12:7: warning: extra tokens at end of #else directive
newwin.c:14:8: warning: extra tokens at end of #endif directive
In file included from newwin.c:15:
defs.h:246:8: warning: extra tokens at end of #endif directive
In file included from newwin.c:16:
struct.h:84:8: warning: extra tokens at end of #endif directive
In file included from newwin.c:17:
data.h:116:8: warning: extra tokens at end of #endif directive
gcc -g -O2 -funroll-loops -finline-functions -DATM -DPING
-DHAVE_NINT=0   -c -o ogg.o ogg.c
In file included from ogg.c:7:
defs.h:246:8: warning: extra tokens at end of #endif directive
In file included from ogg.c:8:
struct.h:84:8: warning: extra tokens at end of #endif directive
In file included from ogg.c:9:
data.h:116:8: warning: extra tokens at end of #endif directive
ogg.c:47:8: warning: extra tokens at end of #endif directive
gcc -g -O2 -funroll-loops -finline-functions -DATM -DPING
-DHAVE_NINT=0   -c -o parse.o parse.c
In file included from parse.c:10:
defs.h:246:8: warning: extra tokens at end of #endif directive
In file included from parse.c:11:
struct.h:84:8: warning: extra tokens at end of #endif directive
In file included from parse.c:12:
data.h:116:8: warning: extra tokens at end of #endif directive
parse.c:80:8: warning: extra tokens at end of #endif directive
gcc -g -O2 -funroll-loops -finline-functions -DATM -DPING
-DHAVE_NINT=0   -c -o ping.o ping.c
In file included from ping.c:12:
defs.h:246:8: warning: extra tokens at end of #endif directive
In file included from ping.c:13:
struct.h:84:8: warning: extra tokens at end of #endif directive
In file included from ping.c:14:
data.h:116:8: warning: extra tokens at end of #endif directive
gcc -g -O2 -funroll-loops -finline-functions -DATM -DPING
-DHAVE_NINT=0   -c -o reserved.o reserved.c
gcc -g -O2 -funroll-loops -finline-functions -DATM -DPING
-DHAVE_NINT=0   -c -o shmem.o shmem.c
In file included from shmem.c:17:
defs.h:246:8: warning: extra tokens at end of #endif directive
In file included from shmem.c:18:
struct.h:84:8: warning: extra tokens at end of #endif directive
In file included from shmem.c:19:
data.h:116:8: warning: extra tokens at end of #endif directive
gcc -g -O2 -funroll-loops -finline-functions -DATM -DPING
-DHAVE_NINT=0   -c -o sintab.o sintab.c
gcc -g -O2 -funroll-loops -finline-functions -DATM -DPING
-DHAVE_NINT=0   -c -o socket.o socket.c
In file included from socket.c:25:
defs.h:246:8: warning: extra tokens at end of #endif directive
In file included from socket.c:26:
struct.h:84:8: warning: extra tokens at end of #endif directive
In file included from socket.c:27:
data.h:116:8: warning: extra tokens at end of #endif directive
socket.c:40:8: warning: extra tokens at end of #endif directive
socket.c:59: warning: conflicting types for built-in function 'exit'
socket.c:63:8: warning: extra tokens at end of #endif directive
socket.c:106:8: warning: extra tokens at end of #endif directive
socket.c:176:8: warning: extra tokens at end of #endif directive
socket.c:294:8: warning: extra tokens at end of #endif directive
socket.c: In function `connectToServer':
socket.c:328: warning: passing arg 2 of `bind' from incompatible pointer type
socket.c:330: warning: passing arg 2 of `bind' from incompatible pointer type
socket.c:332: warning: passing arg 2 of `bind' from incompatible pointer type
socket.c:353: warning: passing arg 2 of `accept' from incompatible pointer type
socket.c: In function `connectToRWatch':
socket.c:438: warning: passing arg 2 of `connect' from incompatible pointer type
socket.c:441:8: warning: extra tokens at end of #endif directive
socket.c:504:8: warning: extra tokens at end of #endif directive
socket.c:521:8: warning: extra tokens at end of #endif directive
socket.c: In function `callServer':
socket.c:523: warning: passing arg 2 of `connect' from incompatible pointer type
socket.c:550:8: warning: extra tokens at end of #endif directive
socket.c: In function `doRead':
socket.c:657: warning: passing arg 2 of `connect' from incompatible pointer type
socket.c:880:8: warning: extra tokens at end of #endif directive
socket.c:892:8: warning: extra tokens at end of #endif directive
socket.c:1048:8: warning: extra tokens at end of #endif directive
socket.c:1052:8: warning: extra tokens at end of #endif directive
socket.c:1060:8: warning: extra tokens at end of #endif directive
socket.c:1081:8: warning: extra tokens at end of #endif directive
socket.c:1117:8: warning: extra tokens at end of #endif directive
socket.c:1125:8: warning: extra tokens at end of #endif directive
socket.c:1144:8: warning: extra tokens at end of #endif directive
socket.c:1210:8: warning: extra tokens at end of #endif directive
socket.c:1246:8: warning: extra tokens at end of #endif directive
socket.c:1317:8: warning: extra tokens at end of #endif directive
socket.c:1323:8: warning: extra tokens at end of #endif directive
socket.c:1376:8: warning: extra tokens at end of #endif directive
socket.c:1480:8: warning: extra tokens at end of #endif directive
socket.c:1489:8: warning: extra tokens at end of #endif directive
socket.c:1543:8: warning: extra tokens at end of #endif directive
socket.c:1551:8: warning: extra tokens at end of #endif directive
socket.c:1561:8: warning: extra tokens at end of #endif directive
socket.c:1582:8: warning: extra tokens at end of #endif directive
socket.c:1609:8: warning: extra tokens at end of #endif directive
socket.c:1639:8: warning: extra tokens at end of #endif directive
socket.c:1659:8: warning: extra tokens at end of #endif directive
socket.c:1682:8: warning: extra tokens at end of #endif directive
socket.c:1689:8: warning: extra tokens at end of #endif directive
socket.c:1724:8: warning: extra tokens at end of #endif directive
socket.c:1745:8: warning: extra tokens at end of #endif directive
socket.c:1785:8: warning: extra tokens at end of #endif directive
socket.c:1795:8: warning: extra tokens at end of #endif directive
socket.c:1811:8: warning: extra tokens at end of #endif directive
socket.c:1823:8: warning: extra tokens at end of #endif directive
socket.c:1826:8: warning: extra tokens at end of #endif directive
socket.c:1847:8: warning: extra tokens at end of #endif directive
socket.c:1882:8: warning: extra tokens at end of #endif directive
socket.c:1894:8: warning: extra tokens at end of #endif directive
socket.c:1925:8: warning: extra tokens at end of #endif directive
socket.c:1941:8: warning: extra tokens at end of #endif directive
socket.c:1956:8: warning: extra tokens at end of #endif directive
socket.c:1986:8: warning: extra tokens at end of #endif directive
socket.c:2012:8: warning: extra tokens at end of #endif directive
socket.c:2026:8: warning: extra tokens at end of #endif directive
socket.c:2129:8: warning: extra tokens at end of #endif directive
socket.c:2148:8: warning: extra tokens at end of #endif directive
socket.c:2152:8: warning: extra tokens at end of #endif directive
socket.c:2178:8: warning: extra tokens at end of #endif directive
socket.c:2417:8: warning: extra tokens at end of #endif directive
socket.c: In function `openUdpConn':
socket.c:2436: warning: passing arg 2 of `bind' from incompatible pointer type
socket.c: In function `recvUdpConn':
socket.c:2520: warning: passing arg 5 of `recvfrom' from incompatible
pointer type
socket.c:2543: warning: passing arg 2 of `connect' from incompatible
pointer type
socket.c: In function `printUdpInfo':
socket.c:2574: warning: passing arg 2 of `getsockname' from
incompatible pointer type
socket.c:2581: warning: passing arg 2 of `getpeername' from
incompatible pointer type
socket.c:2652:8: warning: extra tokens at end of #endif directive
In file included from socket.c:2198:
socket.c: In function `sendRPacket':
socket.c:1912: warning: passing arg 2 of `gwrite' from incompatible pointer type
In file included from socket.c:1459:
socket.c: In function `sendServerPacket':
socket.c:1912: warning: passing arg 2 of `gwrite' from incompatible pointer type
gcc -g -O2 -funroll-loops -finline-functions -DATM -DPING
-DHAVE_NINT=0   -c -o assault.o assault.c
In file included from assault.c:7:
defs.h:246:8: warning: extra tokens at end of #endif directive
In file included from assault.c:8:
struct.h:84:8: warning: extra tokens at end of #endif directive
In file included from assault.c:9:
data.h:116:8: warning: extra tokens at end of #endif directive
assault.c:146:8: warning: extra tokens at end of #endif directive
assault.c:166:8: warning: extra tokens at end of #endif directive
gcc -g -O2 -funroll-loops -finline-functions -DATM -DPING
-DHAVE_NINT=0   -c -o util.o util.c
In file included from util.c:11:
defs.h:246:8: warning: extra tokens at end of #endif directive
In file included from util.c:12:
struct.h:84:8: warning: extra tokens at end of #endif directive
In file included from util.c:13:
data.h:116:8: warning: extra tokens at end of #endif directive
util.c:73:8: warning: extra tokens at end of #endif directive
util.c:434: error: conflicting types for 'mprintf'
util.c:434: note: a parameter list with an ellipsis can't match an
empty parameter name list declaration
util.c:83: error: previous implicit declaration of 'mprintf' was here
make[1]: *** [util.o] Error 1
make[1]: Leaving directory `/root/server/Vanilla/robotd'
make: *** [do_robotd] Error 2
------------------------------------------------------------------------------------------------

Any help with this is greatly appreciated!