[...] make[5]: Entering directory `/var/tmp/paludis/net-p2p/amule-2.2.0_pre20080228/work/amule-cvs/src/utils/cas' if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include -D__GD__ -march=nocona -O2 -pipe -W -Wall -Wshadow -Wundef -O2 -DUSE_WX_EXTENSIONS -MT cas-cas.o -MD -MP -MF ".deps/cas-cas.Tpo" -c -o cas-cas.o `test -f 'cas.c' || echo './'`cas.c; \ then mv -f ".deps/cas-cas.Tpo" ".deps/cas-cas.Po"; else rm -f ".deps/cas-cas.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include -D__GD__ -march=nocona -O2 -pipe -W -Wall -Wshadow -Wundef -O2 -DUSE_WX_EXTENSIONS -MT cas-configfile.o -MD -MP -MF ".deps/cas-configfile.Tpo" -c -o cas-configfile.o `test -f 'configfile.c' || echo './'`configfile.c; \ then mv -f ".deps/cas-configfile.Tpo" ".deps/cas-configfile.Po"; else rm -f ".deps/cas-configfile.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include -D__GD__ -march=nocona -O2 -pipe -W -Wall -Wshadow -Wundef -O2 -DUSE_WX_EXTENSIONS -MT cas-functions.o -MD -MP -MF ".deps/cas-functions.Tpo" -c -o cas-functions.o `test -f 'functions.c' || echo './'`functions.c; \ then mv -f ".deps/cas-functions.Tpo" ".deps/cas-functions.Po"; else rm -f ".deps/cas-functions.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include -D__GD__ -march=nocona -O2 -pipe -W -Wall -Wshadow -Wundef -O2 -DUSE_WX_EXTENSIONS -MT cas-graphics.o -MD -MP -MF ".deps/cas-graphics.Tpo" -c -o cas-graphics.o `test -f 'graphics.c' || echo './'`graphics.c; \ then mv -f ".deps/cas-graphics.Tpo" ".deps/cas-graphics.Po"; else rm -f ".deps/cas-graphics.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include -D__GD__ -march=nocona -O2 -pipe -W -Wall -Wshadow -Wundef -O2 -DUSE_WX_EXTENSIONS -MT cas-html.o -MD -MP -MF ".deps/cas-html.Tpo" -c -o cas-html.o `test -f 'html.c' || echo './'`html.c; \ then mv -f ".deps/cas-html.Tpo" ".deps/cas-html.Po"; else rm -f ".deps/cas-html.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include -D__GD__ -march=nocona -O2 -pipe -W -Wall -Wshadow -Wundef -O2 -DUSE_WX_EXTENSIONS -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 x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe -W -Wall -Wshadow -Wundef -O2 -DUSE_WX_EXTENSIONS -Wl,--as-needed -L/usr/lib -lpthread -o cas cas-cas.o cas-configfile.o cas-functions.o cas-graphics.o cas-html.o cas-lines.o -L/usr/lib64 -Wl,--as-needed -L/usr/lib64 -ljpeg -lfontconfig -lfreetype -lpng12 -lz -lm -lz -lGeoIP cas-graphics.o: In function `createimage': graphics.c:(.text+0x4f): undefined reference to `gdImageCreateFromPng' graphics.c:(.text+0x69): undefined reference to `gdImageColorResolve' graphics.c:(.text+0xbe): undefined reference to `gdImageStringFT' graphics.c:(.text+0x118): undefined reference to `gdImagePng' graphics.c:(.text+0x132): undefined reference to `gdImageDestroy' graphics.c:(.text+0x194): undefined reference to `gdImageJpeg' collect2: ld returned 1 exit status make[5]: *** [cas] Error 1 [...]
This is an upstream bug. http://forum.amule.org/index.php?topic=14541.0 A quick (and dirty) workaround: add "-lgd" to CFLAGS (of course remove it after compiling amule). I don't have the slightest idea if it has side effects, so is better to wait for a proper fix.
Tiziano, does it happen with 20080304?
nope. completely solved here. Thanks.