Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 00:07

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Undefined reference to CryptoPP

Discussion on Undefined reference to CryptoPP within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
[SA]Drilius's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 13
Received Thanks: 25
Undefined reference to CryptoPP

Hello ! Can anyone please help me, crypptopp errors won't let me compile the source successfully. I use Freebsd 9.2 32 bit (Vps server) and i just keep getting this error whenever I'm compiling, I made sure that the -lcryptopp flag is defined in makefile and all.. I saw in a thread where MartPwns told Vanilla who kinda had the same problem as me, to change the compiler version for cryptopp and try to recompile.. I did that but it did not solve my problem please help me!!

PHP Code:
game_runknown_32.dir/src/cipher.cpp.oIn function `CryptoPP::AllocatorWithCleanup<unsigned int, true>::deallocate(void*, unsigned int) [clone .isra.53]':
cipher.cpp:(.text+0x42): undefined reference to 
`CryptoPP::AlignedDeallocate(void*)'
game_runknown_32.dir/src/cipher.cpp.o: In function `DH2KeyAgreement::DH2KeyAgreement()'
:
cipher.cpp:(.text+0x11c1): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
game_runknown_32.dir/src/cipher.cpp.o: In function 
`CryptoPP::CipherModeBase::ResizeBuffers()':
cipher.cpp:(.text._ZN8CryptoPP14CipherModeBase13ResizeBuffersEv[_ZN8CryptoPP14CipherModeBase13ResizeBuffersEv]+0x75): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
cipher.cpp:(.text._ZN8CryptoPP14CipherModeBase13ResizeBuffersEv[_ZN8CryptoPP14CipherModeBase13ResizeBuffersEv]+0x81): undefined reference to `CryptoPP::AlignedAllocate(unsigned int)'
game_runknown_32.dir/src/cipher.cpp.o: In function 
`CryptoPP::ModePolicyCommonTemplate<CryptoPP::AdditiveCipherAbstractPolicy>::CipherSetKey(CryptoPP::NameValuePairs const&, unsigned char const*, unsigned int)':
cipher.cpp:(.text._ZN8CryptoPP24ModePolicyCommonTemplateINS_28AdditiveCipherAbstractPolicyEE12CipherSetKeyERKNS_14NameValuePairsEPKhj[_ZN8CryptoPP24ModePolicyCommonTemplateINS_28AdditiveCipherAbstractPolicyEE12CipherSetKeyERKNS_14NameValuePairsEPKhj]+0xf1): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
cipher.cpp:(.text._ZN8CryptoPP24ModePolicyCommonTemplateINS_28AdditiveCipherAbstractPolicyEE12CipherSetKeyERKNS_14NameValuePairsEPKhj[_ZN8CryptoPP24ModePolicyCommonTemplateINS_28AdditiveCipherAbstractPolicyEE12CipherSetKeyERKNS_14NameValuePairsEPKhj]+0x101): undefined reference to `CryptoPP::AlignedAllocate(unsigned int)'
game_runknown_32.dir/src/cipher.cpp.o: In function 
`CryptoPP::MontgomeryRepresentation::MontgomeryRepresentation(CryptoPP::MontgomeryRepresentation const&)':
cipher.cpp:(.text._ZN8CryptoPP24MontgomeryRepresentationC2ERKS0_[_ZN8CryptoPP24MontgomeryRepresentationC5ERKS0_]+0xd3): undefined reference to `CryptoPP::AlignedAllocate(unsigned int)'
cipher.cpp:(.text._ZN8CryptoPP24MontgomeryRepresentationC2ERKS0_[_ZN8CryptoPP24MontgomeryRepresentationC5ERKS0_]+0x1b6): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
cipher.cpp:(.text._ZN8CryptoPP24MontgomeryRepresentationC2ERKS0_[_ZN8CryptoPP24MontgomeryRepresentationC5ERKS0_]+0x1c3): undefined reference to 
`CryptoPP::AlignedDeallocate(void*)'
cipher.cpp:(.text._ZN8CryptoPP24MontgomeryRepresentationC2ERKS0_[_ZN8CryptoPP24MontgomeryRepresentationC5ERKS0_]+0x1d1): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
game_runknown_32.dir/src/cipher.cpp.oIn function `CryptoPP::CipherModeBase::~CipherModeBase()':
cipher.cpp:(.text._ZN8CryptoPP14CipherModeBaseD2Ev[_ZN8CryptoPP14CipherModeBaseD5Ev]+0x4c): undefined reference to 
`CryptoPP::AlignedDeallocate(void*)'
game_runknown_32.dir/src/cipher.cpp.o: In function `CryptoPP::CipherModeBase::~CipherModeBase()'
:
cipher.cpp:(.text._ZN8CryptoPP14CipherModeBaseD0Ev[_ZN8CryptoPP14CipherModeBaseD5Ev]+0x54): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
game_runknown_32.dir/src/cipher.cpp.o:cipher.cpp:(.text._ZN8CryptoPP14CTR_ModePolicyD2Ev[_ZN8CryptoPP14CTR_ModePolicyD5Ev]+0x81): more undefined references to 
`CryptoPP::AlignedDeallocate(void*)' follow
collect2: error: ld returned 1 exit status
gmake[2]: *** [Bin/release/game_runknown_32] Error 1
gmake[1]: *** [game/game_runknown_32.dir/all] Error 2
gmake: *** [all] Error 2 
#UPP please help..

