On Mon, 4 Dec 2017 11:43:48 +0000 Jeremy Harris wrote:

  [ ... ]

> ... 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".

I did  but the error persists

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
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 */
              ^~
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 

Please note the warning at the end.

--Frank

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to