[Zlib-devel] zlib 1.2.5 coming soon to website near you

Vincent Torri vtorri at univ-evry.fr
Mon Apr 19 16:32:19 EDT 2010



On Mon, 19 Apr 2010, Mark Adler wrote:

> All,
>
> Nelson reported successful builds of 1.2.4.5 on all 36 of his systems.  I plan to release zlib 1.2.5 tonight.  This is your last chance for testing and recommended changes before it goes out.  Thank you all for your help.

with mingw-w64:

CHOST="x86_64-w64-mingw32" ./configure
make

there is an error:

x86_64-w64-mingw32-gcc -shared -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_VIZ -o libz.so.1.2.4.4 adler32.lo compress.lo crc32.lo deflate.lo gzclose.lo gzlib.lo gzread.lo gzwrite.lo infback.lo inffast.lo inflate.lo inftrees.lo trees.lo uncompr.lo zutil.lo  -lc -L/home/torri/local/mingw64/lib
/home/torri/local/opt/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [libz.so.1.2.4.4] Error 1

On the other hand:

make -f win32/Makefile.gcc RANLIB=x86_64-w64-mingw32-ranlib 
AR="x86_64-w64-mingw32-ar" CC=x86_64-w64-mingw32-gcc 
RC=x86_64-w64-mingw32-windres STRIP=x86_64-w64-mingw32-strip 
CFLAGS="-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls 
-Wwrite-strings -Wcast-align -Wall -W -Wextra -pedantic -m64"

compiles everything without a single warning. I can't run tests, though

Vincent Torri




More information about the Zlib-devel mailing list