18 Aug, 2009, mayhem666 wrote in the 1st comment:
Votes: 0
I might be wrong here in thinking i am missing a specific package or something but i am trying to figure out why i am getting arrant errors here and there, of coarse i know what the deal is with godwars, we all do it always requires a bit of special touch to be able to function for compilation, but the issue is here:

gcc -c -Wall -g act_comm.c
In file included from act_comm.c:26:
merc.h:81:18: error: zlib.h: No such file or directory
In file included from act_comm.c:26:
merc.h:450: error: expected specifier-qualifier-list before ‘z_stream’
merc.h:2280: error: array type has incomplete element type
merc.h:2281: error: array type has incomplete element type
merc.h:2282: error: array type has incomplete element type
merc.h:2283: error: array type has incomplete element type
merc.h:3090: warning: conflicting types for built-in function ‘logf’
act_comm.c: In function ‘do_say’:
act_comm.c:291: warning: format not a string literal and no format arguments
act_comm.c:293: warning: format not a string literal and no format arguments
act_comm.c:296: warning: format not a string literal and no format arguments
act_comm.c: In function ‘room_text’:
act_comm.c:425: warning: format not a string literal and no format arguments
act_comm.c: In function ‘do_emote’:
act_comm.c:785: warning: format not a string literal and no format arguments
act_comm.c:787: warning: format not a string literal and no format arguments
act_comm.c:789: warning: format not a string literal and no format arguments
act_comm.c: In function ‘do_xemote’:
act_comm.c:943: warning: format not a string literal and no format arguments
act_comm.c:945: warning: format not a string literal and no format arguments
act_comm.c:947: warning: format not a string literal and no format arguments
act_comm.c: In function ‘do_quit’:
act_comm.c:1066: error: ‘DESCRIPTOR_DATA’ has no member named ‘out_compress’
make: *** [act_comm.o] Error 1


anyone got a make on this? i am wracking my brain trying to figure this problem out!

Thanks!
Mayhem
18 Aug, 2009, Chris Bailey wrote in the 2nd comment:
Votes: 0
Looks like you are missing zlib. Give this a try
apt-get install zlib1g-dev
18 Aug, 2009, Kline wrote in the 3rd comment:
Votes: 0
You may also need a -lz in your Makefile linker flags.
0.0/3