Hi metin2dev,
I've a problem when i compiling my game source with gcc48 and c++11.
After i installed gcc48 (usr/ports/lang/gcc48 && make install clean), and I compiled the libs needed for the source with gcc48:
libgame/src
libpoly
libserverkey
libsql
libthecore/src
I've got errors regarded to cryptopp at linking.
linking ../game_r40125_32....
OBJDIR/cipher.o: In function `CryptoPP::AllocatorWithCleanup<unsigned int, true>::deallocate(void*, unsigned int)':
/usr/src/mainline/Server/game/src/../../../Extern/include/cryptopp/secblock.h:112: undefined reference to `CryptoPP::AlignedDeallocate(void*)'
/usr/src/mainline/Server/game/src/../../../Extern/include/cryptopp/secblock.h:112: undefined reference to `CryptoPP::AlignedDeallocate(void*)'
OBJDIR/cipher.o: In function `~SecBlock':
/usr/src/mainline/Server/game/src/../../../Extern/include/cryptopp/secblock.h:112: undefined reference to `CryptoPP::AlignedDeallocate(void*)'
/usr/src/mainline/Server/game/src/../../../Extern/include/cryptopp/secblock.h:112: undefined reference to `CryptoPP::AlignedDeallocate(void*)'
/usr/src/mainline/Server/game/src/../../../Extern/include/cryptopp/secblock.h:112: undefined reference to `CryptoPP::AlignedDeallocate(void*)'
OBJDIR/cipher.o:/usr/src/mainline/Server/game/src/../../../Extern/include/cryptopp/secblock.h:112: more undefined references to `CryptoPP::AlignedDeallocate(void*)' follow
OBJDIR/cipher.o: In function `CryptoPP::AllocatorWithCleanup<unsigned char, true>::allocate(unsigned int, void const*)':
/usr/src/mainline/Server/game/src/../../../Extern/include/cryptopp/secblock.h:100: undefined reference to `CryptoPP::AlignedAllocate(unsigned int)'
OBJDIR/cipher.o: In function `CryptoPP::AllocatorWithCleanup<unsigned int, true>::allocate(unsigned int, void const*)':
/usr/src/mainline/Server/game/src/../../../Extern/include/cryptopp/secblock.h:100: undefined reference to `CryptoPP::AlignedAllocate(unsigned int)'
collect2: error: ld returned 1 exit status
gmake: *** [../game_r40125_32] Error 1
So, how can i fix this problem?
Thanks.