[kaffe] undefined reference to isinf, isnan when cross compiling

Dalibor Topic robilad at kaffe.org
Sat Aug 14 10:20:21 PDT 2004


D greene wrote:
> Trying to get kaffe 1.1.4  built for the mips (with uclib) for an 
> embedded device. I'm using crosstools.
> 
> I'm getting the following error:
> 
> Making all in kaffe
> make[2]: Entering directory `/kaffe-1.1.4/kaffe/kaffe'
> /bin/sh ../../libtool --mode=link mipsel-unknown-linux-uclibc-gcc  -Os 
> -fomit-frame-pointer -Wall -Wstrict-prototypes -fno-omit-frame-pointer   
> -o kaffe-bin  -export-dynamic main.o version.o -dlopen 
> ../../libraries/clib/native/libnative.la -dlopen 
> ../../libraries/clib/net/libnet.la -dlopen 
> ../../libraries/clib/io/libio.la -dlopen 
> ../../libraries/clib/zip/libzip.la -dlopen 
> ../../libraries/clib/management/libmanagement.la -dlopen 
> ../../libraries/clib/security/libsecurity.la ../kaffevm/libkaffevm.la    
> ../../replace/libreplace.la ../../libltdl/libltdlc.la
> rm -f .libs/kaffe-bin.nm .libs/kaffe-bin.nmS .libs/kaffe-bin.nmT
> creating .libs/kaffe-binS.c
> (cd .libs && mipsel-unknown-linux-uclibc-gcc -c -fno-builtin 
> "kaffe-binS.c")
> rm -f .libs/kaffe-binS.c .libs/kaffe-bin.nm .libs/kaffe-bin.nmS 
> .libs/kaffe-bin.nmT
> mipsel-unknown-linux-uclibc-gcc -Os -fomit-frame-pointer -Wall 
> -Wstrict-prototypes -fno-omit-frame-pointer -o .libs/kaffe-bin main.o 
> version.o .libs/kaffe-binS.o -Wl,--export-dynamic  
> ../kaffevm/.libs/libkaffevm.so -lm ../../replace/.libs/libreplace.a 
> ../../libltdl/.libs/libltdlc.a -ldl -Wl,--rpath -Wl,/tmp/kaffe/jre/lib/mips
> ../kaffevm/.libs/libkaffevm.so: undefined reference to `isinf'
> ../kaffevm/.libs/libkaffevm.so: undefined reference to `isnan'
> collect2: ld returned 1 exit status
> make[2]: *** [kaffe-bin] Error 1
> 
> 
> Any pointers would be appreciated. My build params:

Hi D greene,

thanks for the bug report. Does configure detect isnan and isinf?

cheers,
dalibor topic




More information about the kaffe mailing list