Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18532 - kdemultimedia (undefined reference to `std::__default_alloc_template)
Summary: kdemultimedia (undefined reference to `std::__default_alloc_template)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-31 08:18 UTC by konstantinos Dolkas
Modified: 2004-01-11 17:40 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 konstantinos Dolkas 2003-03-31 08:18:29 UTC
The bug I am currently reporting is like bug no 13749  
  
  
When trying to compile kdemultimedia-3.1.1 I get the following error. I must say  
that kdemultimedia-3.1 emerges with no problems.  
I'm also posting emerge info  
  
/bin/sh ../../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor  
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith  
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500  
-D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2  
-march=pentium3 -O2 -pipe -fno-exceptions -fno-check-new  
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST    -o libartsgui_idl.la.closure  
libartsgui_idl_la_closure.lo -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib   
-L/usr/kde/3.1/lib -no-undefined -module artsgui.lo -lmcop -ldl -L/usr/lib -lesd  
-laudiofile -lm -lasound  
.libs/artsgui.o(.text+0x4ef): In function  
`Arts::Widget_base::_fromString(std::basic_string<char, std::char_traits<char>,  
std::allocator<char> > const&)':  
: undefined reference to `std::__default_alloc_template<(bool)1,  
(int)0>::_S_force_new'  
.libs/artsgui.o(.text+0x62f): In function  
`Arts::Widget_base::_fromString(std::basic_string<char, std::char_traits<char>,  
std::allocator<char> > const&)':  
: undefined reference to `std::__default_alloc_template<(bool)1,  
(int)0>::_S_force_new'  
.libs/artsgui.o(.gnu.linkonce.t._ZNSt6vectorIN4Arts10GraphPointESaIS1_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS1_S3_EERKS1_+0x101):  
In function `std::vector<Arts::GraphPoint, std::allocator<Arts::GraphPoint>  
>::_M_insert_aux(__gnu_cxx::__normal_iterator<Arts::GraphPoint*,  
std::vector<Arts::GraphPoint, std::allocator<Arts::GraphPoint> > >,  
Arts::GraphPoint const&)':  
: undefined reference to `std::__default_alloc_template<(bool)1,  
(int)0>::_S_force_new'  
.libs/artsgui.o(.gnu.linkonce.t._ZNSt6vectorIN4Arts10GraphPointESaIS1_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS1_S3_EERKS1_+0x123):  
In function `std::vector<Arts::GraphPoint, std::allocator<Arts::GraphPoint>  
>::_M_insert_aux(__gnu_cxx::__normal_iterator<Arts::GraphPoint*,  
std::vector<Arts::GraphPoint, std::allocator<Arts::GraphPoint> > >,  
Arts::GraphPoint const&)':  
: undefined reference to `std::__default_alloc_template<(bool)1,  
(int)0>::_S_force_new'  
collect2: ld returned 1 exit status  
make[4]: *** [libartsgui_idl.la.closure] Error 1  
make[4]: Leaving directory  
`/var/tmp/portage/kdemultimedia-3.1.1/work/kdemultimedia-3.1.1/arts/gui/common'  
make[3]: *** [all-recursive] Error 1  
make[3]: Leaving directory  
`/var/tmp/portage/kdemultimedia-3.1.1/work/kdemultimedia-3.1.1/arts/gui'  
make[2]: *** [all-recursive] Error 1  
make[2]: Leaving directory  
`/var/tmp/portage/kdemultimedia-3.1.1/work/kdemultimedia-3.1.1/arts'  
make[1]: *** [all-recursive] Error 1  
make[1]: Leaving directory  
`/var/tmp/portage/kdemultimedia-3.1.1/work/kdemultimedia-3.1.1'  
make: *** [all] Error 2  
  
!!! ERROR: kde-base/kdemultimedia-3.1.1 failed.  
!!! Function kde_src_compile, Line 116, Exitcode 2  
!!! died running emake, kde_src_compile:make  
  
  
emerge info   
  
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)  
=================================================================  
System uname: 2.4.19-gentoo-r10 i686 Intel(R) Pentium(R) III Mobile CPU       
1000MHz  
GENTOO_MIRRORS="ftp://ftp.ntua.gr/pub/linux/gentoo-portage/  
http://gentoo.oregonstate.edu/  
http://www.ibiblio.org/pub/Linux/distributions/gentoo"  
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config  
/usr/X11R6/lib/X11/xkb /opt/jakarta/tomcat/conf /usr/kde/3.1/share/config  
/usr/kde/3/share/config /usr/share/config"  
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"  
PORTDIR="/usr/portage"  
DISTDIR="/usr/portage/distfiles"  
PKGDIR="/usr/portage/packages"  
PORTAGE_TMPDIR="/var/tmp"  
PORTDIR_OVERLAY=""  
USE="x86 oss 3dnow apm avi crypt cups encode gif gpm jpeg libg++ mikmod mmx  
mpeg ncurses nls pdflib png quicktime truetype xml2 xmms xv zlib gdbm berkdb  
slang readline arts svga tcltk mysql sdl tcpd pam libwww ssl perl python esd imlib  
oggvorbis qt motif opengl mozilla ldap cdr X pnp samba spell tetex trusted usb  
java flash dvd gtk pcmcia kde -gnome -alsa"  
COMPILER="gcc3"  
CHOST="i686-pc-linux-gnu"  
CFLAGS="-march=pentium3 -O3 -pipe"  
CXXFLAGS="-march=pentium3 -O3 -pipe"  
ACCEPT_KEYWORDS="x86"  
MAKEOPTS="-j2"  
AUTOCLEAN="yes"  
SYNC="rsync://rsync.gentoo.org/gentoo-portage"  
FEATURES="sandbox ccache"
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2003-05-29 22:02:37 UTC
any luck with kdemultimedia-3.1.2 ? 
Comment 2 konstantinos Dolkas 2003-06-02 03:43:36 UTC
 kdemultimedia-3.1.2 worked just fine ...(Actually it had nothing to do with kde...) 
 
The problem was that I changed the USE some time before starting to emerge  
kdemultimedia-3.1.1 and included alsa but I never installed alsa-lib... 
 
Until that time I hadn't emerged any other packages that needed that lib.. 
 
I realised what I had done by accident... 
 
My question is : Shouldn't portage have realised that alsa is not there so as to try to install it 
?? 
 
Any way I guess this bug is fixed.   
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2003-06-06 10:56:29 UTC
Unfortunately portage doesn't yet support use dependencies, but people are working on it.