AFAIR, the (fast) simple precision floating point lib is not available on all platforms. This is why the fltk/math.h include file tries to redefine them for platforms like Apple, Sun and for some archaic compilers like borlandc.
So the problem is probably that math.h thinks you have these simple floating point api because you're cross compiling from a linux platform or other un*x platform. More generally, I don't think you can easily cross compile fltk whatever the version is, but I recognize I never tried. Aloso, try to search for "cross" and "platform" keywords in the general forum from the website, it's not the first time that someone tries to crss compile the lib. Fabien ----- Message d'origine ---- De : Gabriele Lovat <[email protected]> À : [email protected] Envoyé le : Jeudi, 26 Février 2009, 9h05mn 41s Objet : [fltk.general] linking problem Hi, I was trying to cross compiling fltk with the cris compiler. When I compile it the building process stops and I obtain the follow output: Linking fluid2... ../lib/libfltk2.so: undefined reference to `fmodf' ../lib/libfltk2.so: undefined reference to `cosf' ../lib/libfltk2.so: undefined reference to `acosf' ../lib/libfltk2.so: undefined reference to `atan2f' ../lib/libfltk2.so: undefined reference to `sinf' ../lib/libfltk2.so: undefined reference to `ceilf' collect2: ld returned 1 exit status Where do I mistake? Is there some parameter to specify when I peform the configure command? Thanks to everybody for answers! Best regards Gabriele _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

