Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69708 - digikam 0.7 beta 1 won't emerge: Undefined References when linking
Summary: digikam 0.7 beta 1 won't emerge: Undefined References when linking
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-01 05:22 UTC by Dominik Strehlke
Modified: 2006-10-22 16:39 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 Dominik Strehlke 2004-11-01 05:22:22 UTC
Here's the compiler's error output:

/bin/sh ../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE    -o kio_digikamio.la -rpath /usr/lib/kde3 -module -avoid-version -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib  -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.3/lib -R /usr/qt/3/lib -R /usr/X11R6/lib   digikamio.lo -lkio ../../digikam/sqlite/libsqlite.la
.libs/digikamtags.o(.text+0xc1): In function `kio_digikamtagsProtocol::kio_digikamtagsProtocol(QCString const&, QCString const&)':
: undefined reference to `std::__default_alloc_template<true, 0>::_S_force_new'
.libs/digikamtags.o(.text+0xd1): In function `kio_digikamtagsProtocol::kio_digikamtagsProtocol(QCString const&, QCString const&)':
: undefined reference to `std::__default_alloc_template<true, 0>::_S_force_new'
.libs/digikamtags.o(.text+0x420): In function `kio_digikamtagsProtocol::kio_digikamtagsProtocol(QCString const&, QCString const&)':
: undefined reference to `std::__default_alloc_template<true, 0>::_S_free_list'
.libs/digikamtags.o(.text+0x44a): In function `kio_digikamtagsProtocol::kio_digikamtagsProtocol(QCString const&, QCString const&)':
: undefined reference to `std::__default_alloc_template<true, 0>::_S_node_allocator_lock'
.libs/digikamtags.o(.text+0x46a): In function `kio_digikamtagsProtocol::kio_digikamtagsProtocol(QCString const&, QCString const&)':
: undefined reference to `std::__default_alloc_template<true, 0>::_S_refill(unsigned int)'
.libs/digikamtags.o(.text+0x474): In function `kio_digikamtagsProtocol::kio_digikamtagsProtocol(QCString const&, QCString const&)':
: undefined reference to `std::__default_alloc_template<true, 0>::_S_node_allocator_lock'
.libs/digikamtags.o(.text+0x582): In function `kio_digikamtagsProtocol::kio_digikamtagsProtocol(QCString const&, QCString const&)':
: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)'
.libs/digikamtags.o(.text+0x908): In function `kio_digikamtagsProtocol::~kio_digikamtagsProtocol()':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
.libs/digikamtags.o(.text+0x9f8): In function `kio_digikamtagsProtocol::~kio_digikamtagsProtocol()':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
.libs/digikamtags.o(.text+0xae8): In function `kio_digikamtagsProtocol::~kio_digikamtagsProtocol()':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
.libs/digikamtags.o(.gnu.linkonce.t._ZNSt10_List_baseI7QStringSaIS0_EE7__clearEv+0x6d): In function `std::_List_base<QString, std::allocator<QString> >::__clear()':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
.libs/digikamtags.o(.gnu.linkonce.t._ZNSt4listI7QStringSaIS0_EE4sortEv+0x41): In function `std::list<QString, std::allocator<QString> >::sort()':
: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)'
.libs/digikamtags.o(.gnu.linkonce.t._ZNSt4listI7QStringSaIS0_EE4sortEv+0x69): In function `std::list<QString, std::allocator<QString> >::sort()':
: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)'
.libs/digikamtags.o(.gnu.linkonce.t._ZNSt4listI7QStringSaIS0_EE4sortEv+0x252): In function `std::list<QString, std::allocator<QString> >::sort()':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
.libs/digikamtags.o(.gnu.linkonce.t._ZNSt4listI7QStringSaIS0_EE4sortEv+0x276): In function `std::list<QString, std::allocator<QString> >::sort()':
: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)'
.libs/digikamtags.o(.gnu.linkonce.t._ZNSt4listI7QStringSaIS0_EE6insertESt14_List_iteratorIS0_RS0_PS0_ERKS0_+0x25): In function `std::list<QString, std::allocator<QString> >::insert(std::_List_iterator<QString, QString&, QString*>, QString const&)':
: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)'
collect2: ld returned 1 exit status
make[3]: *** [kio_digikamtags.la] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/digikam-0.7_beta1/work/digikam-0.7-beta1/digikam/kioslave'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/digikam-0.7_beta1/work/digikam-0.7-beta1/digikam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/digikam-0.7_beta1/work/digikam-0.7-beta1'
make: *** [all] Error 2

!!! ERROR: media-gfx/digikam-0.7_beta1 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.

Reproducible: Always
Steps to Reproduce:
1. Trying to update from digkam 0.6.2

Actual Results:  
Lowered CFLAGS to -O2, tried gcc 3.4.2 and 3.3.4

Expected Results:  
should have emerged normally ;)

emerge info output:

Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20041021-r0,
2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.6.4
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://mirror.pudas.net/gentoo
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://mir.zyrianes.net/gentoo/ http://mirror.gentoo.ru/pub/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm arts avi berkdb bitmap-fonts cdparanoia cdr crypt
cups dvd encode f77 foomatic foomaticdb gd gdbm gif gimpprint gphoto2 gpm imlib
java jpeg kde libcaca libg++ libwww mad mikmod mmx mozilla mpeg mysql ncurses
nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba
sdl slang spell sse sse2 ssl svga tcpd tetex truetype x86 xine xml2 xmms xsl xv
xvid zlib"
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-01-21 16:46:37 UTC
This was a binutils problem and should be fixed with the latest stable version. Please reopen, if this is not the case.
Comment 2 Dominik Strehlke 2006-10-22 16:39:02 UTC
You're right, it was fixed and did not reappear. Closing.