Ubuntu 12.04 and perl 5.14
So I upgraded my ubuntu server from 10.04 to 12.04.
12.04's standard repositories come with perl 5.14. Has anyone done some looking into getting the server to compile with it? |
Code:
Index: world/EQWParser.cpp |
Yep, that fixed the issue. Got to EQEmuLoginServer and found the ubuntu 9-10-32 versions of libcryptopp.a and libEQEmuAuthCrypto.a are not compatible with the version of glibc or something. I guess I'll have to ask cavedude to compile one for ubuntu 12.04.
|
I am also running into incompatibilities with those two files and ubuntu 12.04
make[1]: Entering directory `/home/eqemu/source/EQEmuLoginServer' gcc -o EQEmuLoginServer Client.o ClientManager.o Config.o DatabaseMySQL.o ErrorLog.o Main.o ServerManager.o WorldServer.o .obj/BasePacket.o .obj/Condition.o .obj/CRC16.o .obj/crc32.o .obj/debug.o .obj/emu_opcodes.o .obj/EmuTCPConnection.o .obj/EmuTCPServer.o .obj/EQPacket.o .obj/EQStream.o .obj/EQStreamFactory.o .obj/logsys.o .obj/logsys_eqemu.o .obj/misc.o .obj/MiscFunctions.o .obj/Mutex.o .obj/opcodemgr.o .obj/packet_dump.o .obj/packet_functions.o .obj/rdtsc.o .obj/TCPConnection.o .obj/TCPServer.o .obj/timeoutmgr.o .obj/timer.o .obj/unix.o -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated -Wcomment -Wcast-align -O3 -g -march=athlon64 -pthread -pipe -DEQLAUNCH -DEQDEBUG=0 -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -g -rdynamic -L. -lstdc++ -ldl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lpthread -lz -lm -lrt -ldl -lEQEmuAuthCrypto -lcryptopp /usr/bin/ld: ./libcryptopp.a(nbtheory.o): undefined reference to symbol 'pow@@GLIBC_2.2.5' /usr/bin/ld: note: 'pow@@GLIBC_2.2.5' is defined in DSO /usr/lib/x86_64-linux-gnu/libm.so so try adding it to the linker command line /usr/lib/x86_64-linux-gnu/libm.so: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[1]: *** [EQEmuLoginServer] Error 1 make[1]: Leaving directory `/home/eqemu/source/EQEmuLoginServer' make: *** [all] Error 2 I am unsure of how to fix this. Are there any additional files I can try or does anyone know what to do in order to fix? Ty ---- update. After alot of google searching I added -lm to the LINKOPTS=$ line in the eqemu/source/EQEmuLoginServer/makefile and now things compile nicely using the same files as above. Feels good as a noob to figure something out on my own. |
Thanks, cmileto, that got it compiling and running for me.
|
Just a clarification. You have to put -lm at the END of the LINKOPTS line.
|
All times are GMT -4. The time now is 02:18 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.