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

D greene dgreene21 at hotmail.com
Thu Aug 12 18:09:27 PDT 2004


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:

CC=mipsel-unknown-linux-uclibc-gcc NM=mipsel-unknown-linux-uclibc-nm 
AR=mipsel-unknown-linux-uclibc-ar RL=mipsel-unknown-linux-uclibc-ranlib \
CFLAGS="-Os -fomit-frame-pointer -fno-builtin" \
./configure --enable-pure-java-math --disable-sound --without-awt 
--disable-debug --disable-xprofiling
--disable-xdebugging --disable-feedback --without-profiling --host 
mipsel-unknown-linux-uclibc --with
out-stats --disable-gcj --build=i686-linux --prefix /tmp/kaffe 
--with-rt-jar=/rt.jar --without-x --wit
hout-extensions --without-alsa --without-esd --disable-mips2 
--disable-mips2i


thanks,
-dgreene

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/




More information about the kaffe mailing list