aMule Forum
English => aMule Help => Topic started by: lfranchi on August 08, 2004, 03:53:59 AM
-
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.
-
/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
al c++ apps (crypto++, amule, don't remember if wxGTK too) have to be compiled with same gcc version
I'm not sure amule and/or crypto++ are compatible with gcc 3.4
-
I compiled amule, crypto++, and wxGTK all with gcc 3.4.
If crypto++ and amule are not compatible with 3.4 at all, then i'll try to re-compile everything (including wxGTK) with 3.3 and see what happens then.
-
hey
if you really wanto gcc3.4 you need crypto++5.2.1 or 5.2 and current CVS
both are 3.4 compatibel....
-
i'll try compiling everything with 3.3 first and see if it works. what i care most about is getting amule compiled, then i can deal with getting it compiled with 3.4.
-
Ok, compiled everything with 3.3 and amule compiled without any problems.
The CFLAGS i used were: '-O -w -pipe'