OS: Ubuntu-14.04-x86_64
CoD 1.0
i compile last version libcod from github Mitch, if i run server got error:
Code:./server_start: symbol lookup error: /games/cod/2_1.0/libcod.so: undefined symbol: gsc_mysql_init
OS: Ubuntu-14.04-x86_64
CoD 1.0
i compile last version libcod from github Mitch, if i run server got error:
Code:./server_start: symbol lookup error: /games/cod/2_1.0/libcod.so: undefined symbol: gsc_mysql_init
did you compile it for 1.0?
"Does not work" is an error report for a bug between keyboard and chair.
All hail Artie Effem
Maybe needs "./doit.sh base" again (guessing that MySQL was enabled in config.h when the base was compiled, but then disabled or so)
Also try ./doit.sh clean
timescale 0.01
i corrected, new error:
Code:host-id132@unknown-domen:~/games/cod/2/libcod# ./doit.sh cod2_1_0 ##### COMPILE cod2_1_0 LIBCOD.CPP ##### ##### COMPILE cod2_1_0 GSC.CPP ##### gsc.cpp: In function ‘int cdecl_injected_closer()’: gsc.cpp:1819:3: warning: typedef ‘aSearchPath’ locally defined but not used [-Wunused-local-typedefs] } aSearchPath; ^ ##### COMPILE cod2_1_0 GSC_PLAYER.CPP ##### ##### COMPILE cod2_1_0 GSC_UTILS.CPP ##### ##### LINK libcod2_1_0.so ##### /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libdl.a when searching for -ldl /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libmysqlclient.so when searching for -lmysqlclient /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libmysqlclient.a when searching for -lmysqlclient /usr/bin/ld: cannot find -lmysqlclient /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libpthread.so when searching for -lpthread /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libpthread.a when searching for -lpthread collect2: error: ld returned 1 exit status
Last edited by maxdamage99; 1st January 2016 at 19:47.
Which would be installed if you followed the github's instructions:
Code:apt-get install libmysqlclient-dev:i386
"Does not work" is an error report for a bug between keyboard and chair.
All hail Artie Effem
maxdamage99 (2nd January 2016)