[Zlib-devel] zlib 1.2.4.2 ready for its close up
Volker Grabsch
vog at notjusthosting.com
Fri Apr 9 22:49:00 EDT 2010
Mark Adler <madler at alumni.caltech.edu> schrieb:
> zlib 1.2.4.2 can be found at the usual place ( http://zlib.net/current/beta/ ).
>
> I would like to get this out quickly as 1.2.5 to correct two bugs in
> the new gz* code. Please give this a whirl. Thanks.
Zlib isn't consistent about the return type of the gz...64 functions.
Should it be z_off_t or z_off64_t?
For instance, when running on Debian/Linux-amd64 and cross-compiling
for win32, the following errors are issued:
$ ./configure --static
Building static library libz.a version 1.2.4.2 with i686-pc-mingw32-gcc.
Checking for off64_t... Yes.
Checking for fseeko... Yes.
Checking for unistd.h... Yes.
Checking whether to use vs[n]printf() or s[n]printf()... using
vs[n]printf().
Checking for vsnprintf() in stdio.h... Yes.
Checking for return value of vsnprintf()... Yes.
$ make
i686-pc-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o example.o example.c
i686-pc-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o adler32.o adler32.c
i686-pc-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o compress.o compress.c
i686-pc-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o crc32.o crc32.c
i686-pc-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o deflate.o deflate.c
i686-pc-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o gzclose.o gzclose.c
i686-pc-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o gzlib.o gzlib.c
gzlib.c:275: error: conflicting types for 'gzseek64'
gzguts.h:68: note: previous declaration of 'gzseek64' was here
gzlib.c:363: error: conflicting types for 'gztell64'
gzguts.h:69: note: previous declaration of 'gztell64' was here
gzlib.c:390: error: conflicting types for 'gzoffset64'
gzguts.h:70: note: previous declaration of 'gzoffset64' was here
make: *** [gzlib.o] Error 1
Greets,
Volker
--
Volker Grabsch
---<<(())>>---
Administrator
NotJustHosting GbR
More information about the Zlib-devel
mailing list