I am trying to compile amule on my gentoo box. I'm using the official gentoo amule-2.0.0_rc5 ebuild.
gcc version 3.4.0 20040601 (Gentoo Linux 3.4.0-r6, ssp-3.4-2, pie-8.7.6.3)
here is the error that i get when compiling:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: warning: libstdc++.so.6, needed by /usr/lib/libwx_gtk-2.4.so, may conflict with libstdc++.so.5
amule-BaseClient.o(.gnu.linkonce.t._ZN8CryptoPP18StandardReallocateIjNS_16AlignedAllocatorIjEEEEN1A7pointerERS3_PT_NS3_9size_typeES8_b+0x3d): In function `A::pointer CryptoPP::StandardReallocate >(A&, unsigned*, A::size_type, A::size_type, bool)':
: undefined reference to `CryptoPP::AlignedAllocator::allocate(unsigned, void const*)'
amule-BaseClient.o(.gnu.linkonce.t._ZN8CryptoPP18StandardReallocateIjNS_16AlignedAllocatorIjEEEEN1A7pointerERS3_PT_NS3_9size_typeES8_b+0x77): In function `A::pointer CryptoPP::StandardReallocate >(A&, unsigned*, A::size_type, A::size_type, bool)':
: undefined reference to `CryptoPP::AlignedAllocator::deallocate(void*, unsigned)'
amule-BaseClient.o(.gnu.linkonce.t._ZN8CryptoPP18StandardReallocateIjNS_16AlignedAllocatorIjEEEEN1A7pointerERS3_PT_NS3_9size_typeES8_b+0x9c): In function `A::pointer CryptoPP::StandardReallocate >(A&, unsigned*, A::size_type, A::size_type, bool)':
: undefined reference to `CryptoPP::AlignedAllocator::deallocate(void*, unsigned)'
amule-BaseClient.o(.gnu.linkonce.t._ZN8CryptoPP18StandardReallocateIjNS_16AlignedAllocatorIjEEEEN1A7pointerERS3_PT_NS3_9size_typeES8_b+0xb3): In function `A::pointer CryptoPP::StandardReallocate >(A&, unsigned*, A::size_type, A::size_type, bool)':
: undefined reference to `CryptoPP::AlignedAllocator::allocate(unsigned, void const*)'
amule-ClientCredits.o(.text+0x26b6): In function `CClientCreditsList::CreateKeyPair()':
: undefined reference to `CryptoPP::AlignedAllocator::deallocate(void*, unsigned)'
amule-ClientCredits.o(.text+0x2f86): In function `CClientCreditsList::CreateKeyPair()':
: undefined reference to `CryptoPP::AlignedAllocator::deallocate(void*, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP11RSAFunctionC1Ev+0xc9): In function `CryptoPP::RSAFunction::RSAFunction[in-charge]()':
: undefined reference to `CryptoPP::AlignedAllocator::deallocate(void*, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP11RSAFunctionD1Ev+0x3f): In function `CryptoPP::RSAFunction::~RSAFunction [in-charge]()':
: undefined reference to `CryptoPP::AlignedAllocator::deallocate(void*, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP11RSAFunctionD1Ev+0x68): In function `CryptoPP::RSAFunction::~RSAFunction [in-charge]()':
: undefined reference to `CryptoPP::AlignedAllocator::deallocate(void*, unsigned)'
amule-ClientCredits.o(.gnu.linkonce.t._ZN8CryptoPP11RSAFunctionD1Ev+0x141): more undefined references to `CryptoPP::AlignedAllocator::deallocate(void*, unsigned)' follow
collect2: ld returned 1 exit status
make[4]: *** [amule] Error 1
make[4]: Leaving directory `/var/tmp/portage/amule-2.0.0_rc5/work/aMule-2.0.0rc5/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/amule-2.0.0_rc5/work/aMule-2.0.0rc5/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/amule-2.0.0_rc5/work/aMule-2.0.0rc5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/amule-2.0.0_rc5/work/aMule-2.0.0rc5'
make: *** [all] Error 2
!!! ERROR: net-p2p/amule-2.0.0_rc5 failed.
!!! Function src_compile, Line 57, Exitcode 2
crypto++ compiled with CFLAGS="-0 -w -pipe"
I have no idea what is wrong. Help would be greatly appreciated.