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

Bryce McKinlay bryce@waitaki.otago.ac.nz
Mon May 20 19:49:00 GMT 2002


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,objc,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".

regards

Bryce.




More information about the Java mailing list