I needed attached patch for compilation with gcc pre4.0.2. You might consider adding it. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 69439 [details, diff] amule gcc4 compilation fix
looks sane
what gcc profile are you using? can you paste emerge info? i'm able to compile amule-2.0.3 with gcc-4.0.1 and gcc-4.0.2_pre20050917 without that patch
It is a "homebrew" gcc I am using, ebuild made of the one I found int the forum thread. Or is it due to the visibility thing? Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-4.0.2-beta20050922, glibc-2.3.5-r1, 2.6.14-rc2 i686) ================================================================= System uname: 2.6.14-rc2 i686 AMD Athlon(tm) 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.4.2 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=athlon-xp -O2 -pipe -fomit-frame-pointer -ftracer -fno-var-tracking -funswitch-loops -fgcse-after-reload -g0" 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/lib/fax /usr/share/config /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ftracer -fno-var-tracking -funswitch-loops -fgcse-after-reload -g0 -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache confcache digest distlocks prelink sandbox sfperms" GENTOO_MIRRORS=" ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-z,combreloc -Wl,--relax" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/lportage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext S3TC X a52 aac acpi acpi4linux alsa apm audiofile avi berkdb bitmap-fonts bzip2 cdda cddb cdparanoia cdr crypt cups curl dga divx4linux dpms dts dvb dvd dvdr dvdread edl eds emboss encode ext-png ext-zlib faac faad ffmpeg fftw flac foomaticdb freetype gd gdbm gif gimp gimpprint gpm gs gtk gtk2 imagemagick imlib ipv6 ithreads java javascript jpeg jpeg2k kde kdeenablefinal ldap libg++ libwww lm_sensors lzo mad matroska mmx mmxext mng monkey moznocompose mp3 mpeg mpeg2 mpi musepack ncurses network nls nocd nptl nvidia ogg oggvorbis openal opengl openssh oss pam pdflib perl pic png povray ppds python qt qtmt quicktime readline real rtc samba scanner sdl smime speex spell sqlite sse ssl tcpd tetex theora threads tiff transcode truetype truetype-fonts type1-fonts unicode usb utf8 vcd videos vorbis win32codecs wmf wxwindows xfs xine xinerama xinetd xml xml2 xprint xv xvid xvmc yv12 zeroconf zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET
i'm able to compile amule even with your USE and C*FLAGS sets. closing it as invalid. sorry, but we cannot support programs from outside the official tree