[kaffe] Re: kaffe & AWT

Dalibor Topic robilad at kaffe.org
Tue Jun 15 04:21:02 PDT 2004

Hi Fabien,

Fabien Renaud wrote:
> Hi !
> I tried to do ´nm libkaffeawt.so | grep evtGet´ but I dont´t have 
> libkaffeawt !!
> If you meaned libawt it´s ok, otherwise I know where my problem comes 
> from ^^
> The result with libawt is :
> 0000f6a8 T Java_java_awt_Toolkit_evtGetNextEvent

Okay, so the symbol really is there. The bug you reported seems to be a 
bug in the i18n implementation of libc on your platform, which is 
triggered by libtool trying to create an error message since it doesn't 
find the symbol in the first native library it looks into. Please submit 
a bug report to your libc vendor about that one.

> During the HEAD make I really have a lot of warnings (I think something 
> like one thousand) like ´will never be executed´ or problem due to 
> prototype.

Yep. These warnings are extra warnings turned on beyound a simple -Wall, 
since I'd like to encourage people to fix those potential problems 
before they submit bug reports. So feel free to squash a few of them :)

> But that not the problem because I compiled HEAD :)
> Of  course I have now another problem ;)
> When I want to run any awt program :
> java.lang.UnsatisfiedLinkError: 
> /home/java/kaffe_cvs/jre/lib/arm/libawt-1.1.x-cvs.so: undefined symbol: 
> _ZN7QWidget14dragEnterEventEP15QDragEnterEvent
> Adding its directory to LD_LIBRARY_PATH may help.
> at java.awt.Window.<init> (Window.java:35)
> at java.awt.Window.<clinit> (Window.java:27)
> This time I used --disable-nls.

Make sure libqt(e) is in you LD_LIBRARY+PATH and that kaffe is compiled 
with the same compiler used to compile your qt library.  Please read 
FAQ.awt's troubleshooting section for more information.

dalibor topic

More information about the kaffe mailing list