Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106216 - xmule-1.10.0 failes to compile
Summary: xmule-1.10.0 failes to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-16 12:50 UTC by Nicolas Schlumberger
Modified: 2005-09-26 07:51 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 Nicolas Schlumberger 2005-09-16 12:50:11 UTC
while linking obj/BaseClient.o
problems seems to come from crypto++

Reproducible: Always
Steps to Reproduce:
1. upgrade xmule to 1.10.0
2.
3.

Actual Results:  
<--- snip --->
wxTreeMultiCtrl.cpp
xmule.cpp
xmuleDlg.cpp
Linking xmule
obj/BaseClient.o: In function `CryptoPP::AlignedAllocator<unsigned int>::pointer
CryptoPP::StandardReallocate<unsigned int, CryptoPP::AlignedAllocator<unsigned
int> >(CryptoPP::AlignedAllocator<unsigned int>&, unsigned int*,
CryptoPP::AlignedAllocator<unsigned int>::size_type,
CryptoPP::AlignedAllocator<unsigned int>::size_type, bool)':
/usr/include/cryptopp/secblock.h:71: undefined reference to
`CryptoPP::AlignedAllocator<unsigned int>::deallocate(void*, unsigned int)'
/usr/include/cryptopp/secblock.h:72: undefined reference to
`CryptoPP::AlignedAllocator<unsigned int>::allocate(unsigned int, void const*)'
/usr/include/cryptopp/secblock.h:63: undefined reference to
`CryptoPP::AlignedAllocator<unsigned int>::allocate(unsigned int, void const*)'
/usr/include/cryptopp/secblock.h:65: undefined reference to
`CryptoPP::AlignedAllocator<unsigned int>::deallocate(void*, unsigned int)'
obj/ClientCredits.o: In function `~Integer':
/usr/include/cryptopp/secblock.h:221: undefined reference to
`CryptoPP::AlignedAllocator<unsigned int>::deallocate(void*, unsigned int)'
collect2: ld returned 1 exit status
make[1]: *** [../xmule] Error 1
make: *** [all] Error 2

!!! ERROR: net-p2p/xmule-1.10.0 failed.
!!! Function src_compile, Line 49, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
clean build

I am running a KDE environment, gtk/gnome are deactivated on purpose, gtk2 is
still in. I had some running errors before, when I tried to upgrade to 1.9.x, or
1.10... As it came finally stable gave it a try. Ended up with the same errors
over and over

Kor ~ # emerge info
Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-nps5 i686)
=================================================================
System uname: 2.6.13-nps5 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.12.0_pre8
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.13
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer -ftracer
-falign-functions=64"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c
/usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer -ftracer
-falign-functions=64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict userpriv
usersandbox"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/mirror/gentoo/ 
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acl acpi alsa arts avi berkdb bitmap-fonts cdr crypt cups
curl db dbus dga directfb divx4linux dvd eds emboss encode fam fame ffmpeg flac
foomaticdb fortran gdbm ggi gif gtk2 hal imagemagick imlib inifile ipv6 jack
java jpeg kde kdeenablefinal kerberos ldap libg++ libwww mad matroska mikmod
mime mmx motif mozsvg mp3 mpeg mysql ncurses nls nptl odbc offensive ogg
oggvorbis opengl pam pcmcia pdflib perl pic png pnp python qt quicktime readline
samba sdl snmp spell sse sse2 ssl svg svga tcpd tetex threads tiff truetype
truetype-fonts type1-fonts unicode usb vorbis win32codecs xine xml xml2 xmms xv
xvid zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

kernel is a ck derivative; I don't expect that to be the error

I won't upload a full compile log, as it is clean...
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-09-16 14:03:43 UTC
Did you upgrade to gcc-3.4 without rebuilding all c++ stuff, by chance?
Comment 2 Nicolas Schlumberger 2005-09-17 00:27:01 UTC
I've been running gcc-3.4 for some time now, and had never any problems. I
cannot remember to do compile any c++ stuff in particular since my upgrade to
3.4.4 (from 3.4.3-xxxxxxxx).
I recompile crypto++, and then try to emerge xmule. Hope it works

BTW. what kind of c++ stuff do I need toe recompile, if there is any??

Cheers
Nicolas
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-09-17 13:09:12 UTC
gcc 3.4 has a different c++ ABI than previous versions, to update run
`revdep-rebuild --soname libstdc++.so.6`
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2005-09-17 13:10:24 UTC
eh, sorry: `revdep-rebuild --soname libstdc++.so.5` of course
Comment 5 Marcin Kryczek (RETIRED) gentoo-dev 2005-09-25 15:58:48 UTC
lack of feedback from reporter. closing
Comment 6 Nicolas Schlumberger 2005-09-26 06:14:15 UTC
Oups... T thought I metioned it, it worked... 
I forgot to rebuild crypto++, and that cause the problem 
 
Thank's a lot 
Nicolas 
Comment 7 Marcin Kryczek (RETIRED) gentoo-dev 2005-09-26 07:50:39 UTC
reopening for a while...
Comment 8 Marcin Kryczek (RETIRED) gentoo-dev 2005-09-26 07:51:33 UTC
and closing as FIXED;> will look better in future if someone'll have similar 
problem