aMule Forum

English => Compilation problems => Topic started by: dummy01 on April 15, 2006, 03:21:58 PM

Title: amule compile error
Post by: dummy01 on April 15, 2006, 03:21:58 PM
i have a compile error with various 2.* versions of amule

Code: [Select]
CryptoPP.cpp:(.text+0x1ec4a): undefined reference to `std::basic_stringd::char_traits, std::allocator >::_Rep::_S_empty_rep_storage'
CryptoPP.cpp:(.text+0x1ed09): undefined reference to `std::basic_stringd::char_traits, std::allocator >::_Rep::_S_empty_rep_storage'
amulegui-CryptoPP.o: In function `CryptoPP::SimpleKeyingInterface::ThrowIfInvali
dKeyLength(CryptoPP::Algorithm const&, unsigned int)':
CryptoPP.cpp:(.text+0x1f084): undefined reference to `std::basic_stringd::char_traits, std::allocator >::_Rep::_S_empty_rep_storage'
amulegui-CryptoPP.o:CryptoPP.cpp:(.text+0x2f279): more undefined references to `
std::basic_string, std::allocator >::_Rep::_S
_empty_rep_storage' follow
collect2: ld returned 1 exit status
make[3]: *** [amulegui] Error 1
make[3]: Leaving directory `/var/tmp/portage/amule-2.0.3-r4/work/aMule-2.0.3/src
'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/amule-2.0.3-r4/work/aMule-2.0.3/src
'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/amule-2.0.3-r4/work/aMule-2.0.3'
make:

whats the problem here? i have only one widgets version 2.6.3.2. ;(

gentoo linux is my os.
Title: Re: amule compile error
Post by: stefanero on April 15, 2006, 03:29:15 PM
whats your gcc version?
Title: Re: amule compile error
Post by: dummy01 on April 15, 2006, 05:02:57 PM
i tried gcc 3.3.6 and 3.4.5 with amule 2.0.3 (marked stable in gentoo), 2.1.0 and 2.1.1
i cant compile it. ;(
Title: Re: amule compile error
Post by: stefanero on April 15, 2006, 06:45:58 PM
well 3.4.5 works for sure

sure you ran

env-update && source /etc/profile

after you switched gcc with gcc-config ?
Title: Re: amule compile error
Post by: dummy01 on April 15, 2006, 08:00:10 PM
just tried it. no dice.....
man i need my daily dose of amule traffic....
 ;( :(

btw i just closed the bash window after changing the gcc previously, isnt that enough?
Title: Re: amule compile error
Post by: stefanero on April 15, 2006, 08:30:03 PM
well looks to me, like your gcc is somewhat brocken...
I would try to reemerge gcc -3.4.5 and also maybe gcc-config

after that

redo wxGTK and aMule...
Title: Re: amule compile error
Post by: leio on April 15, 2006, 08:53:04 PM
Quote
Originally posted by dummy01btw i just closed the bash window after changing the gcc previously, isnt that enough?
Not if you are running a terminal emulator, such as gnome-terminal - that is, if you are running something through X.
Those usually take the environment of the X or DE session by default, and you either need to restart X, or keep doing source /etc/profile for new environments until you restart X. See gcc --version to be sure what you're using.