Jump to content

server source compiling undefined reference in cryptopp


Recommended Posts

Hello,

Firstly I'm a bit new to this stuff and I'm still exploring (while I think I'm actually missing on some basic knowledge to solve this problem) the whole source stuff.

This is the error I'm getting at compiling of the server source

 

linking ../Releases/game_rtestt....
OBJDIR/cipher.o: In function `CryptoPP::AllocatorWithCleanup<unsigned char, true>::deallocate(void*, unsigned int)':
/usr/src/test/src/game/../../Z_Extern/include/cryptopp/secblock.h:112: undefined reference to `CryptoPP::AlignedDeallocate(void*)'
/usr/src/test/src/game/../../Z_Extern/include/cryptopp/secblock.h:112: undefined reference to `CryptoPP::AlignedDeallocate(void*)'
/usr/src/test/src/game/../../Z_Extern/include/cryptopp/secblock.h:112: undefined reference to `CryptoPP::AlignedDeallocate(void*)'
/usr/src/test/src/game/../../Z_Extern/include/cryptopp/secblock.h:112: undefined reference to `CryptoPP::AlignedDeallocate(void*)'
/usr/src/test/src/game/../../Z_Extern/include/cryptopp/secblock.h:112: undefined reference to `CryptoPP::AlignedDeallocate(void*)'
OBJDIR/cipher.o: In function `CryptoPP::AllocatorWithCleanup<unsigned char, true>::allocate(unsigned int, void const*)':
/usr/src/test/src/game/../../Z_Extern/include/cryptopp/secblock.h:100: undefined reference to `CryptoPP::AlignedAllocate(unsigned int)'
/usr/src/test/src/game/../../Z_Extern/include/cryptopp/secblock.h:100: undefined reference to `CryptoPP::AlignedAllocate(unsigned int)'
OBJDIR/cipher.o: In function `CryptoPP::AllocatorWithCleanup<unsigned char, true>::deallocate(void*, unsigned int)':
/usr/src/test/src/game/../../Z_Extern/include/cryptopp/secblock.h:112: undefined reference to `CryptoPP::AlignedDeallocate(void*)'
OBJDIR/cipher.o: In function `CryptoPP::AllocatorWithCleanup<unsigned int, true>::deallocate(void*, unsigned int)':
/usr/src/test/src/game/../../Z_Extern/include/cryptopp/secblock.h:112: undefined reference to `CryptoPP::AlignedDeallocate(void*)'
OBJDIR/cipher.o: In function `CryptoPP::AllocatorWithCleanup<unsigned char, true>::deallocate(void*, unsigned int)':
/usr/src/test/src/game/../../Z_Extern/include/cryptopp/secblock.h:112: undefined reference to `CryptoPP::AlignedDeallocate(void*)'
/usr/src/test/src/game/../../Z_Extern/include/cryptopp/secblock.h:112: undefined reference to `CryptoPP::AlignedDeallocate(void*)'
/usr/src/test/src/game/../../Z_Extern/include/cryptopp/secblock.h:112: undefined reference to `CryptoPP::AlignedDeallocate(void*)'
OBJDIR/cipher.o: In function `CryptoPP::AllocatorWithCleanup<unsigned int, true>::allocate(unsigned int, void const*)':
/usr/src/test/src/game/../../Z_Extern/include/cryptopp/secblock.h:100: undefined reference to `CryptoPP::AlignedAllocate(unsigned int)'
OBJDIR/cipher.o: In function `CryptoPP::AllocatorWithCleanup<unsigned char, true>::deallocate(void*, unsigned int)':
/usr/src/test/src/game/../../Z_Extern/include/cryptopp/secblock.h:112: undefined reference to `CryptoPP::AlignedDeallocate(void*)'
/usr/src/test/src/game/../../Z_Extern/include/cryptopp/secblock.h:112: undefined reference to `CryptoPP::AlignedDeallocate(void*)'
/usr/src/test/src/game/../../Z_Extern/include/cryptopp/secblock.h:112: undefined reference to `CryptoPP::AlignedDeallocate(void*)'
gmake: *** [../Releases/game_rtestt] Error 1

I've been troubleshooting all evening and got a few solutions but still the same result.

Path should be correct, what I might have messed up is compiling cryptopp (since I'm not sure if I know how or if I did it right), since that was a popular solution for this problem

I'd be very glad if somebody could provide some help, I'd also like some help on how to compile libs (specifically cryptopp), since I'm rather unsure if I'm doing it in a correct manner.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.