Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40890 - kdemultimedia-3.2.0 fails to build - undefined reference
Summary: kdemultimedia-3.2.0 fails to build - undefined reference
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-08 15:09 UTC by Rafael do N. Pereira
Modified: 2004-02-24 09:51 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 Rafael do N. Pereira 2004-02-08 15:09:57 UTC
Here is the output from the command "ACCEPT_KEYWORDS="~x86" emerge -v kde":

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include  -I/usr/kde/3.2/include/arts -I/usr/include/taglib  -DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -Wall -funroll-loops -O2 -pipe -fforce-addr -fomit-frame-pointer -frerun-loop-opt -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o trackpickerdialogbase.o `test -f 'trackpickerdialogbase.cpp' || echo './'`trackpickerdialogbase.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include  -I/usr/kde/3.2/include/arts -I/usr/include/taglib  -DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -Wall -funroll-loops -O2 -pipe -fforce-addr -fomit-frame-pointer -frerun-loop-opt -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o filerenamerconfigdlgwidget.o `test -f 'filerenamerconfigdlgwidget.cpp' || echo './'`filerenamerconfigdlgwidget.cpp
/bin/sh ../libtool --silent --mode=link --tag=CXX g++  -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -Wall -funroll-loops -O2 -pipe -fforce-addr -fomit-frame-pointer -frerun-loop-opt -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::char_traits<wchar_t>::compare(wchar_t const*, wchar_t const*, unsigned)'
/usr/lib/libtag.so: undefined reference to `std::char_traits<wchar_t>::assign(wchar_t*, unsigned, wchar_t)'
/usr/lib/libtag.so: undefined reference to `std::char_traits<wchar_t>::length(wchar_t const*)'
/usr/lib/libtag.so: undefined reference to `std::char_traits<wchar_t>::copy(wchar_t*, wchar_t const*, unsigned)'
/usr/lib/libtag.so: undefined reference to `std::char_traits<wchar_t>::move(wchar_t*, wchar_t const*, unsigned)'
collect2: ld returned 1 exit status
make[3]: *** [juk] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.2.0/work/kdemultimedia-3.2.0/juk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.2.0/work/kdemultimedia-3.2.0/juk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.2.0/work/kdemultimedia-3.2.0'
make: *** [all] Error 2
 
!!! ERROR: kde-base/kdemultimedia-3.2.0 failed.
!!! Function kde_src_compile, Line 127, Exitcode 2
!!! died running emake, kde_src_compile:make

Reproducible: Always
Steps to Reproduce:
Reproducible: Always
Steps to Reproduce:
ACCEPT_KEYWORDS="~x86" emerge -v kde

My machine: Athlon XP 1700+ 256MB DDR333 - ASUS A7V8X-X BIOS rev1007
            
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.2)
Linux Kernel 2.6.2


My configs:

/etc/make.conf:

USE="acl doc alsa gtk2 ssl tcpd X gnome gpm nls 3dnow sse mmx xml ldap"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -Wall -funroll-loops -O3 -pipe -fforce-addr -fomit-frame-pointer -frerun-loop-opt"
CXXFLAGS="${CFLAGS}"
# MAKEOPTS="-j2" 
FEATURES="ccache sandbox"
CCACHE_SIZE="1G"
#AUTOCLEAN="yes"

/etc/profile.env:
export LESS='-R'
export MOZILLA_FIVE_HOME='/usr/lib/mozilla'
export PAGER='/usr/bin/less'
export PYTHONDOCS='/usr/share/doc/python-docs-2.3.3/html'
export QMAKESPEC='linux-g++'
export INFODIR='/usr/share/info:/usr/X11R6/info'
export CVS_RSH='ssh'
export JDK_HOME='/opt/blackdown-jdk-1.4.1'
export XINITRC='/etc/X11/xinit/xinitrc'
export CXX='g++'
export CC='gcc'
export GDK_USE_XFT='1'
export ROOTPATH='/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.2/sbin:/usr/kde/3.2/bin:/usr/kde/3.1/sbin:/usr/kde/3.1/bin:/opt/interbase/bin'
export QTDIR='/usr/qt/3'
export G_BROKEN_FILENAMES='1'
export CONFIG_PROTECT='/usr/X11R6/lib/X11/xkb /usr/kde/3.2/share/config /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config'
export KDEDIRS='/usr'
export CLASSPATH='/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar:.'
export CONFIG_PROTECT_MASK='/etc/gconf'
export HOSTNAME='flipflop'
export LESSOPEN='|lesspipe.sh %s'
export INFOPATH='/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info'
export PATH='/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.2/bin:/usr/kde/3.1/bin:/opt/interbase/bin:/usr/games/bin'
export GUILE_LOAD_PATH='/usr/share/guile/1.6'
export INTERBASE='/opt/interbase'
export MANPATH='/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man:/usr/X11R6/man:/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man:/usr/X11R6/man::/opt/blackdown-jdk-1.4.1/man:/usr/qt/3/man:/usr/qt/3/doc/man:/opt/blackdown-jdk-1.4.1/man:/usr/qt/3/man:/usr/qt/3/doc/man'
export KDEDIR='/usr/kde/3.2'
export JAVA_HOME='/opt/blackdown-jdk-1.4.1'
export JAVAC='/opt/blackdown-jdk-1.4.1/bin/javac
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-02-09 07:34:14 UTC
Try re-emerging taglib?
Comment 2 Dominik Stadler (RETIRED) gentoo-dev 2004-02-24 06:49:24 UTC
The undefined references are symbols from the STL and all are related to unicode, did you add/remove the USE-flag "unicode" between compiles?

Also does the previous hint to re-emerge "taglib" solve the issue?
Comment 3 Rafael do N. Pereira 2004-02-24 09:51:43 UTC
 The bug was in the taglib package, because (i think) it was a beta version
 (taglib-1.0_beta2). I merged the taglib-1.0 (stable), and it solved the problem.