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

Kim, Seong Beom sbkim at mail.marusys.com
Fri Jan 10 04:34:01 PST 2003


Hi Dalibor,

I checked out kaffe source into a new directory and configured it with the
following options...
~/work/kaffe/configure --with-engine=intrp --with-awt=qt --with-qtdir=/home/sbki
m/work/qt-3.0.6 --with-jikes=/home/sbkim/bin/jikes --disable-debug --disable-xpr
ofiling --disable-xdebugging --disable-feedback --without-profiling --without-st
ats --disable-gcj

At the end of make, the following error messages occurred.

############# starts
  adding: org/tritonus/sampled/mixer/alsa/AlsaPortMixerProvider.class (deflated
46%)
  adding: org/tritonus/sampled/mixer/esd/EsdClip.class (deflated 50%)
  adding: org/tritonus/sampled/mixer/esd/EsdUtils.class (deflated 41%)
  adding: org/tritonus/sampled/mixer/esd/EsdMixer.class (deflated 58%)
  adding: org/tritonus/sampled/mixer/esd/EsdSourceDataLine.class (deflated 53%)
  adding:
org/tritonus/sampled/mixer/esd/EsdSourceDataLine$EsdSourceDataLineGainControl.cl
ass (deflated 48%)
  adding:
org/tritonus/sampled/mixer/esd/EsdSourceDataLine$EsdSourceDataLinePanControl.cla
ss (deflated 50%)
  adding:
org/tritonus/sampled/mixer/esd/EsdSourceDataLine$EsdSourceDataLineMuteControl.cl
ass (deflated 51%)
  adding: org/tritonus/sampled/mixer/esd/EsdTargetDataLine.class (deflated 51%)
  adding:
org/tritonus/sampled/mixer/esd/EsdTargetDataLine$EsdTargetDataLineGainControl.cl
ass (deflated 46%)
  adding: org/tritonus/sampled/mixer/esd/EsdMixerProvider.class (deflated 44%)
zip -r rt.jar META-INF
        zip warning: name not matched: META-INF

zip error: Nothing to do! (try: zip -r rt.jar . -i META-INF)
gmake[1]: *** [rt.jar] error 12
gmake[1]: leave `/home/sbkim/work/i386/kaffe/libraries/javalib' directory
############## ends

Strangely, nothing happens if I try another 'gmake'. Another gmake tells me
nothing to be done.
Is it alright?
Regression test tells me that I don't have 'InputStreamTest.java' file for
`check-TESTS'.
Hmmm, do I have to check out again?

Best Regards,
Kim, Seongbeom

p.s. my first name is Seongbeom, sorry for confusing name convention... ;-)



----- Original Message -----
From: "Dalibor Topic" <robilad at yahoo.com>
To: "Kim, Seong Beom" <sbkim at mail.marusys.com>; <kaffe at kaffe.org>
Sent: Friday, January 10, 2003 7:35 PM
Subject: Re: [kaffe] Is it a bug? System.loadLibrary() fails...


> Hi Seong,
>
> --- "Kim, Seong Beom" <sbkim at mail.marusys.com> wrote:
> > Dear members,
> >
> > This is the source code for simple test
> > application...
> >
> > ### begins here
> > import java.lang.*;
> > public class LoadTest
> > {
> >         public static void main( String[] args )
> >         {
> >                 System.loadLibrary( "pthread" );
> >         }
> > };
> > ### ends here
> >
> >
> > When I executed the java application with Kaffe on
> > my i386-linux-red hat 7.3,
> > it failed with this message.
>
>
> It should have been fixed with this patch :
> 2003-01-02 Helmer Kraemer <hkraemer at freenet.de>
>
>         * kaffe/kaffevm/external.c:
>         (LIBRARYLOAD) use lt_dlopenext instead of
> lt_dlopen. Let Libtool
>         append the extensions itself.
>         (LTDL_ARCHIVE_EXT) removed.
>         (libSuffixes) removed.
>         (TRY_LOAD_FOUND, TRY_LOAD_NOT_FOUND,
> TRY_LOAD_ERROR) removed.
>         (loadNativeLibrary2) just use LBRARYLOAD.
>
>         * libltdl/ltdl.c:
>         (lt_dlopenext) contained a bug that prevented
> it
>         from trying to load  non-libtool libraries.
>
> Could you update your sources from the CVS and check
> if it works?
>
> best regards,
> dalibor topic
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> _______________________________________________
> kaffe mailing list
> kaffe at kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe





More information about the kaffe mailing list