[kaffe] unable to compile for blackfin/uClinux
Jeff Ramin
ramin at berbee.com
Wed Aug 13 07:44:25 PDT 2008
Hi folks.
I'm new to the embedded world. I'm attempting to get a Java
application running on a Blackfin powered board. I'm following
the instructions on this page:
http://docs.blackfin.uclinux.org/doku.php?id=run_java_application_on_stamp_board
I've successfully compiled kaffe for my host linux system (although
I had to disable some functionality). I'm now trying to compile kaffe
for Blackfin/uClinux, using this command:
./configure --host=bfin-uclinux --disable-native-awt --enable-pure-java-math --with-gc=kaffe-gc
--with-threads=unix-pthreads --enable-static --with-staticlib --with-staticbin --with-staticvm
--disable-binreloc --disable-alsa --without-esd --with-engine=intrp --disable-gconf-peer
When I run make, I receive this error:
< much output removed >
gcc -DHAVE_CONFIG_H -I. -I../../../config -I../../../kaffe/kaffevm/systems/unix-pthreads
-I../../../kaffe/kaffevm/jni -I.. -I./.. -DINTERPRETER -I../../../include -I../../../config/bfin
-I../../../config/bfin/uclinux -DDIRECT_THREADING
-I/usr/local/downloads/kaffe-1.1.8.forUClinux/./kaffe/kaffevm
-I/usr/local/downloads/kaffe-1.1.8.forUClinux/./kaffe/kaffevm/intrp
-I/usr/local/downloads/kaffe-1.1.8.forUClinux/./kaffe/kaffevm/systems/unix-pthreads
-I../../../replace -I../../../config -I../../../include
-I../../../libraries/javalib/external/classpath/include -DKAFFE_VMDEBUG -D_REENTRANT -Wall -W
-Wextra -fno-strict-aliasing -fno-omit-frame-pointer -fsigned-char -D__UCLIBC__ -D__unix__
-DKAFFEMD_BUGGY_STACK_OVERFLOW -DKAFFE_VMDEBUG -D_SCALB_INT -Wl,-elf2flt -pthread -g -O2 -MT
methodcalls.lo -MD -MP -MF .deps/methodcalls.Tpo -c methodcalls.c -o methodcalls.o
In file included from ../locks.h:18,
from methodcalls.c:21:
../../../config/md.h:62:1: warning: "unix" redefined
<built-in>: warning: this is the location of the previous definition
../../../config/bfin/sysdepCallMethod.h: In function 'sysdepCallMethod':
../../../config/bfin/sysdepCallMethod.h:37: error: invalid register name for 'r0'
../../../config/bfin/sysdepCallMethod.h:38: error: invalid register name for 'r1'
../../../config/bfin/sysdepCallMethod.h:39: error: invalid register name for 'r2'
make[2]: *** [methodcalls.lo] Error 1
make[2]: Leaving directory `/usr/local/downloads/kaffe-1.1.8.forUClinux/kaffe/kaffevm/intrp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/downloads/kaffe-1.1.8.forUClinux/kaffe/kaffevm'
make: *** [all-recursive] Error 1
This output is from kaffe 1.1.8. I'm not using 1.1.9 because I
couldn't get that to compile either, and thought perhaps an older
version would do the trick.
I've googled extensively and haven't been able to find a solution.
Any help would be greatly appreciated.
Thanks!
--
Jeffrey Ramin
Berbee
ramin at berbee.com
608.298.1024
More information about the kaffe
mailing list