This is my log when a try to make aMule-2.0.0rc5
gcc -Wall -g -ggdb -fno-inline -D__DEBUG__ -o cas cas-cas.o cas-functions.o cas-configfile.o cas-graphics.o -ljpeg -lfreetype -lpng12 -lz -lm -lgd
/usr/bin/ld: unrecognized option '--as-needed'
/usr/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
make[5]: *** [cas] Error 1
make[5]: Leaving directory `/home/mauro/Desktop/aMule-2.0.0rc5/src/utils/cas'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/mauro/Desktop/aMule-2.0.0rc5/src/utils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/mauro/Desktop/aMule-2.0.0rc5/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/mauro/Desktop/aMule-2.0.0rc5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mauro/Desktop/aMule-2.0.0rc5'
make: *** [all] Error 2
Can help me?
Debian unstable
Thank you