[kaffe] Cross-compiling Kaffe-1.1.4 for Motorola ColdFire

Nils Ratusznik nils.ratusznik at gruik.net
Wed May 5 06:01:02 PDT 2004


Hello everybody!

I have some problems with my attempts to compile Kaffe for uClinux/ColdFire.
I'm using uClibc-0.9.26 and uClinux-dist-20040218-cobra-20040324.
And, of course, I' using the m68k-elf gcc.
My config script is the following :

KAFFEH="/usr/local/kaffe/bin/kaffeh" LDFLAGS="-m5307 -Os -g
-fomit-frame-pointer -fno-builtin -Wl,-elf2flt -Wl,-move-rodata
-L/home/thenastyboy/Dev/include/lib/.
-Wl,-R,/home/thenastyboy/Dev/include/lib/libc.gdb -lc" CFLAGS="-m5307 -Os
-g -fomit-frame-pointer -fno-builtin -msep-data
-I/home/thenastyboy/Dev/linux-2.4.x -I/home/thenastyboy/Dev/include"
CC="/usr/local/bin/m68k-elf-gcc  " NM="/usr/local/bin/m68k-elf-nm"
AR="/usr/local/bin/m68k-elf-ar" ./configure --host=m68k-linux
--build=i686-linux --with-includes=/home/thenastyboy/Dev/include
--with-libraries=/home/thenastyboy/Dev/include/lib/. --disable-debug
--disable-xprofiling --disable-feedback --disable-gcj --disable-mips
--disable-mips2 --disable-alsatest --disable-esdtest --disable-sound
--without-profiling --without-stats --enable-pure-java-math
--disable-static --prefix=$HOME/vmkaffe --exec-prefix=$HOME/vmkaffe
--without-alsa --without-esd --with-class-library-profile=default
--with-engine=intrp --without-x
--with-rt-jar=/home/thenastyboy/progs/rt.jar --with-staticlib=no
--with-staticbin=no --with-staticvm=no --disable-mips2i

I do : "./configscript.sh", and all is configured without any problem.
When I try "make", Kaffe doesn't compile. It says :
/usr/local/lib/gcc-lib/m68k-elf/2.95.3/../../../..m68k-elf/include/arpa/inet.h:67:
previous declaration of 'inet_ntop'
make[1]: *** [inet_ntop.lo] Erreur 1
make[1]: Leaving directory '/home/thenastyboy/Dev/kaffe-1.1.4/replace'
make: *** [all-recursive] Erreur 1


Does someone have an idea about that?
Thanks a lot

To Dalibor : I recompiled tr.jar with Eclipse and I managed to get a 1 Mo
tr.jar file, thanks a lot for your help!
-- 
Nils Ratusznik
Utilisateur Linux #339713






More information about the kaffe mailing list