On Sun, 2001-12-23 at 23:08, Charles Iliya Krempeaux wrote: > Hello, > > I started installing DirectFB, by first installing libflash. However > I had a problem. The error was outputted as: > > /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.) > shape.cc:270: warning: `long int nn' might be used uninitialized in > this function > make[1]: *** [shape.lo] Error 1 > make[1]: Leaving directory `/usr/local/src/libflash-0.4.10/lib' > make: *** [all-recursive] Error 1 > > I think it needs the "math library". So, in the automake/autoconf > stuff, libflash needs to be linked to "libm". > > (If it is relevant, I am uning Red Hat Linux 7.2 with Ximian GNOME.)
Yes, this is relevant. As far as I know RedHat uses gcc 2.96. I heard of similar problems when compiling various other source packages. Please add #include <math.h> in shape.cc and try again. andi -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-users" as subject.
