Re: cross-compile error
Kiyo Inaba <[email protected]> Sat, 19 Jan 2008 23:01:59 +0900 (JST)
| Newsgroups | gmane.comp.java.vm.kaffe.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Robert, >I just tried to cross-compile kaffe for ARM (I read the FAQ :) ). The It's good to hear from someone that FAQ.cross-compiling is useful ;-) >target (and toolchain) is GNU EABI which is not officially supported in >kaffe. So perhaps my compile error is just because of that - I get this: > >md.c: In function 'flush_dcache': >md.c:39: error: expected ':' or ')' before '__sys1' >md.c:35: warning: unused parameter 'start' >md.c:35: warning: unused parameter 'end' >make[2]: *** [libkaffe_la-md.lo] Error 1 It should not be related to EABI. This is common for recent version of linux distribution for arm. You simply add "#define KERNEL" just before the include for "unistd". Without having "KERNEL" defined, "__sys1" is not defined, and you get this error. Kiyo