[kaffe] Cross compile 1.1.5 for arm - configure: error: libXtst NOT found, required for GdkRobot

Martin West martin.west at dsl.pipex.com
Tue Jun 14 15:20:43 PDT 2005


I do need awt/swing but not completely understanding the information in
the FAQ.awt in respect of cross compiling for a zaurus with oz353, and
trying to check the end to end process I used 

./configure --prefix=/usr/local/kaffe-arm host=arm-linux --build=i686-
linux --disable-native-awt --enable-pure-java-math
ac_cv_c_char_unsigned=yes

which gave error ...

 gcc -DHAVE_CONFIG_H -I. -I. -I../../../config -I../../../include/kaffe
-I../../../kaffe/kaffevm/systems/unix-pthreads -
I../../../kaffe/kaffevm/jni -I.. -I./.. -DTRANSLATOR -I../../../include
-I/usr/local/downloads/zaurus/kaffe-1.1.5/./kaffe/kaffevm -
I/usr/local/downloads/zaurus/kaffe-1.1.5/./kaffe/kaffevm/jit -
I/usr/local/downloads/zaurus/kaffe-1.1.5/./kaffe/kaffevm/systems/unix-
pthreads -I../../../replace -I../../../binreloc -I../../../config -
I../../../include -DKAFFE_VMDEBUG -D_REENTRANT -g -O2 -Wall -fsigned-
char -fno-omit-frame-pointer -pthread -DENABLE_BINRELOC -c methodcalls.c
-Wp,-MD,.deps/methodcalls.TPlo  -fPIC -DPIC -o .libs/methodcalls.o
../../../config/arm/sysdepCallMethod.h: In function `engine_callMethod':
../../../config/arm/sysdepCallMethod.h:38: error: invalid register name
`r0' for register variable
../../../config/arm/sysdepCallMethod.h:39: error: invalid register name
`r1' for register variable
../../../config/arm/sysdepCallMethod.h:40: error: invalid register name
`r2' for register variable
../../../config/arm/sysdepCallMethod.h:41: error: invalid register name
`r3' for register variable
../../../config/arm/sysdepCallMethod.h:43: error: invalid register name
`f0' for register variable
../../../config/arm/sysdepCallMethod.h:71: error: unknown register name
`lr' in `asm'
../../../config/arm/sysdepCallMethod.h:71: error: unknown register name
`ip' in `asm'
make[3]: *** [methodcalls.lo] Error 1
make[3]: Leaving directory
`/usr/local/downloads/zaurus/kaffe-1.1.5/kaffe/kaffevm/jit'


On Tue, 2005-06-14 at 18:52 +0200, Dalibor Topic wrote: 
> Martin West wrote:
> > I am getting the following error cross configuring kaffe for the arm on
> > fedora core 3 (FC3) ...
> 
> > checking for XTestQueryExtension in -lXtst... no
> > configure: error: libXtst NOT found, required for GdkRobot
> 
> Hallo Martin,
> 
> Kaffe 1.1.5 uses classpath's AWT implementation by default, which in 
> recent versions needs the Xtst extension to X11 to implement AWt robot 
> functionality. If you do not intend to use AWT or swing on your target, 
> you can configure support away for them using --disable-native-awt. If 
> you intend to run 1.1-like AWT applications only, you may want to use 
> the Xlib or Qt/Embedded based AWT implementation available as additional 
> options. See FAQ/FAQ.awt for details on how to configure them, and what 
> they support.
> 
> cheers,
> dalibor topic
-- 
regards Martin West
01962 712 137
07879 680 096
http://thecla.homeftp.net
aim:amartinwest
msn:westam at dsl.pipex.com





More information about the kaffe mailing list