[kaffe] CROSS_COMPILE kaffe for arm

Manuel Sahm Manuel.Sahm at feig.de
Tue Jun 3 02:12:45 PDT 2008


Hello,

while cross-compiling kaffe for arm this error occurs:

make[2]: Entering directory `/root/Desktop/kaffe-arm/kaffe/kaffevm/jit3'
/bin/sh ../../../libtool --tag=CC   --mode=compile 
/root/Desktop/arm-2007q1/bin/arm-none-linux-gnueabi-gcc -std=gnu99 
-DHAVE_CONFIG_H -I. -I../../../config 
-I../../../../kaffe-1.1.9/kaffe/kaffevm/jit3  
-I../../../../kaffe-1.1.9/kaffe/kaffevm/systems/unix-pthreads 
-I../../../../kaffe-1.1.9/kaffe/kaffevm/jni -I.. 
-I../../../../kaffe-1.1.9/kaffe/kaffevm/jit3/.. -DTRANSLATOR -DJIT3 
-I../../../../kaffe-1.1.9/kaffe/xprof 
-I../../../../kaffe-1.1.9/kaffe/jvmpi -I../../../include 
-I../../../../kaffe-1.1.9/config/arm 
-I../../../../kaffe-1.1.9/config/arm/linux -I/opt/gnome/include/glib-2.0 
-I/opt/gnome/lib/glib-2.0/include   
-I/root/Desktop/kaffe-arm/../kaffe-1.1.9/kaffe/kaffevm 
-I/root/Desktop/kaffe-arm/../kaffe-1.1.9/kaffe/kaffevm/jit3 
-I/root/Desktop/kaffe-arm/../kaffe-1.1.9/kaffe/kaffevm/systems/unix-pthreads 
-I../../../../kaffe-1.1.9/replace -I../../../../kaffe-1.1.9/config 
-I../../../../kaffe-1.1.9/include  -DKAFFE_VMDEBUG -D_REENTRANT -Wall -W 
-Wextra -fno-strict-aliasing -fno-omit-frame-pointer -fsigned-char 
-pthread -g -O2 -MT funcs.lo -MD -MP -MF .deps/funcs.Tpo -c -o funcs.lo 
../../../../kaffe-1.1.9/kaffe/kaffevm/jit3/funcs.c
 /root/Desktop/arm-2007q1/bin/arm-none-linux-gnueabi-gcc -std=gnu99 
-DHAVE_CONFIG_H -I. -I../../../config 
-I../../../../kaffe-1.1.9/kaffe/kaffevm/jit3 
-I../../../../kaffe-1.1.9/kaffe/kaffevm/systems/unix-pthreads 
-I../../../../kaffe-1.1.9/kaffe/kaffevm/jni -I.. 
-I../../../../kaffe-1.1.9/kaffe/kaffevm/jit3/.. -DTRANSLATOR -DJIT3 
-I../../../../kaffe-1.1.9/kaffe/xprof 
-I../../../../kaffe-1.1.9/kaffe/jvmpi -I../../../include 
-I../../../../kaffe-1.1.9/config/arm 
-I../../../../kaffe-1.1.9/config/arm/linux -I/opt/gnome/include/glib-2.0 
-I/opt/gnome/lib/glib-2.0/include 
-I/root/Desktop/kaffe-arm/../kaffe-1.1.9/kaffe/kaffevm 
-I/root/Desktop/kaffe-arm/../kaffe-1.1.9/kaffe/kaffevm/jit3 
-I/root/Desktop/kaffe-arm/../kaffe-1.1.9/kaffe/kaffevm/systems/unix-pthreads 
-I../../../../kaffe-1.1.9/replace -I../../../../kaffe-1.1.9/config 
-I../../../../kaffe-1.1.9/include -DKAFFE_VMDEBUG -D_REENTRANT -Wall -W 
-Wextra -fno-strict-aliasing -fno-omit-frame-pointer -fsigned-char 
-pthread -g -O2 -MT funcs.lo -MD -MP -MF .deps/funcs.Tpo -c 
../../../../kaffe-1.1.9/kaffe/kaffevm/jit3/funcs.c  -fPIC -DPIC -o 
.libs/funcs.o
In file included from ../../../../kaffe-1.1.9/kaffe/kaffevm/jit3/funcs.c:62:
../../../../kaffe-1.1.9/kaffe/kaffevm/jit3/jit.def: In function 
'epilogue_xxx':
../../../../kaffe-1.1.9/kaffe/kaffevm/jit3/jit.def:365: warning: unused 
parameter 's'
../../../../kaffe-1.1.9/kaffe/kaffevm/jit3/jit.def: In function 'div_RRR':
../../../../kaffe-1.1.9/kaffe/kaffevm/jit3/jit.def:909: error: 'Llong8' 
undeclared (first use in this function)
../../../../kaffe-1.1.9/kaffe/kaffevm/jit3/jit.def:909: error: (Each 
undeclared identifier is reported only once
../../../../kaffe-1.1.9/kaffe/kaffevm/jit3/jit.def:909: error: for each 
function it appears in.)
../../../../kaffe-1.1.9/kaffe/kaffevm/jit3/jit.def: In function 'rem_RRR':
../../../../kaffe-1.1.9/kaffe/kaffevm/jit3/jit.def:1000: error: 'Llong8' 
undeclared (first use in this function)
make[2]: *** [funcs.lo] Error 1

What could I do ?

thank you very much




More information about the kaffe mailing list