Problem while compiling from CVS: Juk Causing error

Tim Wunder tim at thewunders.org
Tue Sep 16 21:33:04 BST 2003


On 8/27/2003 9:39 AM, someone claiming to be Eyal Ben-Simon wrote:
> Hy,
> While im compiling KDE-MULTIMEDIA from CVS, and it's getting into the JUK section, I recieve this error:
> 
> make[1]: Entering directory `/var/tmp/portage/kdemultimedia-5/work/kdemultimedia/juk/data'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-5/work/kdemultimedia/juk/data'
> make[1]: Entering directory `/var/tmp/portage/kdemultimedia-5/work/kdemultimedia/juk'
> /bin/sh ../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=pentium3 -O2 -pipe -Wformat-security -Wmissing-format-attribute -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/cvs/lib  -R /usr/kde/cvs/lib -R /usr/qt/3/lib -R /usr/X11R6/lib gstreamerplayer.o artsplayer.o directorylist.o stringhash.o sortedstringlist.o systemtray.o genrelisteditor.o splashscreen.o statuslabel.o cachedtag.o oggtag.o id3tag.o collectionlist.o playlistitem.o playlist.o playlistsplitter.o playlistbox.o tageditor.o cache.o genrelistreader.o genrelistlist.o genrelist.o genre.o player.o tag.o customaction.o slideraction.o keydialog.o juk.o main.o tagguesser.o tagguesser
configdlg.o playlistsearch.o searchwidget.o filerenamer.o dynamicplaylist.o searchplaylist.o musicbrainzquery.o mediafiles.o viewmode.o advancedsearchdialog.o historyplaylist.o jukIface_skel.o directorylistbase.o genrelisteditorbase.o tagguesserconfigdlgwidget.o  -lmusicbrainz -lid3 -lsoundserver_idl -lkio -L/usr/lib -lesd -laudiofile -lm -lasound
> /usr/lib/libid3.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)'
> /usr/lib/libid3.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_S_empty_rep_storage'
> /usr/lib/libid3.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_M_clone(std::allocator<wchar_t> const&, unsigned)'
> /usr/lib/libid3.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >::seekp(std::fpos<__mbstate_t>)'
> /usr/lib/libid3.so: undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::reserve(unsigned)'
> /usr/lib/libid3.so: undefined reference to `std::basic_istream<char, std::char_traints<char> >::seekg(std::fpos<__mbstate_t>)'
> collect2: ld returned 1 exit status
> make[1]: *** [juk] Error 1
> make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-5/work/kdemultimedia/juk'
> make: *** [all-recursive] Error 1
> 
> Could someone help me?
> Im using gentoo and id3lib-3.8.3-r1.
> 
> Please reply me directly to:
> kde-multimedia at mail.kde.org
> 
> Because i not signed to the list.
> 
> 

I get a similar error to this trying to compile kdemultimedia (arts, 
kdelibs, kdebase, kdepim, kdeartwork all worked fine). I'm using RHL 8.0 
and id3lib 3.8.3 from freshrpms.net:
$ rpm -qa|grep id3
id3lib-3.8.3-fr2
id3lib-devel-3.8.3-fr2

$ g++ --version
g++ (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)

make[1]: Entering directory `/data/CVS/kde/kdemultimedia/juk'
/bin/sh ../libtool --silent --mode=link --tag=CXX g++
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
-Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security
-Wmissing-format-attribute -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/data/CVS/kde/qt-copy/lib -L/opt/kde32/lib  -R /opt/kde32/lib -R
/data/CVS/kde/qt-copy/lib -R /usr/X11R6/lib gstreamerplayer.o
artsplayer.o directorylist.o stringhash.o sortedstringlist.o
systemtray.o genrelisteditor.o splashscreen.o statuslabel.o cachedtag.o
oggtag.o id3tag.o collectionlist.o playlistitem.o playlist.o
playlistsplitter.o playlistbox.o tageditor.o cache.o genrelistreader.o
genrelistlist.o genrelist.o genre.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 jukIface_skel.o
directorylistbase.o genrelisteditorbase.o tagguesserconfigdlgwidget.o
trackpickerdialogbase.o filerenamerconfigdlgwidget.o  -lmusicbrainz
-lid3 -lartskde -lkio
/usr/lib/libid3.so: undefined reference to
`std::__default_alloc_template<(bool)1, (int)0>::_S_force_new'
collect2: ld returned 1 exit status
make[1]: *** [juk] Error 1
make[1]: Leaving directory `/data/CVS/kde/kdemultimedia/juk'
make: *** [all-recursive] Error 1

I did not find the solution on the mailing list archives. I would 
greatly appreciate any help you kind folks might care to offer.

Thanks,
Tim



More information about the kde-multimedia mailing list