[kaffe] porting kaffe-awt-qt and libtool

Dalibor Topic robilad at yahoo.com
Mon Nov 11 01:35:06 PST 2002

--- Helmer Krämer <hkraemer at freenet.de> wrote:
> On 10 Nov 2002 13:09:45 -0800
> Brian Beattie <beattie at beattie-home.net> wrote:
> Hi,
> > I've ported kaffe to the Zaurus openzaurus distro
> and am now trying to
> > port the awt-qt library.  I'm haveing a real
> problem with libtool.  I
> > thought I had finally figured out how to build the
> libraries, but I'm
> > getting "java.lang.ExceptionInInitializerError:
> [exception was
> > java.lang.UnsatisfiedLinkError: libawt: not
> found]".
> ${KAFFESRC}/config/config.h contains a macro called
> which defines the file extension used by shared
> libraries. If this
> one is not properly defined, kaffe will fail to find
> and thus load
> any native lib.  Would you please check that macro? 
> Mine contains
> something like '#define LTDL_SHLIB_EXT ".so"' for
> debian. 

If that fails, you'll have to try and debug it.
Configure kaffe with --enable-debug, and run it with 

$ kaffe -vmdebug NATIVELIB yourClassFile

to trace native methods lookup.

Take a look at FAQ/FAQ.debugging for more info on
debugging kaffe.

best regards,

dalibor topic

Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos

More information about the kaffe mailing list