Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 139928

Summary: amule failed to build (undefined references to wx*)
Product: Gentoo Linux Reporter: Radoslaw Kojdecki <radek>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
URL: http://radek.media-com.com.pl/amule-build.txt
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Typescript output of amule build

Description Radoslaw Kojdecki 2006-07-10 14:56:12 UTC
When I tried to build amule it stops on :

i386-pc-linux-gnu-g++  -Os -mcpu=i686  -fvisibility-inlines-hidden -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -O2   -lpthread -o amulecmd  amulecmd-TextClient.o amulecmd-ExternalConnector.o amulecmd-OtherFunctions.o -Llibs/common -Llibs/ec -lmulecommon -lec_noevt -pthread   -L/usr/X11R6/lib  -lwx_baseu_net-2.6 -lwx_baseu-2.6  -lreadline -lz  -lbfd -liberty
amulecmd-TextClient.o:(.gnu.linkonce.r._ZTV12CamulecmdApp+0x14): undefined reference to `wxObject::ReservedObjectFunc1()'
amulecmd-TextClient.o:(.gnu.linkonce.r._ZTV12CamulecmdApp+0x18): undefined reference to `wxObject::ReservedObjectFunc2()'
[...SNIP... (full output on http://radek.media-com.com.pl/amule-build.txt) ]
collect2: ld returned 1 exit status
make[3]: *** [amulecmd] Error 1
make[3]: Leaving directory `/var/tmp/portage/amule-2.1.2/work/aMule-2.1.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/amule-2.1.2/work/aMule-2.1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/amule-2.1.2/work/aMule-2.1.2'
make: *** [all] Error 2

!!! ERROR: net-p2p/amule-2.1.2 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  amule-2.1.2.ebuild, line 104:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.


laptop ~ # emerge --info
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.5, uclibc-0.9.26-r7,uclibc-0.9.27-r0,glibc-2.3.5-r1, 2.6.13-suspend2-r4 i686)
=================================================================
System uname: 2.6.13-suspend2-r4 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.12.0_pre8
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.11
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/gcc-config: 1.3.13
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-Os -mcpu=i686 -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-Os -mcpu=i686 -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="pl"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm arts avi berkdb bitmap-fonts cdr cli cross crypt cups dba directfb divx4linux dlloader doc dri dv dvd dvdr eds emboss encode esd ethereal evo fastcgi fbcon foomaticdb fortran ftp gd gdbm gif gpm gps gstreamer gtk gtk2 ieee1394 imap imlib isdnlog jabber java jikes jpeg kde kdeenablefinal ldap libg++ libwww mad maildir memlimit mikmod mmx mmxext motif mozilla mp3 mpeg mysql ncurses nls nptl odbc ogg opengl openh323 oss pam pcmcia pcre pda pdflib perl php png pnp posix postgres pppd python qt qt3 qt4 quicktime readline real reflection rtc samba sasl sdl session snmp sockets spell spl sse ssl svga tcpd threads truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs wxwindows xml xmlreader xmlwriter xmms xorg xosd xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_pl userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

laptop ~ # emerge -p -v amule wxGTK

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] net-p2p/amule-2.1.2 [2.0.3-r4] USE="gtk nls unicode* -amuled -debug -remote -stats" 0 kB
[ebuild   R   ] x11-libs/wxGTK-2.6.2-r1  USE="X doc odbc opengl sdl unicode -debug -gnome -joystick" 0 kB

Total size of downloads: 0 kB
Comment 1 Radoslaw Kojdecki 2006-07-10 14:57:30 UTC
Created attachment 91402 [details]
Typescript output of amule build
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-10 15:04:00 UTC
-fvisibility-inlines-hidden - remove it.

On a side note, your system appears to be pretty messed up:

> uclibc-0.9.26-r7,uclibc-0.9.27-r0,glibc-2.3.5-r1
Comment 3 Radoslaw Kojdecki 2006-07-10 23:34:41 UTC
(In reply to comment #2)
> -fvisibility-inlines-hidden - remove it.

OK, it works, but I had to recompile wxGTK without this option. 

> 
> On a side note, your system appears to be pretty messed up:
> 
> > uclibc-0.9.26-r7,uclibc-0.9.27-r0,glibc-2.3.5-r1
> 

I develop software for embedded devices :)