Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44861 - kdemultimedia fails to link with taglib - unresolved symbols
Summary: kdemultimedia fails to link with taglib - unresolved symbols
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 44862 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-16 09:50 UTC by Kaleb Pederson
Modified: 2004-04-26 18:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kaleb Pederson 2004-03-16 09:50:07 UTC
I can't compile kdemultimedia on my system.  I tried re-emerging gcc and then taglib, and it still dies with unresolved symbols.  The error information is as follows:

...
/bin/sh ../libtool --silent --mode=link --tag=CXX g++  -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o juk -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib  -R /usr/kde/3.2/lib -R /usr/qt/3/lib -R /usr/X11R6/lib gstreamerplayer.o artsplayer.o directorylist.o stringhash.o sortedstringlist.o systemtray.o splashscreen.o statuslabel.o collectionlist.o playlistitem.o playlist.o playlistsplitter.o playlistbox.o tageditor.o cache.o player.o tag.o customaction.o slideraction.o keydialog.o juk.o main.o tagguesser.o tagguesserconfigdlg.o playlistsearch.o searchwidget.o filerenamer.o dynamicplaylist.o searchplaylist.o musicbrainzquery.o mediafiles.o viewmode.o advancedsearchdialog.o historyplaylist.o musicbrainzitem.o trackpickerdialog.o filerenamerconfigdlg.o stringshare.o jukIface_skel.o directorylistbase.o tagguesserconfigdlgwidget.o trackpickerdialogbase.o filerenamerconfigdlgwidget.o  -lmusicbrainz -lartskde -lkio -L/usr/lib -ltag
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::replace(unsigned, unsigned, wchar_t const*, unsigned)@GLIBCPP_3.2'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::append(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)@GLIBCPP_3.2'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string[in-charge](std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned, unsigned)@GLIBCPP_3.2'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::resize(unsigned, wchar_t)@GLIBCPP_3.2'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_S_terminal@GLIBCPP_3.2'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_leak_hard()@GLIBCPP_3.2'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::replace(__gnu_cxx::__normal_iterator<wchar_t*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >, __gnu_cxx::__normal_iterator<wchar_t*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >, unsigned, wchar_t)@GLIBCPP_3.2'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string[in-charge](std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)@GLIBCPP_3.2'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_S_empty_rep_storage@GLIBCPP_3.2'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_S_create(unsigned, std::allocator<wchar_t> const&)@GLIBCPP_3.2'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::append(unsigned, wchar_t)@GLIBCPP_3.2'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned, unsigned) const@GLIBCPP_3.2'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_M_destroy(std::allocator<wchar_t> const&)@GLIBCPP_3.2'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::assign(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)@GLIBCPP_3.2'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::append(wchar_t const*, unsigned)@GLIBCPP_3.2'
/usr/lib/libtag.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string[in-charge](wchar_t const*, std::allocator<wchar_t> const&)@GLIBCPP_3.2'
collect2: ld returned 1 exit status
make[3]: *** [juk] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.2.1/work/kdemultimedia-3.2.1/juk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.2.1/work/kdemultimedia-3.2.1/juk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.2.1/work/kdemultimedia-3.2.1'
make: *** [all] Error 2

!!! ERROR: kde-base/kdemultimedia-3.2.1 failed.
!!! Function kde_src_compile, Line 128, Exitcode 2
!!! died running emake, kde_src_compile:make


Reproducible: Always
Steps to Reproduce:
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-03-16 10:05:12 UTC
*** Bug 44862 has been marked as a duplicate of this bug. ***
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2004-03-16 10:06:13 UTC
the problem is in taglib, but it looks like it may be more rooted in your glibc.

emerge info please
Comment 3 Kaleb Pederson 2004-03-16 10:42:33 UTC
Here's my emerge info:

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.1)
=================================================================
System uname: 2.6.1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.13
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://www.gtlib.cc.gatech.edu/pub/gentoo http://mirror.cpsc.ucalgary.ca/mirror/gentoo.org http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage.local"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow X alsa apache2 apm arts avi berkdb bonobo cdr crypt cups directfb doc dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib innodb java jpeg junit kde kerberos ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls odbc oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline samba scanner sdk sdl slang spell sse ssl svga tcltk tcpd tetex thread truetype usb wmf x86 xml xml2 xmms xv zlib"
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2004-04-20 18:27:14 UTC
It looks like your taglib was compiled against a different gcc version (perhaps using distcc..)?

Reemerge it, and that should fix it.
Comment 5 Kaleb Pederson 2004-04-21 15:25:59 UTC
I had tried recompiling both taglib and kdemultimedia at the time it didn't help.  I'm not sure what changes have been made since them, but it did work just fine this time.
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2004-04-26 18:38:13 UTC
a gcc versioning thing most likely.  anyway, fixed for you.