[kaffe] Kaffe and AWT - Problems

Dalibor Topic robilad at kaffe.org
Mon Mar 1 07:43:03 PST 2004


Hi Heppan,

heppan at arcor.de wrote:
> i want to start a small awt programm

> so i put the libawt from /home/pr4/local/kaffe113qt/jre/lib/i386
> to the LD_LIBRARY_PATH and then there is the error message:
> 
> java.lang.UnsatisfiedLinkError: /home/pr4/local/kaffe113qt/jre/lib/i386/libawt-1.1.3.so: undefined symbol: _ZN7QWidget8x11EventEP7_XEvent
> Adding its directory to LD_LIBRARY_PATH may help.
>    at java.awt.Window.<init> (Window.java:34)
>    at java.awt.Window.<clinit> (Window.java:26)
> 
> what is _ZN7QWidget8x11EventEP7_XEven ? i have no idea, need help

bash-2.05a$ c++filt _ZN7QWidget8x11EventEP7_XEvent
QWidget::x11Event(_XEvent*)

You need to make sure the Qt version you've build against is in your 
LD_LIBRARY_PATH and that you're using the same version of g++ that your 
library was built with. See FAQ.AWT for details in the faq directory.

cheers,
dalibor topic




More information about the kaffe mailing list