darking123 Posted May 9, 2012 Share Posted May 9, 2012 /usr/lib -I../common -I/usr/include -c -o obj_all/socket.o socket.c gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -L/usr/lib -I../common -I/usr/include -c -o obj_all/timer.o timer.c gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -L/usr/lib -I../common -I/usr/include -c -o obj_all/db.o db.c gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -L/usr/lib -I../common -I/usr/include -c -o obj_all/plugins.o plugins.c gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -L/usr/lib -I../common -I/usr/include -c -o obj_all/lock.o lock.c gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -L/usr/lib -I../common -I/usr/include -c -o obj_all/nullpo.o nullpo.c gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -L/usr/lib -I../common -I/usr/include -c -o obj_all/malloc.o malloc.c gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -L/usr/lib -I../common -I/usr/include -c -o obj_all/showmsg.o showmsg.c gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -L/usr/lib -I../common -I/usr/include -c -o obj_all/strlib.o strlib.c gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -L/usr/lib -I../common -I/usr/include -c -o obj_all/utils.o utils.c gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -L/usr/lib -I../common -I/usr/include -c -o obj_all/grfio.o grfio.c grfio.c:16:18: error: zlib.h: No such file or directory grfio.c: In function 'grfio_crc32': grfio.c:242: warning: implicit declaration of function 'crc32' grfio.c:242: error: 'Z_NULL' undeclared (first use in this function) grfio.c:242: error: (Each undeclared identifier is reported only once grfio.c:242: error: for each function it appears in.) grfio.c: In function 'decode_zip': grfio.c:249: warning: implicit declaration of function 'uncompress' grfio.c:249: error: 'Bytef' undeclared (first use in this function) grfio.c:249: error: expected expression before ')' token grfio.c: In function 'encode_zip': grfio.c:256: warning: implicit declaration of function 'compress' grfio.c:256: error: 'Bytef' undeclared (first use in this function) grfio.c:256: error: expected expression before ')' token grfio.c: In function 'grfio_reads': grfio.c:441: error: 'uLongf' undeclared (first use in this function) grfio.c:441: error: expected ';' before 'len' grfio.c:443: error: 'len' undeclared (first use in this function) grfio.c:445: error: 'uLong' undeclared (first use in this function) grfio.c:445: error: expected ')' before 'entry' grfio.c: In function 'grfio_entryread': grfio.c:590: error: 'uLongf' undeclared (first use in this function) grfio.c:590: error: expected ';' before 'rSize' grfio.c:593: error: 'rSize' undeclared (first use in this function) grfio.c:594: error: 'eSize' undeclared (first use in this function) make[1]: *** [obj_all/grfio.o] Error 1 make[1]: Leaving directory `/home/gyrostpaul/src/common' make: *** [common] Error 2 [[email protected] gyrostpaul]# [[email protected] gyrostpaul]#./configure --enable-64bit checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking whether byte ordering is bigendian... no checking whether gcc supports -Wno-unused-parameter... yes checking whether gcc supports -Wno-pointer-sign... yes checking whether gcc can actually use -Wno-pointer-sign... yes checking whether gcc supports -Wno-switch... yes checking whether gcc supports -fPIC... yes checking whether gcc needs -fPIC for shared objects... no checking whether gcc supports -fno-strict-aliasing... yes checking for setrlimit... yes checking for strnlen... yes checking for inflateEnd in -lz... no configure: error: zlib library not found or incompatible, please specify the correct path with --with-zlib=DIR... stopping [[email protected] gyrostpaul]#make clean which: no svnversion in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin) make[1]: Entering directory `/home/gyrostpaul/src/common' rm -rf *.o obj_all obj_sql svnversion.h make[1]: Leaving directory `/home/gyrostpaul/src/common' make[1]: Entering directory `/home/gyrostpaul/3rdparty/mt19937ar' rm -rf *.o make[1]: Leaving directory `/home/gyrostpaul/3rdparty/mt19937ar' make[1]: Entering directory `/home/gyrostpaul/src/login' rm -rf *.o obj_txt obj_sql ../../login-server ../../login-server_sql make[1]: Leaving directory `/home/gyrostpaul/src/login' make[1]: Entering directory `/home/gyrostpaul/src/char' rm -rf *.o obj_txt ../../char-server make[1]: Leaving directory `/home/gyrostpaul/src/char' make[1]: Entering directory `/home/gyrostpaul/src/char_sql' rm -rf *.o obj_sql ../../char-server_sql make[1]: Leaving directory `/home/gyrostpaul/src/char_sql' make[1]: Entering directory `/home/gyrostpaul/src/map' rm -rf *.o obj_txt obj_sql ../../map-server ../../map-server_sql make[1]: Leaving directory `/home/gyrostpaul/src/map' make[1]: Entering directory `/home/gyrostpaul/src/plugins' rm -rf *.o make[1]: Leaving directory `/home/gyrostpaul/src/plugins' make[1]: Entering directory `/home/gyrostpaul/src/tool' rm -rf obj_all/*.o ../../mapcache make[1]: Leaving directory `/home/gyrostpaul/src/tool' make[1]: Entering directory `/home/gyrostpaul/src/txt-converter' rm -rf *.o obj_login obj_char ../../tools/login-converter ../../tools/char-converter make[1]: Leaving directory `/home/gyrostpaul/src/txt-converter' [[email protected] gyrostpaul]#male sql -bash: male: command not found [[email protected] gyrostpaul]#make sql make[1]: Entering directory `/home/gyrostpaul/3rdparty/mt19937ar' gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -L/usr/lib -I../common -I/usr/include -c -o mt19937ar.o mt19937ar.c make[1]: Leaving directory `/home/gyrostpaul/3rdparty/mt19937ar' which: no svnversion in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin) make[1]: Entering directory `/home/gyrostpaul/src/common' mkdir obj_all gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -L/usr/lib -I../common -I/usr/include -c -o obj_all/core.o core.c gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -L/usr/lib -I../common -I/usr/include -c -o obj_all/socket.o socket.c gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -L/usr/lib -I../common -I/usr/include -c -o obj_all/timer.o timer.c gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -L/usr/lib -I../common -I/usr/include -c -o obj_all/db.o db.c gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -L/usr/lib -I../common -I/usr/include -c -o obj_all/plugins.o plugins.c gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -L/usr/lib -I../common -I/usr/include -c -o obj_all/lock.o lock.c gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -L/usr/lib -I../common -I/usr/include -c -o obj_all/nullpo.o nullpo.c gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -L/usr/lib -I../common -I/usr/include -c -o obj_all/malloc.o malloc.c gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -L/usr/lib -I../common -I/usr/include -c -o obj_all/showmsg.o showmsg.c gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -L/usr/lib -I../common -I/usr/include -c -o obj_all/strlib.o strlib.c gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -L/usr/lib -I../common -I/usr/include -c -o obj_all/utils.o utils.c gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -L/usr/lib -I../common -I/usr/include -c -o obj_all/grfio.o grfio.c grfio.c:16:18: error: zlib.h: No such file or directory grfio.c: In function 'grfio_crc32': grfio.c:242: warning: implicit declaration of function 'crc32' grfio.c:242: error: 'Z_NULL' undeclared (first use in this function) grfio.c:242: error: (Each undeclared identifier is reported only once grfio.c:242: error: for each function it appears in.) grfio.c: In function 'decode_zip': grfio.c:249: warning: implicit declaration of function 'uncompress' grfio.c:249: error: 'Bytef' undeclared (first use in this function) grfio.c:249: error: expected expression before ')' token grfio.c: In function 'encode_zip': grfio.c:256: warning: implicit declaration of function 'compress' grfio.c:256: error: 'Bytef' undeclared (first use in this function) grfio.c:256: error: expected expression before ')' token grfio.c: In function 'grfio_reads': grfio.c:441: error: 'uLongf' undeclared (first use in this function) grfio.c:441: error: expected ';' before 'len' grfio.c:443: error: 'len' undeclared (first use in this function) grfio.c:445: error: 'uLong' undeclared (first use in this function) grfio.c:445: error: expected ')' before 'entry' grfio.c: In function 'grfio_entryread': grfio.c:590: error: 'uLongf' undeclared (first use in this function) grfio.c:590: error: expected ';' before 'rSize' grfio.c:593: error: 'rSize' undeclared (first use in this function) grfio.c:594: error: 'eSize' undeclared (first use in this function) make[1]: *** [obj_all/grfio.o] Error 1 make[1]: Leaving directory `/home/gyrostpaul/src/common' make: *** [common_sql] Error 2 this error is the first time i encoutered Quote Link to comment Share on other sites More sharing options...
Asura Posted May 9, 2012 Share Posted May 9, 2012 Hi glemor123, You do not have the zlib library installed. I would recommend that you check out the installation guides on rA's wiki; select the correct OS and then look for the part of where they tell you how to install zlib. http://rathena.org/wiki/Category:Installation_Guides Quote Link to comment Share on other sites More sharing options...
this error is the first time i encoutered
Link to comment
Share on other sites