aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amule compile error  (Read 4423 times)

dummy01

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
amule compile error
« 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.
« Last Edit: April 15, 2006, 03:23:00 PM by dummy01 »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amule compile error
« Reply #1 on: April 15, 2006, 03:29:15 PM »

whats your gcc version?
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

dummy01

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: amule compile error
« Reply #2 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. ;(
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amule compile error
« Reply #3 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 ?
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

dummy01

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: amule compile error
« Reply #4 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?
« Last Edit: April 15, 2006, 08:01:02 PM by dummy01 »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amule compile error
« Reply #5 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...
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

leio

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
    • http://www.wxwidgets.org/
Re: amule compile error
« Reply #6 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.
Logged
Compilers: gcc-3.3.6, gcc-3.4.5, gcc-4.0.3, gcc-4.1.1; OS: Gentoo Linux; WX: CVS HEAD; aMule: SVN HEAD

Project Manager of wxMUD - http://wxmud.sf.net/
Developer of wxGTK;
Gentoo Linux - wxwindows herd - http://www.gentoo.org/