Linux EQEMu 4.4
Errors:
cd world
make
[tyrbo@elite world]$ make
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wcast-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=1 -DSHAREMEM -DCATCH_CRASH -I/usr/include/mysql -I/usr/mysql/include ../common/packet_functions.cpp -o ../common/packet_functions.o
cc1plus: warning: "-Wbad-function-cast" is valid for C/ObjC but not for C++
cc1plus: warning: "-Wnested-externs" is valid for C/ObjC but not for C++
../common/packet_functions.cpp:22:18: zlib.h: No such file or directory
../common/packet_functions.cpp: In function `int DeflatePacket(unsigned char*,
int, unsigned char*, int)':
../common/packet_functions.cpp:119: error: `z_stream' undeclared (first use
this function)
../common/packet_functions.cpp:119: error: (Each undeclared identifier is
reported only once for each function it appears in.)
../common/packet_functions.cpp:119: error: parse error before `;' token
../common/packet_functions.cpp:122: error: `zstream' undeclared (first use this
function)
../common/packet_functions.cpp:124: error: `Z_NULL' undeclared (first use this
function)
../common/packet_functions.cpp:127: error: `Z_FINISH' undeclared (first use
this function)
../common/packet_functions.cpp:127: error: `deflateInit' undeclared (first use
this function)
../common/packet_functions.cpp:130: error: `deflate' undeclared (first use this
function)
../common/packet_functions.cpp:132: error: `Z_STREAM_END' undeclared (first use
this function)
../common/packet_functions.cpp:134: error: `deflateEnd' undeclared (first use
this function)
../common/packet_functions.cpp: In function `uint32 InflatePacket(uchar*,
unsigned int, uchar*, unsigned int, bool)':
../common/packet_functions.cpp:147: error: parse error before `;' token
../common/packet_functions.cpp:159: error: `inflateInit2' undeclared (first use
this function)
../common/packet_functions.cpp:160: error: `Z_OK' undeclared (first use this
function)
../common/packet_functions.cpp:164: error: `inflate' undeclared (first use this
function)
../common/packet_functions.cpp:167: error: `inflateEnd' undeclared (first use
this function)
make: *** [../common/packet_functions.o] Error 1
Any ideas?
|