[kaffe] crosscompilation for arm:libnative error

mourad el badaoui elbadaouimourad at gmail.com
Mon Mar 7 01:58:35 PST 2005


Hi everybdy
well i have a problem in cross compiling kaffe-1.1.4 for "arm
9\uclinux" under linux redhat 9, and i wonder if someone could help me
to resolve it and thx.
the configuration i use is as follows:
####################################################
CFLAGS="-mcpu=arm9 -Wl,-elf2flt -D__ARM__ -D__uclinux__" \
PATH="$HOME/kaffe/bin:$PATH" \
KAFFEH="$HOME/kaffe/bin/kaffeh" \
CC="/usr/local/bin/arm-elf-gcc" \
AR="/usr/local/bin/arm-elf-ar" \
AS="/usr/local/bin/arm-elf-as" \
LD="/usr/local/bin/arm-elf-ld" \
NM="/usr/local/bin/arm-elf-nm" \
STRIP="/usr/local/bin/arm-elf-strip" \
RANLIB="/usr/local/bin/arm-elf-ranlib" \
../kaffe-1.1.4/configure \
--prefix=$HOME/kaffe-arm \
--enable-pure-java-math \
--disable-profiling \
--disable-xprofiling \
--disable-xdebugging \
--disable-feedback \
--without-profiling \
--without-stats \
--disable-gcj \
--host=arm-linux \
--build=i686-linux \
--with-includes=/usr/local/arm-elf/include \
--with-libs=/usr/local/arm-elf/lib \
--disable-sound \
--without-awt \
--without-x \
--with-engine=intrp  
############################################################
but when i launch the make command i get the following error:
####################################
/usr/local/arm-elf/bin/ld.real:.libs/libnative.ver:1: parse error in
VERSION script
collect2: ld returned 1 exit status
make[2]: *** [libnative.la] Erreur 1
make[2]: Quitte le répertoire
`/home/elbadaoui/kaffe-1.1.4/libraries/clib/native'
make[1]: *** [all-recursive] Erreur 1
make[1]: Quitte le répertoire `/home/elbadaoui/kaffe-1.1.4/libraries/clib'
make: *** [all-recursive] Erreur 1
[elbadaoui at pingui kaffe-1.1.4]$ nedit bconf
####################################"
thx again

best regards,
Mourad EL BADAOUI



More information about the kaffe mailing list