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

Kelvin Xu kyoxu at hotmail.com
Tue Feb 6 22:25:18 PST 2007


Hi,

Thanks for the help. However another more puzzling error shows up during 
make using the following configure:
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 --disable-Werror

The error statement is as follows:

Making all in verifier
make[2]: Entering directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/kaffe/kaffevm/verifier'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/kaffe/kaffevm/verifier'
Making all in jni
make[2]: Entering directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/kaffe/kaffevm/jni'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/kaffe/kaffevm/jni'
make[2]: Entering directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/kaffe/kaffevm'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/kaffe/kaffevm'
make[1]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/kaffe/kaffevm'
Making all in libraries/clib
make[1]: Entering directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/clib'
Making all in security
make[2]: Entering directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/clib/security'
/bin/sh ../../../libtool --tag=CC   --mode=link arm-linux-gcc -Wall -W 
-Wextra -fno-strict-aliasing -fno-omit-frame-pointer -fsigned-char -pthread  
-g -O2  -no-undefined -module -release 1.1.8-pre -export-symbols-regex 
"^([Jj]ava|kaffe)_"  -o libsecurity.la -rpath 
/home/EmbeddedLinux/rfs/usr/jre/jre/lib/arm libsecurity_la-digest.lo 
libsecurity_la-kaffe_md5.lo libsecurity_la-sha-1.lo 
.../../../kaffe/kaffevm/libkaffevm.la
generating symbol list for `libsecurity.la'
arm-linux-ar  .libs/libsecurity_la-digest.o .libs/libsecurity_la-kaffe_md5.o 
..libs/libsecurity_la-sha-1.o  |  | /bin/sed 's/.* //' | sort | uniq > 
..libs/libsecurity.exp
.../../../libtool: eval: line 4297: syntax error near unexpected token `|'
.../../../libtool: eval: line 4297: `arm-linux-ar  
..libs/libsecurity_la-digest.o .libs/libsecurity_la-kaffe_md5.o 
..libs/libsecurity_la-sha-1.o  |  | /bin/sed 's/.* //' | sort | uniq > 
..libs/libsecurity.exp'
make[2]: *** [libsecurity.la] Error 1
make[2]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/clib/security'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/EmbeddedLinux/rfs/home/kaffe-arm/libraries/clib'
make: *** [all-recursive] Error 1


>Hi Kelvin,
> > cc1: warnings being treated as errors
>Looks like what I encountered for m68k/linux.
>Try to configure with '--disable-Werror' option.
>
>Kiyo
>
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