Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
compiling Kdelibs 3.5.4
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
blackened
n00b
n00b


Joined: 13 Sep 2006
Posts: 2

PostPosted: Wed Sep 13, 2006 6:19 pm    Post subject: compiling Kdelibs 3.5.4 Reply with quote

Hello everyone, i'd like to know if someone could help me to fix a little problem installing Kde in my system, i could no realise what it was about.

emerge tells me this, as an error:

kaudiomanagerplay.cpp:(.text+0x80b): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
kaudiomanagerplay.cpp:(.text+0x8c3): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
.libs/kaudiomanagerplay.o: In function `KAudioManagerPlay::KAudioManagerPlay(KArtsServer*, QString const&)':
kaudiomanagerplay.cpp:(.text+0xb2b): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
kaudiomanagerplay.cpp:(.text+0xbe3): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
collect2: ld returned 1 exit status
make[3]: *** [libartskde.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.5.4-r1/work/kdelibs-3.5.4/arts/kde'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.5.4-r1/work/kdelibs-3.5.4/arts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.5.4-r1/work/kdelibs-3.5.4'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.5.4-r1 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
kdelibs-3.5.4-r1.ebuild, line 129: Called kde_src_compile
kde.eclass, line 166: Called kde_src_compile 'all'
kde.eclass, line 325: Called kde_src_compile 'myconf' 'configure' 'make'
kde.eclass, line 321: Called die


I'll be grateful any suggestions.

PD.

I use this portage tree:

sys-apps/portage
Latest version available: 2.1.1
Latest version installed: 2.1.1

and mi make.conf is this

cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="gtk gnome qt kde dvd alsa cdr avi live mpeg oggvorbis real X opengl sdl xv directfb fbcon svga mmx mmxext sse 3dnow 3dnowext apache2 mysql pam ssl xml xml2 win32codecs bitmap-fonts truetype-fonts type1-fonts nptl nptlonly v4l v4l2 aac glitz cairo postgres"
PORTDIR_OVERLAY="/usr/local/overlays/xgl-coffee"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="nv nvidia vesa fbdeb nv-none"
ACCEPT_KEYWORDS="~x86"
EMERGE_DEFAULT_OPTS="--alphabetical"

Thanks a lot
Back to top
View user's profile Send private message
Dammital
Apprentice
Apprentice


Joined: 05 Nov 2004
Posts: 189

PostPosted: Thu Sep 14, 2006 1:29 am    Post subject: Reply with quote

Just flailing around in the dark here, but another poster who complained about kdelibs failing to emerge had to re-emerge qt first. In that case, qt hadn't been compiled with the same level of gcc as kdelibs was.
Code:
emerge -1 qt

Your use of ACCEPT_KEYWORDS="~x86" gives me pause too, but maybe I'm just being a wimp. :wink:
Back to top
View user's profile Send private message
blackened
n00b
n00b


Joined: 13 Sep 2006
Posts: 2

PostPosted: Thu Sep 14, 2006 7:28 pm    Post subject: It didn't work Reply with quote

Hello again, i follow you advice, it didn't work, showing me the same error

kaudiomanagerplay.cpp:(.text+0x13c): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
.libs/kaudiomanagerplay.o: In function `KAudioManagerPlay::setTitle(QString const&)':
kaudiomanagerplay.cpp:(.text+0x1d7): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
kaudiomanagerplay.cpp:(.text+0x251): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
.libs/kaudiomanagerplay.o: In function `KAudioManagerPlay::title()':
kaudiomanagerplay.cpp:(.text+0x2ca): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
kaudiomanagerplay.cpp:(.text+0x33c): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
.libs/kaudiomanagerplay.o: In function `KAudioManagerPlay::setAutoRestoreID(QString const&)':
kaudiomanagerplay.cpp:(.text+0x537): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
kaudiomanagerplay.cpp:(.text+0x5b1): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
.libs/kaudiomanagerplay.o: In function `KAudioManagerPlay::KAudioManagerPlay(KArtsServer*, QString const&)':
kaudiomanagerplay.cpp:(.text+0x80b): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
kaudiomanagerplay.cpp:(.text+0x8c3): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
.libs/kaudiomanagerplay.o: In function `KAudioManagerPlay::KAudioManagerPlay(KArtsServer*, QString const&)':
kaudiomanagerplay.cpp:(.text+0xb2b): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
kaudiomanagerplay.cpp:(.text+0xbe3): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
collect2: ld returned 1 exit status
make[3]: *** [libartskde.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.5.4-r1/work/kdelibs-3.5.4/arts/kde'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.5.4-r1/work/kdelibs-3.5.4/arts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.5.4-r1/work/kdelibs-3.5.4'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.5.4-r1 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
kdelibs-3.5.4-r1.ebuild, line 129: Called kde_src_compile
kde.eclass, line 166: Called kde_src_compile 'all'
kde.eclass, line 325: Called kde_src_compile 'myconf' 'configure' 'make'
kde.eclass, line 321: Called die

I don't know what could be wrong, i hope someone can help me, Thanks a lot

Arturo
Back to top
View user's profile Send private message
lanks
n00b
n00b


Joined: 15 Sep 2006
Posts: 1

PostPosted: Fri Sep 15, 2006 3:55 pm    Post subject: Reply with quote

Same problem here.

Don't know what it could be.

I've also tried to merge qt and it didn't work...
Back to top
View user's profile Send private message
mhoskins
n00b
n00b


Joined: 23 Jan 2004
Posts: 64
Location: Southern New Joisey

PostPosted: Mon Sep 18, 2006 12:00 am    Post subject: Ditto Reply with quote

Same problem here... the real fun thing is it emerges no problem on one machine and fails on another. Very similar configurations.

pjsm...
_________________
--
To know even one life has breathed easier because you have lived.
This is to have succeeded. -Bessie Stanely, 1905
Back to top
View user's profile Send private message
superfes
n00b
n00b


Joined: 03 Apr 2004
Posts: 18
Location: Phoenix, AZ

PostPosted: Wed Nov 08, 2006 6:03 am    Post subject: Reply with quote

See: https://forums.gentoo.org/viewtopic-p-3703250.html#3703250
_________________
Not today, I've got another pair of pants to deal with.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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