Compile Error libgcj

Edgar Villanueva edgarvil@home.com
Sun Dec 3 20:02:00 GMT 2000


I have been following the list as of late and have followed most
instruction as to how to compile both gcc and glibc.

Here is the latest compile error I have run into:ly once for each
function it appears in.)

../../../libgcj/libjava/java/lang/natDouble.cc: In static member
function
   `static java::lang::String*
java::lang::Double::toString(__java_double,
   __java_boolean)':
../../../libgcj/libjava/java/lang/natDouble.cc:76: `fabs' undeclared
(first use
   this function)
../../../libgcj/libjava/java/lang/natDouble.cc:76: (Each undeclared
identifier
   is reported only once for each function it appears in.)
make[2]: *** [java/lang/natDouble.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-target-libjava] Error 2

I think I fixed it by replacing mprec.h with fdlibm.h.

#include "fdlibm.h"
//#include "mprec.h"





More information about the Java mailing list