Hi,

On Donnerstag, 19. Februar 2004 02:49, Seamus Thomas Carroll wrote:
> I downloaded the latest CVS seperate from my own modifications and tried
> to compile.   I am still recieving the error:
>
> panel.cxx: In method `const char *FGTextLayer::Chunk::getValue ()
> const':
> panel.cxx:1128: `truncf' undeclared (first use this function)
> panel.cxx:1128: (Each undeclared identifier is reported only once for
> each function it appears in.)
> make[3]: *** [panel.o] Error 1
> make[3]: Leaving directory
> `/home/grads/carrolls/downloads/flightgear/FlightGear/src/Cockpit'
>
> Any suggestions would be appreciated,
Does this attached patch help?

I posted this patch some time ago, but noone cared. So I don't know if it 
really helps or not. Also If it helps someone of the flightgear developers 
might apply it if it helps.

    Greetings

     Mathias

-- 
Mathias Fr�hlich, email: [EMAIL PROTECTED]
--- configure.ac.orig	2004-01-29 10:07:23.496868234 +0100
+++ configure.ac	2004-01-29 10:07:52.072834221 +0100
@@ -427,6 +427,8 @@
 fi
 AM_CONDITIONAL(ENABLE_JPEG_SERVER, test "x$ac_cv_header_simgear_screen_jpgfactory_hxx" = "xyes")
 
+AC_CHECK_FUNCS( [ \
+	truncf ] )
 AC_LANG_POP
 
 dnl Check for system installed zlib
@@ -465,7 +467,7 @@
 AC_CHECK_FUNCS( [ \
         ftime gettimeofday timegm memcpy bcopy mktime strstr rand mkfifo \
 	random drand48 setitimer getitimer signal GetLocalTime rint getrusage \
-	truncf ] )
+	] )
 LIBS=$old_LIBS
 
 AM_CONFIG_HEADER(src/Include/config.h)
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to