curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl 7.56.0 build problems

From: Michael Felt <michael_at_felt.demon.nl>
Date: Sun, 12 Nov 2017 15:19:43 +0100

On 12/11/2017 14:44, Patrick Monnerat via curl-library wrote:
>
> On 11/12/2017 01:36 PM, Michael Felt wrote:
>>
>> So, are you defining 'free_func'? - Looking for that now, but this
>> 'redefine' did not happen in 54.1 - which is the last version I have
>> been able to build.
>
> No, but zlib.h does, as a typedef. openssl/crypto.h defines it as a
> structure field and function arguments (AFAICS in my openssl version,
> that is not the same as yours).
> This is OK with gcc, but it seems the AIX compiler does not like
> redefining a typedef name as a formal argument variable.
>
> The problem has probably been introduced by commit
> https://github.com/curl/curl/commit/a243ce7ab289f0e7bb8a6b90b40fcf8fa62428bf.
> Maybe Johannes can help?

I suspect not - as I was never able to build 7.55 either. But I'll try
7.55 and see how that goes.

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.

Searching further.

>
> Patrick
> -------------------------------------------------------------------
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette:   https://curl.haxx.se/mail/etiquette.html
>

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