Packages are compiled with options:
# emerge -pv gtk+ wxGTK amule
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-libs/gtk+-2.8.19 USE="X jpeg tiff -debug -doc -xinerama" 0 kB
[ebuild R ] x11-libs/wxGTK-2.6.3.2 USE="X opengl unicode -debug -doc -gnome -joystick -odbc -sdl" 0 kB
[ebuild R ] net-p2p/amule-2.1.3 USE="gtk nls remote stats unicode -amuled -debug" 0 kB
Total size of downloads: 0 kB
Trying to change back to gcc-3.4.6 and compile amule (not the other packages) with the old gcc version don't solves the problem.
The errors:
# amulegui
amulegui: relocation error: amulegui: symbol _ZTI12wxEvtHandler, version WXU_2.6 not defined in file libwx_gtk2u_core-2.6.so.0 with link time reference
# emerge -pv amule
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] net-p2p/amule-2.1.3 USE="gtk nls remote stats unicode -amuled -debug" 0 kB
Total size of downloads: 0 kB
# emerge -v amule
...
...
...
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include -D__GD__ -march=athlon-xp -O2 -pipe -W -Wall -Wshadow -Wundef -O2 -MT cas-lines.o -MD -MP -MF ".deps/cas-lines.Tpo" -c -o cas-lines.o `test -f 'lines.c' || echo './'`lines.c; \
then mv -f ".deps/cas-lines.Tpo" ".deps/cas-lines.Po"; else rm -f ".deps/cas-lines.Tpo"; exit 1; fi
i686-pc-linux-gnu-gcc -march=athlon-xp -O2 -pipe -W -Wall -Wshadow -Wundef -O2 -lpthread -o cas cas-cas.o cas-configfile.o cas-functions.o cas-graphics.o cas-html.o cas-lines.o -ljpeg -lz -lm -lgd
cas-graphics.o: In function `createimage':
graphics.c:(.text+0x4d): undefined reference to `gdImageCreateFromPng'
graphics.c:(.text+0xbe): undefined reference to `gdImagePng'
collect2: ld returned 1 exit status
make[5]: *** [cas] Error 1
make[5]: Leaving directory `/var/tmp/portage/amule-2.1.3/work/aMule-2.1.3/src/utils/cas'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/amule-2.1.3/work/aMule-2.1.3/src/utils/cas'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/amule-2.1.3/work/aMule-2.1.3/src/utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/amule-2.1.3/work/aMule-2.1.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/amule-2.1.3/work/aMule-2.1.3'
make: *** [all] Error 2
!!! ERROR: net-p2p/amule-2.1.3 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
amule-2.1.3.ebuild, line 102: Called die
!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.