Jump to content

error while compiling authsocket.o on debian


Guest hurr1k4ne

Recommended Posts

Hey,

i would like to migrate my mangos server from local windows server to linux root server (debian lenny)

while compiling i stuck on compiling realmd

AuthSocket.o: In function `AuthSocket::_SetVSFields(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/home/netxlancom/tmp/mangos/mangos/build/src/realmd/../../../src/realmd/AuthSocket.cpp:269: undefined reference to `CRYPTO_free'
/home/netxlancom/tmp/mangos/mangos/build/src/realmd/../../../src/realmd/AuthSocket.cpp:270: undefined reference to `CRYPTO_free'
AuthSocket.o: In function `AuthSocket::_HandleLogonProof()':
/home/netxlancom/tmp/mangos/mangos/build/src/realmd/../../../src/realmd/AuthSocket.cpp:669: undefined reference to `CRYPTO_free'
Main.o: In function `main':
/home/netxlancom/tmp/mangos/mangos/build/src/realmd/../../../src/realmd/Main.cpp:174: undefined reference to `SSLeay_version'
/home/netxlancom/tmp/mangos/mangos/build/src/realmd/../../../src/realmd/Main.cpp:175: undefined reference to `SSLeay'
PatchHandler.o: In function `PatchCache::LoadPatchMD5(char const*)':
/home/netxlancom/tmp/mangos/mangos/build/src/realmd/../../../src/realmd/PatchHandler.cpp:163: undefined reference to `MD5_Init'
/home/netxlancom/tmp/mangos/mangos/build/src/realmd/../../../src/realmd/PatchHandler.cpp:172: undefined reference to `MD5_Update'
/home/netxlancom/tmp/mangos/mangos/build/src/realmd/../../../src/realmd/PatchHandler.cpp:179: undefined reference to `MD5_Final'
../shared/Auth/libmangosauth.a(BigNumber.o): In function `BigNumber::GetNumBytes()':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:155: undefined reference to `BN_num_bits'
../shared/Auth/libmangosauth.a(BigNumber.o): In function `BigNumber::AsByteArray(int, bool)':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:183: undefined reference to `BN_bn2bin'
../shared/Auth/libmangosauth.a(BigNumber.o): In function `BigNumber::SetBinary(unsigned char const*, int)':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:65: undefined reference to `BN_bin2bn'
../shared/Auth/libmangosauth.a(BigNumber.o): In function `BigNumber::SetQword(unsigned long)':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:55: undefined reference to `BN_add_word'
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:56: undefined reference to `BN_lshift'
../shared/Auth/libmangosauth.a(BigNumber.o): In function `~BigNumber':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:44: undefined reference to `BN_free'
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:44: undefined reference to `BN_free'
../shared/Auth/libmangosauth.a(BigNumber.o): In function `BigNumber':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:37: undefined reference to `BN_new'
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:38: undefined reference to `BN_set_word'
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:37: undefined reference to `BN_new'
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:38: undefined reference to `BN_set_word'
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:25: undefined reference to `BN_new'
../shared/Auth/libmangosauth.a(BigNumber.o): In function `BigNumber::ModExp(BigNumber const&, BigNumber const&)':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:146: undefined reference to `BN_CTX_new'
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:147: undefined reference to `BN_mod_exp'
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:148: undefined reference to `BN_CTX_free'
../shared/Auth/libmangosauth.a(BigNumber.o): In function `BigNumber::Exp(BigNumber const&)':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:134: undefined reference to `BN_CTX_new'
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:135: undefined reference to `BN_exp'
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:136: undefined reference to `BN_CTX_free'
../shared/Auth/libmangosauth.a(BigNumber.o): In function `BigNumber':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:25: undefined reference to `BN_new'
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:31: undefined reference to `BN_dup'
../shared/Auth/libmangosauth.a(BigNumber.o): In function `BigNumber::operator%=(BigNumber const&)':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:122: undefined reference to `BN_CTX_new'
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:123: undefined reference to `BN_div'
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:124: undefined reference to `BN_CTX_free'
../shared/Auth/libmangosauth.a(BigNumber.o): In function `BigNumber::operator/=(BigNumber const&)':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:111: undefined reference to `BN_CTX_new'
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:112: undefined reference to `BN_div'
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:113: undefined reference to `BN_CTX_free'
../shared/Auth/libmangosauth.a(BigNumber.o): In function `BigNumber::operator*=(BigNumber const&)':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:100: undefined reference to `BN_CTX_new'
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:101: undefined reference to `BN_mul'
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:102: undefined reference to `BN_CTX_free'
../shared/Auth/libmangosauth.a(BigNumber.o): In function `BigNumber::operator-=(BigNumber const&)':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:92: undefined reference to `BN_sub'
../shared/Auth/libmangosauth.a(BigNumber.o): In function `BigNumber::operator+=(BigNumber const&)':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:86: undefined reference to `BN_add'
../shared/Auth/libmangosauth.a(BigNumber.o): In function `BigNumber::operator=(BigNumber const&)':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:80: undefined reference to `BN_copy'
../shared/Auth/libmangosauth.a(BigNumber.o): In function `BigNumber':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:31: undefined reference to `BN_dup'
../shared/Auth/libmangosauth.a(BigNumber.o): In function `BigNumber::AsDecStr()':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:198: undefined reference to `BN_bn2dec'
../shared/Auth/libmangosauth.a(BigNumber.o): In function `BigNumber::AsHexStr()':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:193: undefined reference to `BN_bn2hex'
../shared/Auth/libmangosauth.a(BigNumber.o): In function `BigNumber::AsDword()':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:160: undefined reference to `BN_get_word'
../shared/Auth/libmangosauth.a(BigNumber.o): In function `BigNumber::SetRand(int)':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:75: undefined reference to `BN_rand'
../shared/Auth/libmangosauth.a(BigNumber.o): In function `BigNumber::SetHexStr(char const*)':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:70: undefined reference to `BN_hex2bn'
../shared/Auth/libmangosauth.a(BigNumber.o): In function `BigNumber::SetQword(unsigned long)':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:57: undefined reference to `BN_add_word'
../shared/Auth/libmangosauth.a(BigNumber.o): In function `BigNumber::SetDword(unsigned int)':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/BigNumber.cpp:50: undefined reference to `BN_set_word'
../shared/Auth/libmangosauth.a(Sha1.o): In function `Sha1Hash::UpdateData(unsigned char const*, int)':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/Sha1.cpp:35: undefined reference to `SHA1_Update'
../shared/Auth/libmangosauth.a(Sha1.o): In function `Sha1Hash::Finalize()':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/Sha1.cpp:65: undefined reference to `SHA1_Final'
../shared/Auth/libmangosauth.a(Sha1.o): In function `Sha1Hash::Initialize()':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/Sha1.cpp:60: undefined reference to `SHA1_Init'
../shared/Auth/libmangosauth.a(Sha1.o): In function `~Sha1Hash':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/Sha1.cpp:30: undefined reference to `SHA1_Init'
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/Sha1.cpp:30: undefined reference to `SHA1_Init'
../shared/Auth/libmangosauth.a(Sha1.o): In function `Sha1Hash':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/Sha1.cpp:25: undefined reference to `SHA1_Init'
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/Sha1.cpp:25: undefined reference to `SHA1_Init'
../shared/Auth/libmangosauth.a(Sha1.o): In function `Sha1Hash::UpdateData(unsigned char const*, int)':
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/Sha1.cpp:35: undefined reference to `SHA1_Update'
/home/netxlancom/tmp/mangos/mangos/build/src/shared/Auth/../../../../src/shared/Auth/Sha1.cpp:35: undefined reference to `SHA1_Update'
collect2: ld returned 1 exit status
make[3]: *** [mangos-realmd] Error 1
make[3]: Leaving directory `/home/netxlancom/tmp/mangos/mangos/build/src/realmd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/netxlancom/tmp/mangos/mangos/build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/netxlancom/tmp/mangos/mangos/build'
make: *** [all] Error 2

could anyone provide me some help what's wrong here?

I crawled through tens of howto's and forums but haven't found this error or a clue how to solve mine....

Thanxs in advance (I count on you ;-) )

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use