This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Can't compile on sparc32-linux java/jcf-io.c:188 `Z_NO_COMPRESSION' undeclared etc
- From: Christian Jönsson <christian at j-son dot org>
- To: java <java at gcc dot gnu dot org>
- Date: Mon, 20 May 2002 17:03:26 +0200
- Subject: Can't compile on sparc32-linux java/jcf-io.c:188 `Z_NO_COMPRESSION' undeclared etc
This was on a Debian Woody (test release) sun4m system with these
packages:
binutils 2.12.90.0.1-4
dejagnu 1.4.2-1.1
gcc 2:2.95.4-14 (Debian prerelease)
gcc-2.95 1:2.95.4-7 (Debian prerelease)
gnat 3.14p-3
kernel-image-2.2.20-sun4dm-smp 9
(but with a self compiled 2.4.19-pre8 SMP kernel running during build and test)
libc6 2.2.5-6
In-tree joined gcc-3.1 and binutils-2.12 cvs branches.
LAST_UPDATED: Mon May 20 10:16:14 UTC 2002
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)
/share2/gcc-rel/gcc/gcc/java/jcf-io.c:188: (Each undeclared identifier is reported only once
/share2/gcc-rel/gcc/gcc/java/jcf-io.c:188: for each function it appears in.)
/share2/gcc-rel/gcc/gcc/java/jcf-io.c:201: `z_stream' undeclared (first use in this function)
/share2/gcc-rel/gcc/gcc/java/jcf-io.c:201: parse error before "d_stream"
/share2/gcc-rel/gcc/gcc/java/jcf-io.c:202: `d_stream' undeclared (first use in this function)
/share2/gcc-rel/gcc/gcc/java/jcf-io.c:202: `alloc_func' undeclared (first use in this function)
/share2/gcc-rel/gcc/gcc/java/jcf-io.c:202: parse error before numeric constant
/share2/gcc-rel/gcc/gcc/java/jcf-io.c:203: `free_func' undeclared (first use in this function)
/share2/gcc-rel/gcc/gcc/java/jcf-io.c:203: parse error before numeric constant
/share2/gcc-rel/gcc/gcc/java/jcf-io.c:204: `voidpf' undeclared (first use in this function)
/share2/gcc-rel/gcc/gcc/java/jcf-io.c:204: parse error before numeric constant
/share2/gcc-rel/gcc/gcc/java/jcf-io.c:220: warning: implicit declaration of function `inflateInit2'
/share2/gcc-rel/gcc/gcc/java/jcf-io.c:220: `MAX_WBITS' undeclared (first use in this function)
/share2/gcc-rel/gcc/gcc/java/jcf-io.c:221: warning: implicit declaration of function `inflate'
/share2/gcc-rel/gcc/gcc/java/jcf-io.c:221: `Z_NO_FLUSH' undeclared (first use in this function)
/share2/gcc-rel/gcc/gcc/java/jcf-io.c:222: warning: implicit declaration of function `inflateEnd'
make[2]: *** [java/jcf-io.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/share2/gcc-rel/objdir/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/share2/gcc-rel/objdir/gcc'
make: *** [bootstrap-lean] Error 2
Cheers,
/ChJ