[kaffe] cross-compiler kaffe1.1.4

Hammam Mounir hammam.mounir at gmail.com
Thu Mar 3 06:59:20 PST 2005

I report problems when trying to install kaffe-1.1.4 on RedHat Linux
(the latest RedHat).

Problem 1:

grep -E -e "^([Jj]ava|kaffe)_" ".libs/libnative.exp" > ".libs/libnative.expT"
mv -f ".libs/libnative.expT" ".libs/libnative.exp"
echo "{ global:" > .libs/libnative.ver
 cat .libs/libnative.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libnative.ver
 echo "local: *; };" >> .libs/libnative.ver
 arm-elf-gcc -shared  .libs/ByteToCharDefault.o
.libs/ByteToCharIconv.o .libs/CharToByteDefault.o
.libs/CharToByteIconv.o .libs/ObjectInputStream.o .libs/Class.o
.libs/ClassLoader.o .libs/Compiler.o .libs/Double.o .libs/Float.o
.libs/Math.o .libs/MemoryAdvice.o .libs/NativeLibrary.o .libs/Object.o
.libs/PrimordialClassLoader.o .libs/Runtime.o .libs/String.o
.libs/System.o .libs/Thread.o .libs/ThreadStack.o .libs/Throwable.o
.libs/UNIXProcess.o .libs/ZipFile.o .libs/Array.o .libs/Constructor.o
.libs/Field.o .libs/Method.o .libs/DateFormat.o .libs/TestNative.o
.libs/Arrays.o .libs/TimeZone.o  -lm -lc  -msingle-pic-base
-Wl,-elf2flt -Wl,-soname -Wl,libnative-1.1.4.so -Wl,-version-script
-Wl,.libs/libnative.ver -o .libs/libnative-1.1.4.so
/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
make[1]: *** [all-recursive] Erreur 1
make[1]: Quitte le répertoire `/home/hammam/Code/kaffe-1.1.4/libraries/clib'
make: *** [all-recursive] Erreur 1

Please can you help me ?

Best reagards.


More information about the kaffe mailing list