Failed to compile server
Posted: 11 Oct 2009, 15:02
Good day,
I am interested in this project so i tried to setup my own server in a Debian linux 86_64x enviroment (64bit).
Following this guide however, I am not able to get my server to compile properly.
The error I get is as followed:
It would appear that the reference to "zlib" is an incorrect one.
I have the feeling that this might have to do with my 64bit enviroment and the lack of support for this in the makefile.
Also there appears to be no ./configure command which could resolve such issues.
for the record, I DO have "zlib1g-dev" installed
anyone have some ideas?
I am interested in this project so i tried to setup my own server in a Debian linux 86_64x enviroment (64bit).
Following this guide however, I am not able to get my server to compile properly.
The error I get is as followed:
Code: Select all
gcc -m32 -pipe -o ../../map-server obj/tmw.o obj/magic-interpreter-lexer.o obj/magic-interpreter-parser.o obj/magic-interpreter-base.o obj/magic-expr.o obj/magic-stmt.o obj/magic.o obj/map.o obj/chrif.o obj/clif.o obj/pc.o obj/npc.o obj/chat.o obj/path.o obj/itemdb.o obj/mob.o obj/script.o obj/storage.o obj/skill.o obj/skill-pools.o obj/atcommand.o obj/battle.o obj/intif.o obj/trade.o obj/party.o obj/guild.o ../common/core.o ../common/socket.o ../common/timer.o ../common/grfio.o ../common/db.o ../common/lock.o ../common/nullpo.o ../common/malloc.o ../common/mt_rand.o -lz -lm
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib32/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/../lib32/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib32/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[1]: *** [map-server] Error 1
make[1]: Leaving directory `/home/tmw/eathena/src/map'
I have the feeling that this might have to do with my 64bit enviroment and the lack of support for this in the makefile.
Also there appears to be no ./configure command which could resolve such issues.
for the record, I DO have "zlib1g-dev" installed
anyone have some ideas?