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.
Last edited by cmileto; 07-10-2012 at 03:19 AM..
Reason: Updated
|