[kaffe] cross compiling kaffe to arm using Nano-X backend

Kelvin Xu kyoxu at hotmail.com
Tue Feb 6 08:33:06 PST 2007


Dear all,

Thanks Dalibor for the earlier help to install kaffe on my host.

I am currently using the Kaffe that i check out from the CVS.

When i try to cross compile kaffe with the following configure command:
CC=arm-linux-gcc NM=arm-linux-ar STRIP=arm-linux-strip ../kaffe/configure 
--host=arm-linux --prefix=/home/EmbeddedLinux/rfs/usr/jre 
--libexecdir=/home/EmbeddedLinux/rfs/usr/kaffe/bin --with-engine=intrp 
--disable-x --disable-debug --disable-xprofiling --disable-xdebugging 
--disable-feedback --disable-profiling --without-stats --disable-gtk-peer  
--with-kaffe-nanox-awt 
--with-nanox-include=/home/EmbeddedLinux/rfs/home/microwindows-0.90/src/include 
--with-nanox-library=/home/EmbeddedLinux/rfs/home/microwindows-0.90/src/lib 
--disable-gcj

Configuration complete successfully.

However, during make the following error shows up:
if test "" != ""; then  -r -D glibj.zip gnu java javax org sun META-INF > 
/dev/null; fi
if test "/usr/bin/fastjar" != ""; then /usr/bin/fastjar cf glibj.zip gnu 
java javax org sun META-INF; fi
make[3]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/lib'
Making all in doc
make[3]: Entering directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/doc'
Making all in api
make[4]: Entering directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/doc/api'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/doc/api'
make[4]: Entering directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/doc'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/doc'
make[3]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/doc'
Making all in external
make[3]: Entering directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/external'
Making all in sax
make[4]: Entering directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/external/sax'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/external/sax'
Making all in w3c_dom
make[4]: Entering directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/external/w3c_dom'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/external/w3c_dom'
Making all in relaxngDatatype
make[4]: Entering directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/external/relaxngDatatype'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/external/relaxngDatatype'
make[4]: Entering directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/external'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/external'
make[3]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/external'
Making all in include
make[3]: Entering directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/include'
make  all-am
make[4]: Entering directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/include'
make[4]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/include'
make[3]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/include'
Making all in native
make[3]: Entering directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/native'
Making all in fdlibm
make[4]: Entering directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/native/fdlibm'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/native/fdlibm'
Making all in jni
make[4]: Entering directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/native/jni'
Making all in classpath
make[5]: Entering directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/native/jni/classpath'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/native/jni/classpath'
Making all in native-lib
make[5]: Entering directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/native/jni/native-lib'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/native/jni/native-lib'
Making all in java-io
make[5]: Entering directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/native/jni/java-io'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/native/jni/java-io'
Making all in java-lang
make[5]: Entering directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/native/jni/java-lang'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/native/jni/java-lang'
Making all in java-net
make[5]: Entering directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/native/jni/java-net'
/bin/sh ../../../libtool --tag=CC   --mode=compile arm-linux-gcc 
-DHAVE_CONFIG_H -I. -I../../../include 
-I../../../../../../../../kaffe/libraries/javalib/external/classpath/native/jni/java-net 
  
-I../../../../../../../../kaffe/libraries/javalib/external/classpath/include 
-I../../../../../../../../kaffe/libraries/javalib/external/classpath/native/jni/classpath 
-I../../../../../../../../kaffe/libraries/javalib/external/classpath/native/jni/native-lib 
  -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes 
-Wno-long-long -Wstrict-prototypes -pedantic -Werror -Wall -W -Wextra 
-fno-strict-aliasing -fno-omit-frame-pointer -fsigned-char -pthread -g -O2 
-MT java_net_VMNetworkInterface.lo -MD -MP -MF 
..deps/java_net_VMNetworkInterface.Tpo -c -o java_net_VMNetworkInterface.lo 
.../../../../../../../../kaffe/libraries/javalib/external/classpath/native/jni/java-net/java_net_VMNetworkInterface.c
arm-linux-gcc -DHAVE_CONFIG_H -I. -I../../../include 
-I../../../../../../../../kaffe/libraries/javalib/external/classpath/native/jni/java-net 
-I../../../../../../../../kaffe/libraries/javalib/external/classpath/include 
-I../../../../../../../../kaffe/libraries/javalib/external/classpath/native/jni/classpath 
-I../../../../../../../../kaffe/libraries/javalib/external/classpath/native/jni/native-lib 
-W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes 
-Wno-long-long -Wstrict-prototypes -pedantic -Werror -Wall -W -Wextra 
-fno-strict-aliasing -fno-omit-frame-pointer -fsigned-char -pthread -g -O2 
-MT java_net_VMNetworkInterface.lo -MD -MP -MF 
..deps/java_net_VMNetworkInterface.Tpo -c 
.../../../../../../../../kaffe/libraries/javalib/external/classpath/native/jni/java-net/java_net_VMNetworkInterface.c 
  -fPIC -DPIC -o .libs/java_net_VMNetworkInterface.o
cc1: warnings being treated as errors
.../../../../../../../../kaffe/libraries/javalib/external/classpath/native/jni/java-net/java_net_VMNetworkInterface.c: 
In function 'Java_java_net_VMNetworkInterface_getVMInterfaces':
.../../../../../../../../kaffe/libraries/javalib/external/classpath/native/jni/java-net/java_net_VMNetworkInterface.c:114: 
warning: unused parameter 'clazz'
make[5]: *** [java_net_VMNetworkInterface.lo] Error 1
make[5]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/native/jni/java-net'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/native/jni'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath/native'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib/external/classpath'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/javalib'
make: *** [all-recursive] Error 1


Does anyone know what have possibly gone wrong.

Many Thanks!

Regards,
Kelvin

_________________________________________________________________
Get an advanced look at the new version of Windows Live Messenger. 
http://get.live.com/messenger/overview





More information about the kaffe mailing list