View previous topic :: View next topic |
Author |
Message |
Crisis l33t
Joined: 10 Feb 2003 Posts: 613 Location: Portland, OR
|
Posted: Sat Jun 10, 2006 7:17 pm Post subject: kdebase fails compile |
|
|
I'm getting this, anyone have any ideas?
Code: | konq_sound.cc:(.text+0x1937): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
.libs/konq_sound.o:konq_sound.cc:(.text+0x1967): more undefined references to `__gnu_cxx::__exchange_and_add(int volatile*, int)' follow
collect2: ld returned 1 exit status
make[3]: *** [konq_sound.la] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.5.2-r1/work/kdebase-3.5.2/libkonq'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebase-3.5.2-r1/work/kdebase-3.5.2/libkonq'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.5.2-r1/work/kdebase-3.5.2'
make: *** [all] Error 2
!!! ERROR: kde-base/kdebase-3.5.2-r1 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
kdebase-3.5.2-r1.ebuild, line 121: Called kde_src_compile
kde.eclass, line 144: Called kde_src_compile 'all'
kde.eclass, line 279: Called kde_src_compile 'myconf' 'configure' 'make'
kde.eclass, line 275: Called die
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
|
|
Back to top |
|
|
!equilibrium Bodhisattva
Joined: 06 Jun 2004 Posts: 2109 Location: MI/BG/LC
|
|
Back to top |
|
|
superfes n00b
Joined: 03 Apr 2004 Posts: 18 Location: Phoenix, AZ
|
Posted: Wed Nov 08, 2006 6:14 am Post subject: |
|
|
This happens when you switch versions of GCC, they have posted a bug fix that tells you to switch back to the other version of GCC, I find that to be a rather drab solution.
You can remove the libstdc++.so* from /usr/lib and everything should work fine, your ld.so.conf points to multiple library versions of GCC, you should be fine, if you have any issues with it you can emerge -e system or something like that before you try removing the files with the new GCC but not many things link to the libstdc++ libs (Developers are still afraid of C++) so the base system executables are probably fine anyway.
After you remove the libraries the ld.so.conf has the proper order based on your GCC selection and will find the right libstdc++.so first.
As such everything will compile after that.
Hope this helps!
P.S. This breaks all versions of KDE, 3.5.5 and everything else C++ because they need the C++ libraries, (The newest package of qt-4 will not be happy if the dbus package was built with support for QT 4 so you'll have to rebuild that (Hurray, fun!)). _________________ Not today, I've got another pair of pants to deal with. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|