i looked through the forum already and havent found anyone else with this problem unless i accidently missed it.
Im running Ubuntu (breezy badger)
josh@X-102:~/smaugfuss/src$ make
make -s smaug
Compiling o/imc.o....
Compiling o/act_comm.o....
Compiling o/act_info.o....
Compiling o/act_move.o....
Compiling o/act_obj.o....
Compiling o/act_wiz.o....
Compiling o/ban.o....
Compiling o/boards.o....
Compiling o/build.o....
Compiling o/clans.o....
Compiling o/color.o....
Compiling o/comm.o....
In file included from comm.c:29:
mccp.h:18:18: error: zlib.h: No such file or directory
In file included from comm.c:29:
mccp.h:33: error: syntax error before ‘z_stream’
cc1: warnings being treated as errors
mccp.h:33: warning: no semicolon at end of struct or union
mccp.h:35: error: syntax error before ‘}’ token
comm.c: In function ‘new_descriptor’:
comm.c:1035: error: invalid application of ‘sizeof’ to incomplete type ‘MCCP’
comm.c: In function ‘write_to_descriptor’:
comm.c:1624: error: dereferencing pointer to incomplete type
comm.c:1626: error: dereferencing pointer to incomplete type
comm.c:1627: error: dereferencing pointer to incomplete type
comm.c:1629: error: dereferencing pointer to incomplete type
comm.c:1631: error: dereferencing pointer to incomplete type
comm.c:1632: error: dereferencing pointer to incomplete type
comm.c:1632: error: dereferencing pointer to incomplete type
comm.c:1634: error: dereferencing pointer to incomplete type
comm.c:1636: warning: implicit declaration of function ‘deflate’
comm.c:1636: error: dereferencing pointer to incomplete type
comm.c:1636: error: ‘Z_SYNC_FLUSH’ undeclared (first use in this function)
comm.c:1636: error: (Each undeclared identifier is reported only once
comm.c:1636: error: for each function it appears in.)
comm.c:1638: error: ‘Z_OK’ undeclared (first use in this function)
comm.c:1642: error: dereferencing pointer to incomplete type
comm.c:1642: error: dereferencing pointer to incomplete type
comm.c:1648: error: dereferencing pointer to incomplete type
comm.c:1678: error: dereferencing pointer to incomplete type
comm.c:1678: error: dereferencing pointer to incomplete type
comm.c:1680: error: dereferencing pointer to incomplete type
comm.c:1680: error: dereferencing pointer to incomplete type
make[1]: *** [o/comm.o] Error 1
make: *** [all] Error 2
any help would be awesome thanks
Im running Ubuntu (breezy badger)
josh@X-102:~/smaugfuss/src$ make
make -s smaug
Compiling o/imc.o....
Compiling o/act_comm.o....
Compiling o/act_info.o....
Compiling o/act_move.o....
Compiling o/act_obj.o....
Compiling o/act_wiz.o....
Compiling o/ban.o....
Compiling o/boards.o....
Compiling o/build.o....
Compiling o/clans.o....
Compiling o/color.o....
Compiling o/comm.o....
In file included from comm.c:29:
mccp.h:18:18: error: zlib.h: No such file or directory
In file included from comm.c:29:
mccp.h:33: error: syntax error before ‘z_stream’
cc1: warnings being treated as errors
mccp.h:33: warning: no semicolon at end of struct or union
mccp.h:35: error: syntax error before ‘}’ token
comm.c: In function ‘new_descriptor’:
comm.c:1035: error: invalid application of ‘sizeof’ to incomplete type ‘MCCP’
comm.c: In function ‘write_to_descriptor’:
comm.c:1624: error: dereferencing pointer to incomplete type
comm.c:1626: error: dereferencing pointer to incomplete type
comm.c:1627: error: dereferencing pointer to incomplete type
comm.c:1629: error: dereferencing pointer to incomplete type
comm.c:1631: error: dereferencing pointer to incomplete type
comm.c:1632: error: dereferencing pointer to incomplete type
comm.c:1632: error: dereferencing pointer to incomplete type
comm.c:1634: error: dereferencing pointer to incomplete type
comm.c:1636: warning: implicit declaration of function ‘deflate’
comm.c:1636: error: dereferencing pointer to incomplete type
comm.c:1636: error: ‘Z_SYNC_FLUSH’ undeclared (first use in this function)
comm.c:1636: error: (Each undeclared identifier is reported only once
comm.c:1636: error: for each function it appears in.)
comm.c:1638: error: ‘Z_OK’ undeclared (first use in this function)
comm.c:1642: error: dereferencing pointer to incomplete type
comm.c:1642: error: dereferencing pointer to incomplete type
comm.c:1648: error: dereferencing pointer to incomplete type
comm.c:1678: error: dereferencing pointer to incomplete type
comm.c:1678: error: dereferencing pointer to incomplete type
comm.c:1680: error: dereferencing pointer to incomplete type
comm.c:1680: error: dereferencing pointer to incomplete type
make[1]: *** [o/comm.o] Error 1
make: *** [all] Error 2
any help would be awesome thanks