Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65524 - xmule 1.8.4-r1 failed to compile
Summary: xmule 1.8.4-r1 failed to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-27 06:03 UTC by gwbv
Modified: 2005-03-22 14:04 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 gwbv 2004-09-27 06:03:37 UTC
when I try to emerge xmule, I get compile errors

Reproducible: Always
Steps to Reproduce:
1. emerge xmule
2.
3.

Actual Results:  
make[2]: Entering directory
`/var/tmp/portage/xmule-1.8.4-r1/work/xmule-1.8.4/src/wx/xrc'
Compiling AddFriend.cpp...
Compiling wx/xrc/xmlrole.c...
Compiling wx/xrc/xmltok.c...
Compiling wx/xrc/xmlparse.c...
Compiling wx/xrc/xh_bmpbt.cpp...
Compiling wx/xrc/xh_bmp.cpp...
In file included from ClientCredits.h:30,
                 from updownclient.h:29,
                 from Friend.h:25,
                 from AddFriend.h:25,
                 from AddFriend.cpp:31:
CryptoXMpp.h:171: parse error before `&'
CryptoXMpp.h:171: missing ';' before right brace
CryptoXMpp.h:172: destructors must be member functions
CryptoXMpp.h:172: return type specification for destructor invalid
CryptoXMpp.h:172: virtual outside class declaration
CryptoXMpp.h:173: non-member function `CryptoXMpp::what()' cannot have `const'
method qualifier
CryptoXMpp.h: In function `const char * CryptoXMpp::what()':
CryptoXMpp.h:173: `m_what' undeclared (first use this function)
CryptoXMpp.h:173: (Each undeclared identifier is reported only once
CryptoXMpp.h:173: for each function it appears in.)
CryptoXMpp.h: At top level:
CryptoXMpp.h:174: parse error before `&'
CryptoXMpp.h:175: parse error before `&'
CryptoXMpp.h: In function `void SetWhat(...)':
CryptoXMpp.h:175: `m_what' undeclared (first use this function)
CryptoXMpp.h:175: `s' undeclared (first use this function)
CryptoXMpp.h: At top level:
CryptoXMpp.h:176: syntax error before `('
CryptoXMpp.h:177: `ErrorType' was not declared in this scope
CryptoXMpp.h:177: parse error before `)'
CryptoXMpp.h: In function `void SetErrorType(...)':
CryptoXMpp.h:177: `m_errorType' undeclared (first use this function)
CryptoXMpp.h:177: `errorType' undeclared (first use this function)
CryptoXMpp.h: At top level:
CryptoXMpp.h:179: parse error before `private'
CryptoXMpp.h:181: syntax error before `;'
CryptoXMpp.h:186: parse error before `{'
CryptoXMpp.h:193: parse error before `{'
CryptoXMpp.h:200: base class `InvalidDataFormat' has incomplete type
CryptoXMpp.h:202: parse error before `&'
CryptoXMpp.h:202: missing ';' before right brace
CryptoXMpp.h:207: parse error before `{'
CryptoXMpp.h:214: parse error before `{'
CryptoXMpp.h:285: parse error before `}'
CryptoXMpp.h: In function `bool CryptoXMpp::IsAlignedOn(const void *, unsigned
int)':
CryptoXMpp.h:430: implicit declaration of function `int CryptoXMpp::IsPowerOf2(...)'
CryptoXMpp.h:430: implicit declaration of function `int
CryptoXMpp::ModPowerOf2(...)'
CryptoXMpp.h: In function `bool CryptoXMpp::IsAligned(const void *, T * = 0)':
CryptoXMpp.h:436: parse error before `>'
CryptoXMpp.h: In function `enum ByteOrder CryptoXMpp::GetNativeByteOrder()':
CryptoXMpp.h:447: `NativeByteOrder' undeclared (first use this function)
CryptoXMpp.h:447: parse error before `::'
CryptoXMpp.h: In function `bool CryptoXMpp::NativeByteOrderIs(ByteOrder)':
CryptoXMpp.h:452: implicit declaration of function `int
CryptoXMpp::GetNativeByteOrder(...)'
CryptoXMpp.h: At top level:
CryptoXMpp.h:456: syntax error before `('
CryptoXMpp.h:456: `T' was not declared in this scope
CryptoXMpp.h:456: parse error before `,'
CryptoXMpp.h:457: ANSI C++ forbids declaration `IntToString' with no type
CryptoXMpp.h: In function `int CryptoXMpp::IntToString(...)':
CryptoXMpp.h:458: `a' undeclared (first use this function)
CryptoXMpp.h:459: return to `int' from `const char *' lacks a cast
CryptoXMpp.h:466: `::string' undeclared (first use here)
CryptoXMpp.h:466: parse error before `;'
CryptoXMpp.h:469: `T' undeclared (first use this function)
CryptoXMpp.h:469: parse error before `='
CryptoXMpp.h:470: `result' undeclared (first use this function)
CryptoXMpp.h:470: `digit' undeclared (first use this function)
CryptoXMpp.h:471: `base' undeclared (first use this function)
CryptoXMpp.h: In function `T1 CryptoXMpp::SaturatingSubtract(T1, T2)':
CryptoXMpp.h:481: ANSI C++ forbids declaration `CompileAssert' with no type
CryptoXMpp.h:481: template-id `CompileAssert<((T1)((-1)) > 0)>' used as a declarator
CryptoXMpp.h:481: parse error before `;'
CryptoXMpp.h:482: ANSI C++ forbids declaration `CompileAssert' with no type
CryptoXMpp.h:482: template-id `CompileAssert<((T2)((-1)) > 0)>' used as a declarator
CryptoXMpp.h:482: redeclaration of `int CompileAssert'
CryptoXMpp.h:481: `int CompileAssert' previously declared here
CryptoXMpp.h:482: parse error before `;'
CryptoXMpp.h: In function `word16 CryptoXMpp::ByteReverse(short unsigned int)':
CryptoXMpp.h:548: implicit declaration of function `int CryptoXMpp::rotlFixed(...)'
CryptoXMpp.h: In function `word32 CryptoXMpp::ByteReverse(long unsigned int)':
CryptoXMpp.h:555: implicit declaration of function `int CryptoXMpp::rotrFixed(...)'
CryptoXMpp.h: In function `word64 CryptoXMpp::ByteReverse(long long unsigned int)':
CryptoXMpp.h:567: implicit declaration of function `int
CryptoXMpp::ByteReverse(...)'
CryptoXMpp.h: In function `word64 CryptoXMpp::BitReverse(long long unsigned int)':
CryptoXMpp.h:603: implicit declaration of function `int CryptoXMpp::BitReverse(...)'
CryptoXMpp.h: In function `T CryptoXMpp::GetWord(bool, ByteOrder, const byte *)':
CryptoXMpp.h:761: parse error before `>'
CryptoXMpp.h:761: parse error before `)'
CryptoXMpp.h:765: parse error before `>'
CryptoXMpp.h:766: confused by earlier errors, bailing out
make[1]: *** [AddFriend.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Compiling wx/xrc/xh_bttn.cpp...
Compiling wx/xrc/xh_cald.cpp...
Compiling wx/xrc/xh_chckb.cpp...
Compiling wx/xrc/xh_chckl.cpp...
Compiling wx/xrc/xh_choic.cpp...
Compiling wx/xrc/xh_combo.cpp...
Compiling wx/xrc/xh_dlg.cpp...
Compiling wx/xrc/xh_frame.cpp...
Compiling wx/xrc/xh_gauge.cpp...
Compiling wx/xrc/xh_gdctl.cpp...
Compiling wx/xrc/xh_html.cpp...
Compiling wx/xrc/xh_listb.cpp...
Compiling wx/xrc/xh_listc.cpp...
Compiling wx/xrc/xh_menu.cpp...
Compiling wx/xrc/xh_notbk.cpp...
Compiling wx/xrc/xh_panel.cpp...
Compiling wx/xrc/xh_radbt.cpp...
Compiling wx/xrc/xh_radbx.cpp...
Compiling wx/xrc/xh_scrol.cpp...
Compiling wx/xrc/xh_scwin.cpp...
Compiling wx/xrc/xh_sizer.cpp...
Compiling wx/xrc/xh_slidr.cpp...
Compiling wx/xrc/xh_spin.cpp...
Compiling wx/xrc/xh_split.cpp...
Compiling wx/xrc/xh_stbmp.cpp...
Compiling wx/xrc/xh_stbox.cpp...
Compiling wx/xrc/xh_stlin.cpp...
Compiling wx/xrc/xh_sttxt.cpp...
Compiling wx/xrc/xh_text.cpp...
Compiling wx/xrc/xh_toolb.cpp...
Compiling wx/xrc/xh_tree.cpp...
Compiling wx/xrc/xh_unkwn.cpp...
Compiling wx/xrc/xh_wizrd.cpp...
Compiling wx/xrc/xml.cpp...
Compiling wx/xrc/xmlres.cpp...
Compiling wx/xrc/xmlrsall.cpp...
Linking wx/xrc/libxrc.a...
make[2]: Leaving directory
`/var/tmp/portage/xmule-1.8.4-r1/work/xmule-1.8.4/src/wx/xrc'
make[1]: Leaving directory `/var/tmp/portage/xmule-1.8.4-r1/work/xmule-1.8.4/src'
make: *** [all] Error 2

!!! ERROR: net-p2p/xmule-1.8.4-r1 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! (no error message)



# emerge info
Portage 2.0.50-r11 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r9, 2.4.21)
=================================================================
System uname: 2.4.21 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi acpi4linux alsa autofs avi berkdb bitmap-fonts bluetooth
bonobo cdr crypt cups encode esd gdbm gif gnome gnome-libs gpm gstreamer gtk
gtk2 gtkhtml guile imlib java jpeg kde libg++ libwww mbox mikmod mmx motif
mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt
quicktime readline sdl slang spell ssl svga tcltk tcpd tetex tiff truetype x86
xml2 xmms xprint xv"
Comment 1 HopeSeekr 2004-10-29 08:47:50 UTC
gcc-2.95.3 is the problem, as this compiler is not supported due to usage of advanced ISO-C++ specifications only implemented in the 3.x and above g++ implementations, namely __gnu_cxx::slist, __gnu_cxx:abi and templatized return-types.

That said, I hear rumours that the debian team has patches for these sort of things available at their place, but that work with 2.95.4.
Comment 2 HopeSeekr 2005-01-03 18:47:09 UTC
To the maintainer(s):

Please mark this as Resolved: WONTFIX as there are absolutely no plans to support 2.95.x compilers, unless the work is 100% donated.

Thanks,
Hope of xMule
Comment 3 Grzegorz Chwesewicz 2005-03-12 08:47:28 UTC
Got the similar problem:

<cut>
Compiling SysTray.cpp...
Compiling TransferWnd.cpp...
Compiling treebasc.cpp...
Compiling treectlc.cpp...
Compiling UDPSocket.cpp...
Compiling UploadClient.cpp...
Compiling UploadListCtrl.cpp...
Compiling UploadQueue.cpp...
Compiling WebServer.cpp...
Compiling WebSocket.cpp...
Compiling Wizard.cpp...
Compiling XBMDraw.cpp...
Compiling xmule.cpp...
Compiling xmuleDlg.cpp...
Linking src/ed2k...
Linking src/xmule...
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libwx_gtk2-2.4.so: undefined reference to `_gtk_accel_group_detach'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libwx_gtk2-2.4.so: undefined reference to `_gtk_accel_group_attach'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libwx_gtk2-2.4.so: undefined reference to `_gtk_rc_context_get_default_font_name'
collect2: ld returned 1 exit status
make[1]: *** [xmule] Error 1
make[1]: Leaving directory `/var/tmp/portage/xmule-1.8.4-r1/work/xmule-1.8.4/src'
make: *** [all] Error 2

!!! ERROR: net-p2p/xmule-1.8.4-r1 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! (no error message)

ensima-gentoo root # emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 23:14:09)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mcpu=athlon-xp -Os -s -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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mcpu=athlon-xp -Os -s -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.zie.pg.gda.pl http://gentoo.prz.rzeszow.pl http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://gentoo.spb.ru/rsync"
LANG="pl_PL"
LC_ALL="pl_PL"
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 3dnow 3dnowex X aalib acpi alsa apm avi bash-completion berkdb bitmap-fonts cdr crypt cups curl dvd emboss encode fam flac font-server foomaticdb fortran gdbm gif gpm gtk2 imlib java jpeg kde libg++ libwww mad mikmod mmx mmx2 motif mozilla mp3 mpeg ncurses nls nptl nvidia oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readlinesamba sdl snmp spell sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts usb xml xml2 xmms xv zlib linguas_pl linguas_en"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 4 Karol Wojtaszek (RETIRED) gentoo-dev 2005-03-22 14:04:51 UTC
You need to recompile wxGTK after gtk-<one_version_i_dont_know which;)> upgrade