Eric L Hathaway wrote:

Unfortunately, FlightGear still doesn't compile on RedHat 7.3, even with the above configure script check for truncf (I haven't checked it out on RedHat 9 yet). I did figure out how to get it to work though (see below).

The problem is that although truncf is present in Red Hat 7.3's glibc libraries, a declaration for truncf is not provided in <math.h>, unless _ISOC99_SOURCE is defined (maybe this is a Red Hat peculiarity, since Bernie said that he had no problems compiling on Mandrake -- can any other Red Hat users confirm this compilation problem?). The configure script effectively only tests for the presence of the truncf function in the library, so the check succeeds.

It shouldn't be, unless you have specified _ISOC99_SOURCE somewhere in your configuration flags. configure will _never_ add this sort of predefines by itself.


So unless you have specified it, configure shouldn't be able to fund the truncf function.

Maybe you need to remove config.cache?

Erik


_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to