#UPP

HELP PLEASE
[SA]Drilius is offline  
Old 02/17/2015, 13:12   #2
 
Dyshaxo's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 665
Received Thanks: 444
Simple =) Use the Path to the cryptopp-Library in Extern-Folder, not to a pre-installed one
Dyshaxo is offline  
Old 02/18/2015, 10:21   #3
 
[SA]Drilius's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 13
Received Thanks: 25
that's what I'm already doing, using the path of Cryptopp of Extern folder. I think that might be a compiler issue? I saw on m2dev a thread where Vanilla was having the same problem as me and someone told her to recompile the cryptopplib with gcc, and the problem was solved for her. I tried to do that as well but no luck. Btw I recompiled it with CC = gcc49 and tried other different options like CXX = g++49, but still... I would appreciate any help!
[SA]Drilius is offline  
Reply

Tags
c++ cryptopp


Similar Threads Similar Threads
C++ und CryptoPP
02/11/2015 - C/C++ - 1 Replies
Hallo Leute :D Ich hab ein problem mit CryptoPP ERROR MAKE FILE - Pastebin.com Könnt ihr mir vielleicht helfen ?
[HOT] Reference Sites
11/14/2011 - Facebook - 0 Replies
For FB Cheats: For-The-Cheater-And-Hacker PWNTHIS I will not include secret forums BTW... KIXEYE has SPY.
Looking for a reference
11/08/2011 - Dekaron Private Server - 8 Replies
We are sorry but we just got this letter and we comply with the msg " To Elitepvpers The account Cataracts - Daemon Strother has been reported for multiple crimes by the US state department of illegal Child sexual abuse! law § 2243 - Sexual abuse of a minor or ward: (a) Of a Minor.— Whoever, in the special maritime and territorial jurisdiction of the United States or in a Federal prison, or in any prison, institution, or facility in which persons are held in custody by direction of or...
just a reference
11/26/2008 - Dekaron Exploits, Hacks, Bots, Tools & Macros - 0 Replies
havnt been on for some time i dont know if its any help at all this is an old sheet i used to use to find things quicker with winhex though id post it :) If someone else has posted it im sorry in advance :handsdown: the way i use it is simple just say i wanted to find a Great mana potion all i would do is click the search tab in winhex then find text then enter 3806 then it should be the first item that pops up with a line that looks like 3806,Great Mana...



All times are GMT +2. The time now is 00:07.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.