c++ -DPACKAGE=\"libflash\" -DVERSION=\"0.4.10\" -I. -I. -I../lib -O3 -Wall -fno-rtti -fno-exceptions -g3 -c script.cc -fPIC -DPIC -o script.lo /bin/sh ../libtool --mode=compile c++ -DPACKAGE=\"libflash\" -DVERSION=\"0.4.10\" -I. -I. -I../lib -O3 -Wall -fno-rtti -fno-exceptions -g3 -c shape.cc c++ -DPACKAGE=\"libflash\" -DVERSION=\"0.4.10\" -I. -I. -I../lib -O3 -Wall -fno-rtti -fno-exceptions -g3 -c shape.cc -fPIC -DPIC -o shape.lo shape.cc: In function `void flushPaths(ShapeParser*)': shape.cc:311: `sqrt' undeclared (first use this function) shape.cc:311: (Each undeclared identifier is reported only once for each function it appears in.) make[1]: *** [shape.lo] Error 1 make[1]: Leaving directory `/var/tmp/portage/libflash-0.4.10/work/libflash-0.4.10/lib' make: *** [all-recursive] Error 1 !!! ERROR: the make command did not complete successfully. !!! ("make") !!! Since this is a critical task, ebuild will be stopped. !!! emerge aborting on /usr/portage/media-libs/libflash/libflash-0.4.10.ebuild .
what version of gcc are you using?
gcc-3.1-r5
I can confirm it's broken in gcc3.1-r5 and gcc3.1-r6
Created attachment 1531 [details] here's the updated change log
Created attachment 1532 [details] And here's the fixed ebuild
Created attachment 1533 [details, diff] And here's the patch file so you can look it over.
All fixed.. Confirmed to work in gcc2.95 & gcc3.1 by a couple of users. That was easy.
Thanks Cardoe, committed