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

Source compilation error strange !


danutzu

Question

I have this error when i compile the source vanilla : 

linking ../game_r54250_32 with g++49 -Wall -ffat-lto-objects -flto -fuse-linker-plugin -O2 -finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-partial-pre -fipa-cp-clone -m32 -pipe -fexceptions -D_THREAD_SAFE -DNDEBUG -Wl,-rpath,/usr/local/lib32/metin2 -std=c++11 -mtune=i686 -mssse3....
/tmp//ccvLWVvh.ltrans11.ltrans.o: In function `quest::CQuestManager::InitializeLua()':
<artificial>:(.text+0x639a): undefined reference to `quest::RegisterUniqueFunctionTable()'
<artificial>:(.text+0x63cc): undefined reference to `quest::RegistermysqlFunctionTable()'
/tmp//ccvLWVvh.ltrans21.ltrans.o: In function `CryptoPP::ConcretePolicyHolder<CryptoPP::Empty, CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::AdditiveCipherAbstractPolicy, CryptoPP::CTR_ModePolicy> >, CryptoPP::AdditiveCipherAbstractPolicy>::~ConcretePolicyHolder()':
<artificial>:(.text+0x961): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
<artificial>:(.text+0x971): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
/tmp//ccvLWVvh.ltrans21.ltrans.o: In function `CryptoPP::AlgorithmImpl<CryptoPP::ConcretePolicyHolder<CryptoPP::Empty, CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::AdditiveCipherAbstractPolicy, CryptoPP::CTR_ModePolicy> >, CryptoPP::AdditiveCipherAbstractPolicy>, CryptoPP::CipherModeFinalTemplate_CipherHolder<CryptoPP::BlockCipherFinal<(CryptoPP::CipherDir)0, CryptoPP::SHACAL2::Enc>, CryptoPP::ConcretePolicyHolder<CryptoPP::Empty, CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::AdditiveCipherAbstractPolicy, CryptoPP::CTR_ModePolicy> >, CryptoPP::AdditiveCipherAbstractPolicy> > >::~AlgorithmImpl() [clone .lto_priv.1464]':
<artificial>:(.text+0xa71): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
<artificial>:(.text+0xa81): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
/tmp//ccvLWVvh.ltrans21.ltrans.o: In function `CryptoPP::AlgorithmImpl<CryptoPP::ConcretePolicyHolder<CryptoPP::Empty, CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::AdditiveCipherAbstractPolicy, CryptoPP::CTR_ModePolicy> >, CryptoPP::AdditiveCipherAbstractPolicy>, CryptoPP::CipherModeFinalTemplate_CipherHolder<CryptoPP::BlockCipherFinal<(CryptoPP::CipherDir)0, CryptoPP::TEA::Enc>, CryptoPP::ConcretePolicyHolder<CryptoPP::Empty, CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::AdditiveCipherAbstractPolicy, CryptoPP::CTR_ModePolicy> >, CryptoPP::AdditiveCipherAbstractPolicy> > >::~AlgorithmImpl() [clone .lto_priv.1471]':
<artificial>:(.text+0xb81): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
/tmp//ccvLWVvh.ltrans21.ltrans.o:<artificial>:(.text+0xb91): more undefined references to `CryptoPP::AlignedDeallocate(void*)' follow
/tmp//ccvLWVvh.ltrans26.ltrans.o: In function `CryptoPP::MontgomeryRepresentation::MontgomeryRepresentation(CryptoPP::MontgomeryRepresentation const&)':
<artificial>:(.text+0x20c5): undefined reference to `CryptoPP::AlignedAllocate(unsigned int)'
/tmp//ccvLWVvh.ltrans26.ltrans.o: In function `DH2KeyAgreement::Prepare(void*, unsigned int*)':
<artificial>:(.text+0x44b1): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
<artificial>:(.text+0x44c1): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
<artificial>:(.text+0x44d1): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
<artificial>:(.text+0x4521): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
/tmp//ccvLWVvh.ltrans26.ltrans.o: In function `CryptoPP::DH_Domain<CryptoPP::DL_GroupParameters_GFP_DefaultSafePrime, CryptoPP::EnumToType<CryptoPP::CofactorMultiplicationOption, 0> >::~DH_Domain()':
<artificial>:(.text+0x777): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
/tmp//ccvLWVvh.ltrans26.ltrans.o:<artificial>:(.text+0x1807): more undefined references to `CryptoPP::AlignedDeallocate(void*)' follow
/tmp//ccvLWVvh.ltrans26.ltrans.o: In function `CryptoPP::CipherModeBase::ResizeBuffers()':
<artificial>:(.text._ZN8CryptoPP14CipherModeBase13ResizeBuffersEv[_ZN8CryptoPP14CipherModeBase13ResizeBuffersEv]+0x81): undefined reference to `CryptoPP::AlignedAllocate(unsigned int)'
/tmp//ccvLWVvh.ltrans26.ltrans.o: In function `CryptoPP::ModularArithmetic::~ModularArithmetic()':
<artificial>:(.text._ZN8CryptoPP17ModularArithmeticD0Ev[_ZN8CryptoPP17ModularArithmeticD5Ev]+0x91): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
<artificial>:(.text._ZN8CryptoPP17ModularArithmeticD0Ev[_ZN8CryptoPP17ModularArithmeticD5Ev]+0xa1): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
<artificial>:(.text._ZN8CryptoPP17ModularArithmeticD0Ev[_ZN8CryptoPP17ModularArithmeticD5Ev]+0xb5): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
/tmp//ccvLWVvh.ltrans26.ltrans.o: In function `CryptoPP::DL_GroupParameters_GFP_DefaultSafePrime::~DL_GroupParameters_GFP_DefaultSafePrime()':
<artificial>:(.text._ZN8CryptoPP39DL_GroupParameters_GFP_DefaultSafePrimeD1Ev[_ZN8CryptoPP39DL_GroupParameters_GFP_DefaultSafePrimeD1Ev]+0xf1): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
<artificial>:(.text._ZN8CryptoPP39DL_GroupParameters_GFP_DefaultSafePrimeD1Ev[_ZN8CryptoPP39DL_GroupParameters_GFP_DefaultSafePrimeD1Ev]+0x111): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
/tmp//ccvLWVvh.ltrans26.ltrans.o:<artificial>:(.text._ZN8CryptoPP39DL_GroupParameters_GFP_DefaultSafePrimeD1Ev[_ZN8CryptoPP39DL_GroupParameters_GFP_DefaultSafePrimeD1Ev]+0x107): more undefined references to `CryptoPP::AlignedDeallocate(void*)' follow
/tmp//ccvLWVvh.ltrans26.ltrans.o: In function `CryptoPP::value_ptr<CryptoPP::MontgomeryRepresentation>::operator=(CryptoPP::value_ptr<CryptoPP::MontgomeryRepresentation> const&)':
<artificial>:(.text._ZN8CryptoPP9value_ptrINS_24MontgomeryRepresentationEEaSERKS2_[_ZN8CryptoPP9value_ptrINS_24MontgomeryRepresentationEEaSERKS2_]+0x101): undefined reference to `CryptoPP::AlignedAllocate(unsigned int)'
/tmp//ccvLWVvh.ltrans26.ltrans.o: In function `CryptoPP::AllocatorWithCleanup<unsigned char, true>::pointer CryptoPP::StandardReallocate<unsigned char, CryptoPP::AllocatorWithCleanup<unsigned char, true> >(CryptoPP::AllocatorWithCleanup<unsigned char, true>&, unsigned char*, CryptoPP::AllocatorWithCleanup<unsigned char, true>::size_type, CryptoPP::AllocatorWithCleanup<unsigned char, true>::size_type, bool)':
<artificial>:(.text._ZN8CryptoPP18StandardReallocateIhNS_20AllocatorWithCleanupIhLb1EEEEENT0_7pointerERS3_PT_NS3_9size_typeES8_b[_ZN8CryptoPP18StandardReallocateIhNS_20AllocatorWithCleanupIhLb1EEEEENT0_7pointerERS3_PT_NS3_9size_typeES8_b]+0x161): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
<artificial>:(.text._ZN8CryptoPP18StandardReallocateIhNS_20AllocatorWithCleanupIhLb1EEEEENT0_7pointerERS3_PT_NS3_9size_typeES8_b[_ZN8CryptoPP18StandardReallocateIhNS_20AllocatorWithCleanupIhLb1EEEEENT0_7pointerERS3_PT_NS3_9size_typeES8_b]+0x171): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
<artificial>:(.text._ZN8CryptoPP18StandardReallocateIhNS_20AllocatorWithCleanupIhLb1EEEEENT0_7pointerERS3_PT_NS3_9size_typeES8_b[_ZN8CryptoPP18StandardReallocateIhNS_20AllocatorWithCleanupIhLb1EEEEENT0_7pointerERS3_PT_NS3_9size_typeES8_b]+0x181): undefined reference to `CryptoPP::AlignedAllocate(unsigned int)'
<artificial>:(.text._ZN8CryptoPP18StandardReallocateIhNS_20AllocatorWithCleanupIhLb1EEEEENT0_7pointerERS3_PT_NS3_9size_typeES8_b[_ZN8CryptoPP18StandardReallocateIhNS_20AllocatorWithCleanupIhLb1EEEEENT0_7pointerERS3_PT_NS3_9size_typeES8_b]+0x1a6): undefined reference to `CryptoPP::AlignedAllocate(unsigned int)'
/tmp//ccvLWVvh.ltrans29.ltrans.o: In function `CryptoPP::CipherModeFinalTemplate_CipherHolder<CryptoPP::BlockCipherFinal<(CryptoPP::CipherDir)0, CryptoPP::Camellia::Base>, CryptoPP::ConcretePolicyHolder<CryptoPP::Empty, CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::AdditiveCipherAbstractPolicy, CryptoPP::CTR_ModePolicy> >, CryptoPP::AdditiveCipherAbstractPolicy> >::~CipherModeFinalTemplate_CipherHolder()':
<artificial>:(.text+0x2c6): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
<artificial>:(.text+0x2d1): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
/tmp//ccvLWVvh.ltrans29.ltrans.o: In function `CryptoPP::CipherModeFinalTemplate_CipherHolder<CryptoPP::BlockCipherFinal<(CryptoPP::CipherDir)0, CryptoPP::Camellia::Base>, CryptoPP::ConcretePolicyHolder<CryptoPP::Empty, CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::AdditiveCipherAbstractPolicy, CryptoPP::CTR_ModePolicy> >, CryptoPP::AdditiveCipherAbstractPolicy> >::~CipherModeFinalTemplate_CipherHolder() [clone .lto_priv.1562]':
<artificial>:(.text+0x3f1): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
<artificial>:(.text+0x401): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
/tmp//ccvLWVvh.ltrans29.ltrans.o: In function `CryptoPP::CipherModeFinalTemplate_CipherHolder<CryptoPP::BlockCipherFinal<(CryptoPP::CipherDir)0, CryptoPP::SEED::Base>, CryptoPP::ConcretePolicyHolder<CryptoPP::Empty, CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::AdditiveCipherAbstractPolicy, CryptoPP::CTR_ModePolicy> >, CryptoPP::AdditiveCipherAbstractPolicy> >::~CipherModeFinalTemplate_CipherHolder()':
<artificial>:(.text+0x515): undefined reference to `CryptoPP::AlignedDeallocate(void*)'
/tmp//ccvLWVvh.ltrans29.ltrans.o:<artificial>:(.text+0x521): more undefined references to `CryptoPP::AlignedDeallocate(void*)' follow
/tmp//ccvLWVvh.ltrans29.ltrans.o: In function `CryptoPP::ModePolicyCommonTemplate<CryptoPP::AdditiveCipherAbstractPolicy>::CipherSetKey(CryptoPP::NameValuePairs const&, unsigned char const*, unsigned int)':
<artificial>:(.text._ZN8CryptoPP24ModePolicyCommonTemplateINS_28AdditiveCipherAbstractPolicyEE12CipherSetKeyERKNS_14NameValuePairsEPKhj[_ZN8CryptoPP24ModePolicyCommonTemplateINS_28AdditiveCipherAbstractPolicyEE12CipherSetKeyERKNS_14NameValuePairsEPKhj]+0x181): undefined reference to `CryptoPP::AlignedAllocate(unsigned int)'
collect2: error: ld returned 1 exit status
Makefile:138: recipe for target '../game_r54250_32' failed

How i can solve this please ? 

Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

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


  • Activity

    1. 0

      Problem with userinterface

    2. 2

      Problem freebsd

    3. 0

      Making chain quest

    4. 4

      Ludus2: a metin2-like browser game

    5. 6
    6. 9

      Help in implementing a switch bot

    7. 0

      Special Inventory System Can't Sell To Npc's

    8. 0

      ROV2.GLOBAL | International | Server start 14.05.2022

  • Recently Browsing

    • 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.