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

Bug 118543

Summary: net-p2p/amule - compile error with gcc 4.0.2
Product: Gentoo Linux Reporter: Lorenzo Villani <arbiter>
Component: New packagesAssignee: Gentoo net-p2p team <net-p2p>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Highest    
Version: 2005.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Lorenzo Villani 2006-01-10 09:15:02 UTC
While compiling amule i get this message:

if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..   -march=i686 -O2 -pipe -I/usr/lib/wx/include/gtk2-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA   -DwxUSE_GUI=0 -I./libs -Ilibs -DEC_REMOTE -DECSOCKET_USE_EVENTS=0 -march=i686 -O2 -pipe -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -O2  -MT amulecmd-OtherFunctions.o -MD -MP -MF ".deps/amulecmd-OtherFunctions.Tpo" -c -o amulecmd-OtherFunctions.o `test -f 'OtherFunctions.cpp' || echo './'`OtherFunctions.cpp; \
then mv -f ".deps/amulecmd-OtherFunctions.Tpo" ".deps/amulecmd-OtherFunctions.Po"; else rm -f ".deps/amulecmd-OtherFunctions.Tpo"; exit 1; fi
i686-pc-linux-gnu-g++  -march=i686 -O2 -pipe -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_base_net-2.6 -lwx_base-2.6  -lreadline -lz  -lbfd -liberty 
/usr/X11R6/lib/libwx_base-2.6.so: undefined reference to `wxLog::~wxLog()'
/usr/X11R6/lib/libwx_base-2.6.so: undefined reference to `wxFilterOutputStream::GetLength() const'
/usr/X11R6/lib/libwx_base-2.6.so: undefined reference to `wxMessageOutput::~wxMessageOutput()'
/usr/X11R6/lib/libwx_base-2.6.so: undefined reference to `wxNodeBase::DeleteData()'
/usr/X11R6/lib/libwx_base-2.6.so: undefined reference to `wxConvBrokenFileNames::~wxConvBrokenFileNames()'
/usr/X11R6/lib/libwx_base-2.6.so: undefined reference to `wxString::wxString(char const*)'
/usr/X11R6/lib/libwx_base-2.6.so: undefined reference to `wxFilterInputStream::GetLength() const'
/usr/X11R6/lib/libwx_base-2.6.so: undefined reference to `wxBufferedOutputStream::IsSeekable() const'
/usr/X11R6/lib/libwx_base-2.6.so: undefined reference to `wxMessageOutput::~wxMessageOutput()'
/usr/X11R6/lib/libwx_base_net-2.6.so: undefined reference to `wxOutputStream::LastWrite() const'
/usr/X11R6/lib/libwx_base_net-2.6.so: undefined reference to `wxObjectList::CreateNode(wxNodeBase*, wxNodeBase*, void*, wxListKey const&)'
/usr/X11R6/lib/libwx_base-2.6.so: undefined reference to `wxConvBrokenFileNames::~wxConvBrokenFileNames()'
/usr/X11R6/lib/libwx_base-2.6.so: undefined reference to `wxLog::~wxLog()'
/usr/X11R6/lib/libwx_base_net-2.6.so: undefined reference to `wxStreamBase::GetLength() const'
/usr/X11R6/lib/libwx_base_net-2.6.so: undefined reference to `wxClassInfo::IsKindOf(wxClassInfo const*) const'
/usr/X11R6/lib/libwx_base-2.6.so: undefined reference to `wxBufferedInputStream::IsSeekable() const'
/usr/X11R6/lib/libwx_base-2.6.so: undefined reference to `wxList::~wxList()'
/usr/X11R6/lib/libwx_base_net-2.6.so: undefined reference to `wxOutputStream::Close()'
/usr/X11R6/lib/libwx_base_net-2.6.so: undefined reference to `wxStreamBase::IsSeekable() const'
/usr/X11R6/lib/libwx_base_net-2.6.so: undefined reference to `wxObjectList::Find(wxListKey const&) const'
/usr/X11R6/lib/libwx_base-2.6.so: undefined reference to `wxStringListBase::Find(wxListKey const&) const'
/usr/X11R6/lib/libwx_base-2.6.so: undefined reference to `wxObject::~wxObject()'
/usr/X11R6/lib/libwx_base-2.6.so: undefined reference to `wxObject::~wxObject()'
/usr/X11R6/lib/libwx_base-2.6.so: undefined reference to `wxStringListBase::CreateNode(wxNodeBase*, wxNodeBase*, void*, wxListKey const&)'
/usr/X11R6/lib/libwx_base-2.6.so: undefined reference to `wxList::~wxList()'
/usr/X11R6/lib/libwx_base-2.6.so: undefined reference to `wxFilterInputStream::Peek()'
collect2: ld returned 1 exit status
make[3]: *** [amulecmd] Error 1
make[3]: Leaving directory `/var/tmp/portage/amule-2.1.0/work/aMule-2.1.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/amule-2.1.0/work/aMule-2.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/amule-2.1.0/work/aMule-2.1.0'
make: *** [all] Error 2

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

====== EMERGE INFO ============
Portage 2.0.54 (default-linux/x86/2005.0, gcc-4.0.2, glibc-2.3.6-r2, 2.6.15-ck1-arbiter i686)
=================================================================
System uname: 2.6.15-ck1-arbiter i686 AMD Athlon(TM) XP
Gentoo Base System version 1.12.0_pre13
dev-lang/python:     2.3.4-r1, 2.4.2
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="-march=i686 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/arbiter/coding/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apache2 apm audiofile avi bitmap-fonts bzip2 cdb cdr cgi crypt css cups curl dba dvd dvdr eds emboss esd exif expat fam fastcgi foomatic foomaticdb force-cgi-redirect gdbm gif glut gpm gtk2 hal hardened hardened-php idn imagemagick imlib ipv6 jpeg lcms libg++ libwww mad mikmod mmx mng motif mp3 mpeg mpm-prefork mysql ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl php pic png ppds python quicktime readline session spell ssl subversion symlink tcpd tiff truetype truetype-fonts type1-fonts udev usb userlocales vorbis win32codecs xine xml2 xv zlib linguas_it userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS==============
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-10 09:21:29 UTC
I don't think this is gcc4 related...
Comment 2 Adomas Jackevicius 2006-01-11 10:42:00 UTC
This is dublicate of bug http://bugs.gentoo.org/show_bug.cgi?id=118361
Comment 3 Marcin Kryczek (RETIRED) gentoo-dev 2006-01-13 04:51:56 UTC

*** This bug has been marked as a duplicate of 118361 ***