This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Can't compile on sparc32-linux java/jcf-io.c:188 `Z_NO_COMPRESSION'undeclared etc
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: Christian Jönsson <christian at j-son dot org>
- Cc: java <java at gcc dot gnu dot org>
- Date: Tue, 21 May 2002 14:46:51 +1200
- Subject: Re: Can't compile on sparc32-linux java/jcf-io.c:188 `Z_NO_COMPRESSION'undeclared etc
- References: <20020520150325.GA19179@j-son.org>
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.