build exim error

shaahin

New member
Joined
Mar 26, 2017
Messages
2
hi

when update exim with custombuild error :

gcc lf_sqlperform.c make[2]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.91/build-Linux-x86_64/lookups' make[2]: Entering directory `/usr/local/directadmin/custombuild/exim-4.91/build-Linux-x86_64/pdkim' gcc pdkim.c gcc signing.c signing.c: In function 'exim_dkim_signing_init': signing.c:712: warning: passing argument 1 of 'BIO_new_mem_buf' discards qualifiers from pointer target type signing.c: In function 'exim_dkim_verify': signing.c:856: error: 'EVP_PKEY_CTX' undeclared (first use in this function) signing.c:856: error: (Each undeclared identifier is reported only once signing.c:856: error: for each function it appears in.) signing.c:856: error: 'ctx' undeclared (first use in this function) make[2]: *** [signing.o] Error 1 make[2]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.91/build-Linux-x86_64/pdkim' make[1]: *** [pdkim/pdkim.a] Error 2 make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.91/build-Linux-x86_64' make: *** [all] Error 2 *** The make has failed, would you like to try to make again? (y,n):

- Please help me solve this error
 
It is failing because it can't find the definition for EVP_PKEY_CTX. It should be defined in openssl/ossl_typ.h which in turn should have been included from openssl/rsa.h that the signing.c actually includes.

From what I read this was introduced in OpenSSL 1.0.0. You didn't mention your OS version, so it is hard to tell which version of OpenSSL you have or that you have installed the devel packages required for OpenSSL development.
 
Back
Top