Jump to content
×
×
  • Create New...
  • 0

server source compiling undefined reference in cryptopp


rikidere

Question

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

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


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.