curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl 7.56.0 build problems

From: Patrick Monnerat via curl-library <curl-library_at_cool.haxx.se>
Date: Mon, 13 Nov 2017 00:41:56 +0100

On 11/12/2017 05:57 PM, Daniel Stenberg wrote:
> On Sun, 12 Nov 2017, Michael Felt wrote:
>
>> In any case - what ever the cross-dependencies there are between
>> zlib.h and openssl.h (I am using 1.0.2j atm) - 7.54.1 has no issue,
>> while 7.56.0 does, as does master.
>
> This problem is caused zlib which has a "#define free_func ..." (in
> zconf.h).
>
> It might be possible to fix this issue with a well placed "#undef
> free_func" somewhere.
Beware: zlib's free_func is used in content_encoding.c.
Alternatively, we can include zlib.h only in referencing sources
(content_encoding.c, version.c) that do not include openssl stuff
instead of urldata.h, and give it a try on AIX,

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-11-13