Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 68890

Summary: emerge kdemultimedia failed, /usr/lib/libtag.so: undefined reference...
Product: Gentoo Linux Reporter: Ricardo Rodriguez <rrodrigu3z>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ricardo Rodriguez 2004-10-25 13:41:34 UTC
when I try to emerge kdemultimedia, I get errors like this "/usr/lib/libtag.so: undefined reference to.."


/usr/lib/libtag.so: undefined reference to `TagLib::List<int>::List()'
/usr/lib/libtag.so: undefined reference to `TagLib::ByteVector TagLib::fromNumber<short>(short, bool)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ID3v2::Frame*>::append(TagLib::ID3v2::Frame* const&)'
/usr/lib/libtag.so: undefined reference to `TagLib::Map<int, TagLib::ByteVector>::operator[](int const&)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ByteVector>::begin()'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::Ogg::Page*>::List()'
/usr/lib/libtag.so: undefined reference to `TagLib::Map<TagLib::String, int>::isEmpty() const'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ID3v2::Frame*>::setAutoDelete(bool)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<int>::end()'
/usr/lib/libtag.so: undefined reference to `TagLib::Map<TagLib::String, int>::contains(TagLib::String const&) const'
/usr/lib/libtag.so: undefined reference to `typeinfo for TagLib::List<TagLib::String>'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ID3v2::Frame*>::begin()'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::Ogg::Page*>::operator[](unsigned int)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ByteVector>::operator[](unsigned int)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<int>::List(TagLib::List<int> const&)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<int>::begin()'
/usr/lib/libtag.so: undefined reference to `TagLib::ByteVector TagLib::fromNumber<long long>(long long, bool)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::String>::List()'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ByteVector>::~List()'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::String>::isEmpty() const'
/usr/lib/libtag.so: undefined reference to `void std::vector<char, std::allocator<char> >::_M_range_insert<__gnu_cxx::__normal_iterator<char const*, std::vector<char, std::allocator<char> > > >(__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char const*, std::vector<char, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char const*, std::vector<char, std::allocator<char> > >, std::forward_iterator_tag)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ByteVector>::end() const'
/usr/lib/libtag.so: undefined reference to `TagLib::ByteVector TagLib::fromNumber<unsigned int>(unsigned int, bool)'
/usr/lib/libtag.so: undefined reference to `TagLib::Map<TagLib::String, int>::Map(TagLib::Map<TagLib::String, int> const&)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<int>::front() const'
/usr/lib/libtag.so: undefined reference to `TagLib::List<int>::back() const'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::Ogg::Page*>::setAutoDelete(bool)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<int>::~List()'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ID3v2::Frame*>::~List()'
/usr/lib/libtag.so: undefined reference to `std::vector<char, std::allocator<char> >::reserve(unsigned int)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<int>::sortedInsert(intconst&, bool)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<int>::front()'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ID3v2::Frame*>::List()'
/usr/lib/libtag.so: undefined reference to `TagLib::List<int>::operator=(TagLib::List<int> const&)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::String>::erase(std::_List_iterator<TagLib::String, TagLib::String&, TagLib::String*>)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ByteVector>::isEmpty() const'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::Ogg::Page*>::size() const'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::String>::begin() const'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::Ogg::Page*>::append(TagLib::Ogg::Page* const&)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::Ogg::Page*>::begin()'
/usr/lib/libtag.so: undefined reference to `TagLib::Map<TagLib::ByteVector, TagLib::List<TagLib::ID3v2::Frame*> >::operator[](TagLib::ByteVector const&)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::String>::~List()'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::String>::end()const'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::String>::operator=(TagLib::List<TagLib::String> const&)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<int>::begin() const'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::String>::append(TagLib::String const&)'
/usr/lib/libtag.so: undefined reference to `unsigned long long TagLib::toNumber<unsigned long long>(std::vector<char, std::allocator<char> > const&, bool)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ByteVector>::operator=(TagLib::List<TagLib::ByteVector> const&)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ID3v2::Frame*>::erase(std::_List_iterator<TagLib::ID3v2::Frame*, TagLib::ID3v2::Frame*&, TagLib::ID3v2::Frame**>)'
/usr/lib/libtag.so: undefined reference to `TagLib::Map<int, TagLib::ByteVector>::insert(int const&, TagLib::ByteVector const&)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::Ogg::Page*>::~List()'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::String>::size() const'
/usr/lib/libtag.so: undefined reference to `TagLib::Map<TagLib::String, TagLib::StringList>::~Map()'
/usr/lib/libtag.so: undefined reference to `std::vector<TagLib::List<int>, std::allocator<TagLib::List<int> > >::_M_insert_aux(__gnu_cxx::__normal_iterator<TagLib::List<int>*, std::vector<TagLib::List<int>, std::allocator<TagLib::List<int>> > >, TagLib::List<int> const&)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::String>::clear()'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ByteVector>::List()'
/usr/lib/libtag.so: undefined reference to `TagLib::Map<TagLib::ByteVector, TagLib::List<TagLib::ID3v2::Frame*> >::~Map()'
/usr/lib/libtag.so: undefined reference to `TagLib::Map<TagLib::ByteVector, TagLib::List<TagLib::ID3v2::Frame*> >::Map()'
/usr/lib/libtag.so: undefined reference to `TagLib::List<int>::clear()'
/usr/lib/libtag.so: undefined reference to `std::vector<char, std::allocator<char> >::_M_insert_aux(__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > >, char const&)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<int>::isEmpty() const'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::Ogg::Page*>::isEmpty() const'
/usr/lib/libtag.so: undefined reference to `TagLib::List<int>::end() const'
/usr/lib/libtag.so: undefined reference to `int TagLib::vectorFind<TagLib::ByteVector>(TagLib::ByteVector const&, TagLib::ByteVector const&, unsigned int, int)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ByteVector>::back()'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ID3v2::Frame*>::front()'
/usr/lib/libtag.so: undefined reference to `TagLib::Map<TagLib::String, TagLib::StringList>::begin()'
/usr/lib/libtag.so: undefined reference to `TagLib::List<int>::append(int const&)'
/usr/lib/libtag.so: undefined reference to `std::vector<char, std::allocator<char> >::_M_fill_insert(__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > >, unsigned int, char const&)'
/usr/lib/libtag.so: undefined reference to `TagLib::Map<TagLib::String, TagLib::StringList>::end()'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ID3v2::Frame*>::end()'
/usr/lib/libtag.so: undefined reference to `TagLib::Map<TagLib::String, int>::operator[](TagLib::String const&)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::String>::front()'
/usr/lib/libtag.so: undefined reference to `typeinfo for TagLib::List<TagLib::ByteVector>'
/usr/lib/libtag.so: undefined reference to `TagLib::Map<TagLib::String, int>::Map()'
/usr/lib/libtag.so: undefined reference to `TagLib::Map<int, TagLib::ByteVector>::contains(int const&) const'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ByteVector>::end()'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ID3v2::Frame*>::List(TagLib::List<TagLib::ID3v2::Frame*> const&)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ID3v2::Frame*>::isEmpty() const'
/usr/lib/libtag.so: undefined reference to `std::vector<char, std::allocator<char> >::erase(__gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > >)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::Ogg::Page*>::end()'
/usr/lib/libtag.so: undefined reference to `TagLib::Map<TagLib::String, int>::~Map()'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ByteVector>::front()'
/usr/lib/libtag.so: undefined reference to `TagLib::List<int>::size() const'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ByteVector>::List(TagLib::List<TagLib::ByteVector> const&)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::String>::List(TagLib::List<TagLib::String> const&)'
/usr/lib/libtag.so: undefined reference to `unsigned short TagLib::toNumber<unsigned short>(std::vector<char, std::allocator<char> > const&, bool)'
/usr/lib/libtag.so: undefined reference to `TagLib::Map<TagLib::String, int>::insert(TagLib::String const&, int const&)'
/usr/lib/libtag.so: undefined reference to `TagLib::Map<int, TagLib::ByteVector>::Map()'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ByteVector>::append(TagLib::ByteVector const&)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ByteVector>::begin() const'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ID3v2::Frame*>::find(TagLib::ID3v2::Frame* const&)'
/usr/lib/libtag.so: undefined reference to `TagLib::List<int>::back()'
/usr/lib/libtag.so: undefined reference to `TagLib::List<TagLib::ByteVector>::size() const'
/usr/lib/libtag.so: undefined reference to `TagLib::Map<int, TagLib::ByteVector>::~Map()'
/usr/lib/libtag.so: undefined reference to `TagLib::Map<TagLib::String, TagLib::StringList>::Map()'
/usr/lib/libtag.so: undefined reference to `TagLib::List<int>::contains(int const&) const'
/usr/lib/libtag.so: undefined reference to `int TagLib::vectorFind<TagLib::ByteVectorMirror>(TagLib::ByteVectorMirror const&, TagLib::ByteVectorMirror const&, unsigned int, int)'
/usr/lib/libtag.so: undefined reference to `TagLib::Map<int, TagLib::ByteVector>::clear()'
/usr/lib/libtag.so: undefined reference to `unsigned int TagLib::toNumber<unsigned int>(std::vector<char, std::allocator<char> > const&, bool)'
/usr/lib/libtag.so: undefined reference to `TagLib::Map<TagLib::String, TagLib::StringList>::operator[](TagLib::String const&)'
collect2: ld returned 1 exit status
make[3]: *** [juk] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.0/work/kdemultimedia-3.3.0/juk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.0/work/kdemultimedia-3.3.0/juk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.0/work/kdemultimedia-3.3.0'
make: *** [all] Error 2

!!! ERROR: kde-base/kdemultimedia-3.3.0 failed.
!!! Function kde_src_compile, Line 142, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.

I try with FEATURES="-ccache" in /etc/make.conf ... same error
Please, can somebody help me?

P.S: sorry about my english

Reproducible: Always
Steps to Reproduce:
1.emerge kdemultimedia
2.
3.




Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 
2.6.9-gentoo-r1 i686) 
================================================================= 
System uname: 2.6.9-gentoo-r1 i686 AMD Athlon(tm) XP 1700+ 
Gentoo Base System version 1.4.16 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.14.90.0.8-r1 
Headers:  sys-kernel/linux-headers-2.4.21-r1 
Libtools: sys-devel/libtool-1.5.2-r5 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe  
-fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop  
-frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args  -ffast-math 
-fprefetch-loop-arrays -fPIC" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/usr/X11R6/lib/X11/xkb /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe  
-fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop  
-frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args  -ffast-math 
-fprefetch-loop-arrays -fPIC" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache distlocks sandbox" 
GENTOO_MIRRORS="http://gentoo.osuosl.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dfx 3dnow X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd 
encode f77 foomaticdb gdbm gif gpm gtk2 imlib jpeg kde libg++ libwww mad mikmod 
mmx motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python 
qt readline sdl slang spell ssl svga tcpd truetype usb x86 xml2 xmms xprint xv 
zlib video_cards_3dfx linguas_us linguas_es"
Comment 1 Simone Gotti (RETIRED) gentoo-dev 2004-10-25 13:51:44 UTC
perhaps is similar to bug #44861

Maybe you can try reemerging taglib, if it doesn't work you can try with taglib-1.3 that is markes as testing.
Comment 2 Simone Gotti (RETIRED) gentoo-dev 2004-10-25 16:14:34 UTC

*** This bug has been marked as a duplicate of 68897 ***