Can't compile on sparc32-linux java/jcf-io.c:188 `Z_NO_COMPRESSION' undeclared etc

Christian Jönsson christian@j-son.org
Mon May 20 22:28:00 GMT 2002


On Tue, May 21, 2002 at 02:46:51PM +1200, Bryce McKinlay wrote:
> Christian Jönsson wrote:
> 
> >Configure: /share2/gcc-rel/gcc/configure --host=sparc-linux --prefix=/usr 
> >--enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib 
> >--enable-languages=c,c++,f77,oobjc,java --enable-nls 
> >--without-included-gettext
> >
> >When trying to bootstrap the gcc-3.1 branch on sparc32-linux, I get
> >the following problems:
> >
> >/share2/gcc-rel/gcc/gcc/java/jcf-io.c: In function `read_zip_member':
> >/share2/gcc-rel/gcc/gcc/java/jcf-io.c:188: `Z_NO_COMPRESSION' undeclared 
> >(first use in this function)
> > 
> >
> 
> Do you have zlib headers installed on your system? If so then I guess 
> this is a problem with "--with-system-zlib".

sorry, my fault. new machine with a few dev packages missing :-)

Cheers,

/ChJ



More information about the Java mailing list