aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: --disable-embedded-crypto solves my compilation problem.  (Read 3455 times)

spiorf

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 73
--disable-embedded-crypto solves my compilation problem.
« on: September 12, 2006, 09:14:33 PM »

Code: [Select]
 
amule-ClientCreditsList.o: In function `CryptoPP::AlignedAllocator::pointer CryptoPP::StandardReallocate >(CryptoPP::AlignedAllocator&, unsigned int*, CryptoPP::AlignedAllocator::size_type, CryptoPP::AlignedAllocator::size_type, bool)':
ClientCreditsList.cpp:(.text._ZN8CryptoPP18StandardReallocateIjNS_16AlignedAllocatorIjEEEENT0_7pointerERS3_PT_NS3_9size_typeES8_b[CryptoPP::AlignedAllocator::pointer CryptoPP::StandardReallocate >(CryptoPP::AlignedAllocator&, unsigned int*, CryptoPP::AlignedAllocator::size_type, CryptoPP::AlignedAllocator::size_type, bool)]+0x69): undefined reference to `CryptoPP::AlignedAllocator::deallocate(void*, unsigned int)'
ClientCreditsList.cpp:(.text._ZN8CryptoPP18StandardReallocateIjNS_16AlignedAllocatorIjEEEENT0_7pointerERS3_PT_NS3_9size_typeES8_b[CryptoPP::AlignedAllocator::pointer CryptoPP::StandardReallocate >(CryptoPP::AlignedAllocator&, unsigned int*, CryptoPP::AlignedAllocator::size_type, CryptoPP::AlignedAllocator::size_type, bool)]+0x85): undefined reference to `CryptoPP::AlignedAllocator::deallocate(void*, unsigned int)'
amule-ClientCreditsList.o: In function `CryptoPP::Integer::~Integer()':
ClientCreditsList.cpp:(.text._ZN8CryptoPP7IntegerD1Ev[CryptoPP::Integer::~Integer()]+0x25): undefined reference to `CryptoPP::AlignedAllocator::deallocate(void*, unsigned int)'
collect2: ld returned 1  


usual compilation ended like this,  so i tried that option and it worked.

amule 20060912 snaphot, wxgtk 2.6.3
don't know if it s important, but maybe: i use these flags

export CARCH="i686"
export CFLAGS="-march=prescott -O3 -pipe"
export CXXFLAGS="-march=prescott -O3 -pipe"
Logged
Alcohol, the cause of, and solution to, all of lifes problems...

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: --disable-embedded-crypto solves my compilation problem.
« Reply #1 on: September 15, 2006, 07:44:18 PM »

My bet would be overoptimization. Have you tried with -O2? What gcc version are you using?
Logged
concordia cum veritate