Kaffe having trouble with gnujsp.jar

Timothy Stack stack at cs.utah.edu
Mon Apr 3 14:32:55 PDT 2000


> > > sballard at rainbow:~/kaffe$ jar tvf /usr/share/java/gnujsp.jar
> > > java.lang.UnsatisfiedLinkError: Failed to locate native function:
> > > java/util/zip/Inflater.init(Z)V
> > >       at kaffe.util.zip.SwitchInflater.<init>(SwitchInflater.java:23)
> > >       at java.util.zip.ZipInputStream.<init>(ZipInputStream.java:33)
> > >       at kaffe.tools.jar.Jar.listFilesInJar(Jar.java:597)
> > >       at kaffe.tools.jar.Jar.processJar(Jar.java:402)
> > >       at kaffe.tools.jar.Jar.start(Jar.java:60)
> > >       at kaffe.tools.jar.Jar.main(Jar.java:39)
> 
> (cvs from about 10amEST 04/03/2000, I just did
> ./configure --prefix=/home/sballard/kaffe-test; make; make install
> and then put /home/sballard/kaffe-test/bin as the first entry in my
> PATH)
> 
> It sounds like something missing from LD_LIBRARY_PATH but the wrapper
> scripts are supposed to take care of that... aren't they?

from kaffe/clib/zip/Inflater.c, line 17:

 #if defined(HAVE_LIBZ) && defined(HAVE_ZLIB_H)

Are you sure you have zlib installed when you configure?  Since the `init'
function exists in this file, i can only imagine that the reason its
failing is because of this ifdef.

> Thanks in advance,
> Stuart.

tim


More information about the kaffe mailing list