[kaffe] [ Problem cross compilation with icode]

Fabien Renaud renaud at nentec.de
Fri Apr 23 07:25:03 PDT 2004


I try to compile on  my x86 kaffe for a Xscale ARM embedded machine.  
When I ru n make I have this :

In file included from icode.c:24:
../object.h:19:30: java_lang_Object.h: No such file or directory
In file included from ../object.h:20,
                 from icode.c:24:
../../../include/Arrays.h:18: error: parse error before "Hjava_lang_Object"
../../../include/Arrays.h:18: warning: no semicolon at end of struct or 
union
../../../include/Arrays.h:18: error: parse error before '}' token
../../../include/Arrays.h:18: warning: type defaults to `int' in 
declaration of `HArrayOfBoolean'
../../../include/Arrays.h:18: warning: data definition has no type or 
storage class
../../../include/Arrays.h:19: error: parse error before "Hjava_lang_Object"
../../../include/Arrays.h:19: warning: no semicolon at end of struct or 
union
../../../include/Arrays.h:19: error: conflicting types for `data'
../../../include/Arrays.h:18: error: previous declaration of `data'
../../../include/Arrays.h:19: error: parse error before '}' token
....

../classMethod.h:486: error: parse error before "Hjava_lang_ClassLoader"
../classMethod.h:487: warning: function declaration isn't a prototype
../classMethod.h:501: error: parse error before "Hjava_lang_ClassLoader"
../classMethod.h:501: warning: function declaration isn't a prototype
../classMethod.h:502: error: parse error before "Hjava_lang_ClassLoader"
../classMethod.h:502: warning: function declaration isn't a prototype
../classMethod.h:524: error: parse error before '*' token
../classMethod.h:526: warning: function declaration isn't a prototype
../classMethod.h:537: error: parse error before '*' token
../classMethod.h:539: warning: function declaration isn't a prototype
../classMethod.h:548: error: parse error before '*' token
../classMethod.h:548: warning: function declaration isn't a prototype
../classMethod.h:555: error: parse error before '*' token
../classMethod.h:555: warning: function declaration isn't a prototype
icode.c: In function `call_indirect_method':
icode.c:2570: error: dereferencing pointer to incomplete type
icode.c: In function `check_array_index':
icode.c:3322: error: parse error before ')' token
icode.c: In function `check_array_constindex':
icode.c:3341: error: parse error before ')' token
make[2]: *** [icode.lo] Error 1
make[2]: Leaving directory 
`/home/commgw/renaud/commbox/kaffe-1.1.4/kaffe/kaffevm/jit'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/commgw/renaud/commbox/kaffe-1.1.4/kaffe/kaffevm'
make: *** [all-recursive] Error 1

Someome has an idea ?





More information about the kaffe mailing list