Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122006 - emerge centericq fails
Summary: emerge centericq fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-07 10:03 UTC by Volker
Modified: 2006-02-07 10:44 UTC (History)
1 user (show)

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 Volker 2006-02-07 10:03:23 UTC
Overview Description:
---------------------

trying to emerge -ua centericq which fails with linker errors



Steps to reproduce:
-------------------

emerge -ua centericq



Platform:
---------

Linux ares 2.6.14-gentoo-r5 #2 PREEMPT Tue Dec 20 17:51:36 CET 2005 i686
Intel(R) Pentium(R) M processor 1500MHz GenuineIntel GNU/Linux



emerge info:
------------

# emerge --info
Portage 2.1_pre4-r1 (default-linux/x86/2005.0, gcc-4.0.2, glibc-2.3.6-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.12.0_pre15
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-lstdc++ -march=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-lstdc++ -march=i686 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LDFLAGS="-Wl,-z,now"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apm arts avi berkdb bitmap-fonts crypt cups div4linux eds emboss encode foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad makecheck mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcmcia pdflib perl png python qt quicktime readline sdl socks5 spell ssl tcpd truetype truetype-fonts type1-fonts vorbis xine xml2 xmms xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY



Top most errormessage :
-----------------------

exceptions.cpp:(.gnu.linkonce.t._ZN7ICQ200014ParseExceptionD0Ev[ICQ2000::ParseException::~ParseException()]+0x32): undefined reference to `operator delete(void*)'
exceptions.cpp:(.gnu.linkonce.t._ZN7ICQ200014ParseExceptionD0Ev[ICQ2000::ParseException::~ParseException()]+0x53): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
exceptions.cpp:(.gnu.linkonce.t._ZN7ICQ200014ParseExceptionD0Ev[ICQ2000::ParseException::~ParseException()]+0x66): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
exceptions.cpp:(.gnu.linkonce.t._ZN7ICQ200014ParseExceptionD0Ev[ICQ2000::ParseException::~ParseException()]+0x74): undefined reference to `std::exception::~exception()'
exceptions.cpp:(.gnu.linkonce.t._ZN7ICQ200014ParseExceptionD0Ev[ICQ2000::ParseException::~ParseException()]+0x87): undefined reference to `__cxa_call_unexpected'
../libicq2000-0.1/liblibicq2000.a(exceptions.o):(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
make[3]: *** [centericq] Error 1
make[3]: Leaving directory `/var/tmp/portage/centericq-4.21.0-r2/work/centericq-4.21.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/centericq-4.21.0-r2/work/centericq-4.21.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/centericq-4.21.0-r2/work/centericq-4.21.0'
make: *** [all-recursive-am] Error 2

!!! ERROR: net-im/centericq-4.21.0-r2 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-07 10:06:24 UTC
What the heck is that? CFLAGS="-lstdc++"

Remove it.
Comment 2 Volker 2006-02-07 10:40:14 UTC
(In reply to comment #1)
> What the heck is that? CFLAGS="-lstdc++"
> 
> Remove it.
> 

have removed CFLAGS="-lstdc++" from /etc/make.conf but it did not change the result of emerge nor the error message
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-02-07 10:44:04 UTC
Yeah, I'm not surprised. Don't file any bugs until you've reinstalled from scratch, we can't debug such screwed system.