Re: [exim] Exim 4.90 RC3 uploaded

Top Pagina
Delete this message
Reply to this message
Auteur: Jeremy Harris
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] Exim 4.90 RC3 uploaded
On 04/12/17 11:17, Frank Elsner wrote:
> Sorry, some cut&paste error must have occured :-(
> here ist the complete output again.
>
> On Mon, 4 Dec 2017 12:11:29 +0100 Frank Elsner wrote:
>
> [ ... ]
>
>> Maybe I shorted the output too much. Here ist the complete output
>
> gcc tls.c
> In file included from tls.c:122:0:
> tls-openssl.c: In function ‘verify_callback’:
> tls-openssl.c:444:17: warning: implicit declaration of function ‘X509_check_host’; did you mean ‘X509_check_trust’? [-Wimplicit-function-declaration]
>        if ((rc = X509_check_host(cert, CCS name, 0,
>                  ^~~~~~~~~~~~~~~
>                  X509_check_trust


... so by this point, the x509v3.h had not yet been included (we see it
below)

> tls-openssl.c: In function ‘tls_expand_session_files’:
> tls-openssl.c:1072:14: error: ‘tls_ext_ctx_cb {aka struct tls_ext_ctx_cb}’ has no member named ‘is_server’
>    if (!cbinfo->is_server)  /* client */
>               ^~


and also, a different problem (I should have spotted earlier, sorry).
You are trying to compile with a mismatched set of exim .c and .h files.

Wipe the build interim fileset using "make distclean". Then "make".

> tls-openssl.c:1092:15: error: ‘tls_ext_ctx_cb {aka struct tls_ext_ctx_cb}’ has no member named ‘is_server’
>      if (cbinfo->is_server)
>                ^~
> tls-openssl.c:1115:15: error: ‘tls_ext_ctx_cb {aka struct tls_ext_ctx_cb}’ has no member named ‘is_server’
>      if (cbinfo->is_server)
>                ^~
> In file included from tlscert-openssl.c:18:0,
>                  from tls.c:123:
> /usr/include/openssl/x509v3.h: At top level:
> /usr/include/openssl/x509v3.h:701:2: warning: #warning foo [-Wcpp]
>  #warning foo
>   ^~~~~~~
> make[1]: *** [Makefile:797: tls.o] Error 1

>