Server Help

ASSS Questions - Compiling in Cygwin

Anonymous - Thu Jan 20, 2005 12:31 pm
Post subject: Compiling in Cygwin
I am trying to compile ASSS in cygwin. All the source seems to build but in the end I get the following problem. Any thoughts on what is going on?

gcc -pipe -o asss.exe main.o module.o cmod.o util.o pathutil.o protutil.o region.o rwlock.o app.o md5.o config.o prng.o player.o core.o logman.o mainloop.o net.o enc_null.o enc_vie.o arenaman.o mapdata.o mapnewsdl.o clientset.o capman.o lagdata.o lagaction.o unixsignal.o deadlock.o log_file.o log_console.o log_sysop.o game.o game_timer.o chat.o flags.o balls.o fm_normal.o banners.o bricks.o objects.o messages.o koth.o fm_lockspec.o cmdman.o playercmd.o admincmd.o watchdamage.o buy.o help.o cfghelp.o directory.o billing.o billing_ssc.o filetrans.o quickfix.o freqowners.o arenaperm.o auth_prefix.o fake.o chatnet.o auth_file.o ap_multipub.o sendfile.o auth_ban.o -lpthread -lm
core.o(.text+0x25): In function `get_checksum':
/home/arand/asss/asss-1.2.0/src/core.c:94: undefined reference to `_crc32'
core.o(.text+0xb1):/home/arand/asss/asss-1.2.0/src/core.c:100: undefined reference to `_crc32'
mapnewsdl.o(.text+0xb9): In function `RefreshNewsTxt':
/home/arand/asss/asss-1.2.0/src/mapnewsdl.c:75: undefined reference to `_crc32'
mapnewsdl.o(.text+0xd6):/home/arand/asss/asss-1.2.0/src/mapnewsdl.c:75: undefined reference to `_crc32'
mapnewsdl.o(.text+0x117):/home/arand/asss/asss-1.2.0/src/mapnewsdl.c:85: undefined reference to `_compress'
mapnewsdl.o(.text+0x45f): In function `compress_map':
/home/arand/asss/asss-1.2.0/src/mapnewsdl.c:197: undefined reference to `_crc32'
mapnewsdl.o(.text+0x47c):/home/arand/asss/asss-1.2.0/src/mapnewsdl.c:197: undefined reference to `_crc32'
mapnewsdl.o(.text+0x55d):/home/arand/asss/asss-1.2.0/src/mapnewsdl.c:220: undefined reference to `_compress'
objects.o(.text+0x1dad): In function `ReadLVZFile':
/home/arand/asss/asss-1.2.0/src/objects.c:765: undefined reference to `_uncompress'
playercmd.o(.text+0xbfa): In function `Cfind':
/home/arand/asss/asss-1.2.0/src/playercmd.c:440: undefined reference to `_strcasestr'
quickfix.o(.text+0x21): In function `try_section':
/home/arand/asss/asss-1.2.0/src/quickfix.c:33: undefined reference to `_strcasestr'
quickfix.o(.text+0x82):/home/arand/asss/asss-1.2.0/src/quickfix.c:37: undefined reference to `_strcasestr'
collect2: ld returned 1 exit status
make: *** [asss.exe] Error 1
Bak - Thu Jan 20, 2005 12:50 pm
Post subject:
the compress and uncompress errors look like you're not linking with zlib.dll correctly. Someone else can elaborate, as I use GUI to do this sort of thing.
Dr Brain - Thu Jan 20, 2005 1:58 pm
Post subject:
Do you have the zlib includes installed in your cygwin enviorment?
Anonymous - Thu Jan 20, 2005 2:59 pm
Post subject: Thanks.
I'll try to get zlib working with it correctly. That is what I need to look for. Thanks.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group