[Zlib-devel] zlib 1.2.5 coming soon to website near you
Vincent Torri
vtorri at univ-evry.fr
Mon Apr 19 16:39:47 EDT 2010
On Mon, 19 Apr 2010, Vincent Torri wrote:
> with mingw-w64:
>
> CHOST="x86_64-w64-mingw32" ./configure
> make
>
> there is an error:
forget it, i was in a wrong directory (1.2.4.4). I should remove the old
directories to avoid that kind of error :)
I have some warnings about the visibility attribute when using
win32/Makefile.gcc and mingw-w64:
gzlib.c: In function 'gz_error':
gzlib.c:518:1: warning: visibility attribute not supported in this
configuration; ignored
inffast.c: In function 'inflate_fast':
inffast.c:324:1: warning: visibility attribute not supported in this
configuration; ignored
inftrees.c: In function 'inflate_table':
inftrees.c:330:1: warning: visibility attribute not supported in this
configuration; ignored
trees.c:1243:1: warning: visibility attribute not supported in this
configuration; ignored
trees.c:1243:1: warning: visibility attribute not supported in this
configuration; ignored
trees.c: In function '_tr_init':
trees.c:409:1: warning: visibility attribute not supported in this
configuration; ignored
trees.c: In function '_tr_stored_block':
trees.c:882:1: warning: visibility attribute not supported in this
configuration; ignored
trees.c: In function '_tr_align':
trees.c:918:1: warning: visibility attribute not supported in this
configuration; ignored
trees.c: In function '_tr_flush_block':
trees.c:1019:1: warning: visibility attribute not supported in this
configuration; ignored
trees.c: In function '_tr_tally':
trees.c:1070:1: warning: visibility attribute not supported in this
configuration; ignored
zutil.c: In function 'zcalloc':
zutil.c:308:1: warning: visibility attribute not supported in this
configuration; ignored
zutil.c: In function 'zcfree':
zutil.c:316:1: warning: visibility attribute not supported in this
configuration; ignored
Vincent Torri
>
> 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
>
> _______________________________________________
> Zlib-devel mailing list
> Zlib-devel at madler.net
> http://mail.madler.net/mailman/listinfo/zlib-devel_madler.net
>
>
More information about the Zlib-devel
mailing list