[kaffe] Is it a bug? System.loadLibrary() fails...

Dalibor Topic robilad at yahoo.com
Thu Jan 16 04:13:01 PST 2003

Hi Seongbeom,

--- "KIM, Seongbeom" <sbkim at mail.marusys.com> wrote:
> ----- Original Message -----
> >
> > Does that happen with Qt-awt or Xlib awt or both?
> It happens only with Qt-awt.
> I solved this issue by adding a couple of compile
> options in
> $KAFFE_HOME/libraries/clib/awt/qt/Makefile.
> The original CXXFLAGS in the Makefile was:
> After the modification:
> -fno-exceptions -fno-rtti -DQWS
> What I added was those options in CFLAGS.
> Because the source files in QT directory are '.cc',
> only CXXFLAGS are applied
> during build.
> If '-fno-rtti' is not defined during compile, link
> error happens when java vm
> trys to load libqte.so.
> (The embedded-QT library, libqte.so, is also built
> with '-fno-rtti' option.)
> I forgot to report this issue, and really forgot the
> issue itself. :(
> Sorry for bothering you.

Bug reports are always welcome, patches even more so

As you are using -DQWS I assume that you are compiling
for the Qtopia environment. There is a patch to fix
the Qtopia problems here :

Could you check if it helps in your case?
> I also think LD_LIBRARY_PATH is enough to handle
> libraries.
> Thank you for the thorough tests.

Thanks. I'll check in an improved error message, then.

best regards,
dalibor topic

Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

More information about the kaffe mailing list