[kaffe] problems with x

heppan at arcor.de heppan at arcor.de
Wed Mar 17 08:03:02 PST 2004


hi, 

i want to crosscompile kaffe from i386 to an arm. when i run 
./configure --prefix=/home/pr4/local/kaffe114arm --build=i386-linux --host=arm-linux --enable-pure-java-math --with-staticlib --with-staticvm--with-staticbin --enable-static=yes --disable-sound --disable-alsatest --disable-esdtest --without-alsa --without-esd 
i got the error message:
/usr/local/arm/3.3.1/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11
/usr/local/arm/3.3.1/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11
/usr/local/arm/3.3.1/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
rm -f .libs/kaffe-binS.o
make[2]: *** [kaffe-bin] Fehler 1

does anyone know a solve?
when i try to compile kaffe with the same configure but with --without-x and i got this:
/home/pr4/virtualmachine/kaffe-1.1.4/kaffe/kaffe/kaffe-bin: /home/pr4/virtualmachine/kaffe-1.1.4/kaffe/kaffe/kaffe-bin: cannot execute binary file
make[3]: *** [ClassToInterface.class] Fehler 126
make[3]: Leaving directory `/home/pr4/virtualmachine/kaffe-1.1.4/test/regression/compile_time'
make[2]: *** [all-recursive] Fehler 1

this is strange, because kaffe-bin isn't a bin file. what's the problem??

thx 4 support + help

heppan









More information about the kaffe mailing list