Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91948 - id3lib does not build on uclibc
Summary: id3lib does not build on uclibc
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-08 16:30 UTC by René Rhéaume (a.k.a. repzilon, rener)
Modified: 2005-05-10 18:12 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 René Rhéaume (a.k.a. repzilon, rener) 2005-05-08 16:30:40 UTC
I cannot build id3lib on a uclibc-based system. During the building phase, I got these error messages:

../src/.libs/libid3.so: undefined reference to `std::char_traits<wchar_t>::compare(wchar_t const*, wchar_t const*, unsigned)'
../src/.libs/libid3.so: undefined reference to `std::char_traits<wchar_t>::assign(wchar_t*, unsigned, wchar_t)'
../src/.libs/libid3.so: undefined reference to `std::char_traits<wchar_t>::copy(wchar_t*, wchar_t const*, unsigned)'
../src/.libs/libid3.so: undefined reference to `std::char_traits<wchar_t>::move(wchar_t*, wchar_t const*, unsigned)'
collect2: ld returned 1 exit status
gmake[2]: *** [id3cp] Error 1
gmake[2]: *** Waiting for unfinished jobs....
../src/.libs/libid3.so: undefined reference to `std::char_traits<wchar_t>::compare(wchar_t const*, wchar_t const*, unsigned)'
../src/.libs/libid3.so: undefined reference to `std::char_traits<wchar_t>::assign(wchar_t*, unsigned, wchar_t)'
../src/.libs/libid3.so: undefined reference to `std::char_traits<wchar_t>::copy(wchar_t*, wchar_t const*, unsigned)'
../src/.libs/libid3.so: undefined reference to `std::char_traits<wchar_t>::move(wchar_t*, wchar_t const*, unsigned)'
collect2: ld returned 1 exit status
gmake[2]: *** [id3tag] Error 1
../src/.libs/libid3.so: undefined reference to `std::char_traits<wchar_t>::compare(wchar_t const*, wchar_t const*, unsigned)'
../src/.libs/libid3.so: undefined reference to `std::char_traits<wchar_t>::assign(wchar_t*, unsigned, wchar_t)'
../src/.libs/libid3.so: undefined reference to `std::char_traits<wchar_t>::copy(wchar_t*, wchar_t const*, unsigned)'
../src/.libs/libid3.so: undefined reference to `std::char_traits<wchar_t>::move(wchar_t*, wchar_t const*, unsigned)'
collect2: ld returned 1 exit status
gmake[2]: *** [id3convert] Error 1
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all] Error 2
../src/.libs/libid3.so: undefined reference to `std::char_traits<wchar_t>::compare(wchar_t const*, wchar_t const*, unsigned)'
../src/.libs/libid3.so: undefined reference to `std::char_traits<wchar_t>::assign(wchar_t*, unsigned, wchar_t)'
../src/.libs/libid3.so: undefined reference to `std::char_traits<wchar_t>::copy(wchar_t*, wchar_t const*, unsigned)'
../src/.libs/libid3.so: undefined reference to `std::char_traits<wchar_t>::move(wchar_t*, wchar_t const*, unsigned)'
collect2: ld returned 1 exit status

Reproducible: Didn't try
Steps to Reproduce:
1. emerge id3lib

Actual Results:  
See above

Expected Results:  
id3lib merged onto the live filesystem
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-05-09 01:55:18 UTC
Reopen once you have posted emerge --info output as you were told in instructions when filing the bug. 
Comment 2 René Rhéaume (a.k.a. repzilon, rener) 2005-05-09 03:24:00 UTC
Gentoo Base System version 1.4.16
Portage 2.0.51.19 (uclibc/x86/hardened, gcc-3.3.5, uclibc-0.9.27-r0, 2.4.28-gentoo-r8 i686)
=================================================================
System uname: 2.4.28-gentoo-r8 i686 AMD Athlon(tm) XP 2500+
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 17 2005, 21:41:51)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.7.9-r1, 1.5, 1.9.4, 1.6.3, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-pipe -O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-uclibc"
CONFIG_PROTECT="/etc /etc/conf.d/kudzu /etc/inittab /etc/profile /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache digest distlocks noclean nodoc noinfo sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo http://adelie.polymtl.ca/ http://gentoo.seren.com/gentoo ftp://gentoo.mirrors.tds.net/gentoo"
LANG="fr_CA"
LC_ALL="fr_CA"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
MAKEOPTS="-j2 -s"
PKGDIR="/usr/local/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 16bit 3dfx 3dnow 3dnowex a52 aac apm asm async bidi bitmap-fonts blender-game bmp bootsplash bzip2 cap cdparanoia cdr chroot cjk cracklib crypt dga dhcp dlloader droproot dv dvd dvdr dvdread encode exif expat faad flac ftp gatos gd-external gif glep gpm gtk gtk2 hal hardened hardenedphp immqt-bc innodb ipv6 jack jit jpeg justify kdeenablefinal kdexdeltas lcms libclamav lm_sensors logitech-mouse lzw mad md5sum mdb minimal mmx mmx2 mozdevelop mozp3p mozsvg mp3 mpeg4 msn multicall native ncurses noplugin ogg oggvorbis openal opengl oscar oss pcre pdflib pic png posix readline sharedmem speex spell sql sqlite sse ssl subversion svg svgz sysvipc tcpmd5 theora threads truetype truetype-fonts uclibc unicode usb userlocales utf8 v4l vanilla vim-pager voodoo3 vorbis xine xml2 xmms xpm xrandr xscreensaver xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LINGUAS

Comment 3 SpanKY gentoo-dev 2005-05-09 08:17:23 UTC
your gcc is outdated, upgrade it
Comment 4 René Rhéaume (a.k.a. repzilon, rener) 2005-05-10 18:12:20 UTC
Grr, I cannot update GCC as I hit bug #91798