1
On 1 Mar 2018, at 5:56 pm, Aki Tuomi <aki.tuomi@dovecot.fi> wrote:
On 01.03.2018 07:34, James Brown wrote:
On 1 Mar 2018, at 4:09 pm, Aki Tuomi <aki.tuomi@dovecot.fi> wrote:
What SSL library and version?---
Aki Tuomi
OpenSSL
$openssl versionOpenSSL 1.0.2g 1 Mar 2016
But I also have:
$ /usr/local/bin/openssl versionOpenSSL 1.1.0g 2 Nov 2017
James.
Can you provide the cc call as well from make?
Aki
$ makemake all-recursiveMaking all in .old=`pwd` && cd . && abs_builddir=`pwd` && cd $old && \cd . && abs_srcdir=`pwd` && cd $old && \(echo "DOVECOT_INSTALLED=no"; cat dovecot-config.in | sed \-e "s|\$(top_builddir)|$abs_builddir|g" \-e "s|\$(incdir)|$abs_srcdir|g" \-e "s|\$(LIBICONV)|-liconv|g" \-e "s|\$(MODULE_LIBS)|-export-dynamic|g" \-e "s|^\(dovecot_pkgincludedir\)=|\1=/usr/local/include/dovecot|" \-e "s|^\(dovecot_pkglibdir\)=|\1=/usr/local/lib/dovecot|" \-e "s|^\(dovecot_pkglibexecdir\)=|\1=/usr/local/libexec/dovecot|" \-e "s|^\(dovecot_docdir\)=|\1=/usr/local/share/doc/dovecot|" \-e "s|^\(dovecot_moduledir\)=|\1=/usr/local/lib/dovecot|" \-e "s|^\(dovecot_statedir\)=|\1=/usr/local/var/lib/dovecot|" \) > dovecot-config/bin/sh ./update-version.sh . .Making all in srcMaking all in lib-testmake[3]: Nothing to be done for `all'.Making all in libmake all-ammake[4]: Nothing to be done for `all-am'.Making all in lib-settingsmake[3]: Nothing to be done for `all'.Making all in lib-authmake[3]: Nothing to be done for `all'.Making all in lib-dnsmake[3]: Nothing to be done for `all'.Making all in lib-mastermake[3]: Nothing to be done for `all'.Making all in lib-charsetmake[3]: Nothing to be done for `all'.Making all in lib-ssl-iostreammake[3]: Nothing to be done for `all'.Making all in lib-dcrypt/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-test -I../../src/lib-ssl-iostream -DDCRYPT_MODULE_DIR=\"/usr/local/lib/dovecot\" -I../../src/lib -I../../src/lib-test -I../../src/lib-ssl-iostream -DDCRYPT_MODULE_DIR=\"/usr/local/lib/dovecot\" -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT libdcrypt_openssl_la-dcrypt-openssl.lo -MD -MP -MF .deps/libdcrypt_openssl_la-dcrypt-openssl.Tpo -c -o libdcrypt_openssl_la-dcrypt-openssl.lo `test -f 'dcrypt-openssl.c' || echo './'`dcrypt-openssl.clibtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-test -I../../src/lib-ssl-iostream -DDCRYPT_MODULE_DIR=\"/usr/local/lib/dovecot\" -I../../src/lib -I../../src/lib-test -I../../src/lib-ssl-iostream -DDCRYPT_MODULE_DIR=\"/usr/local/lib/dovecot\" -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT libdcrypt_openssl_la-dcrypt-openssl.lo -MD -MP -MF .deps/libdcrypt_openssl_la-dcrypt-openssl.Tpo -c dcrypt-openssl.c -fno-common -DPIC -o .libs/libdcrypt_openssl_la-dcrypt-openssl.odcrypt-openssl.c:117: error: field 'ctx' has incomplete typedcrypt-openssl.c: In function 'dcrypt_openssl_ctx_hmac_destroy':dcrypt-openssl.c:451: warning: implicit declaration of function 'HMAC_cleanup'dcrypt-openssl.c: In function 'dcrypt_openssl_generate_ec_key':dcrypt-openssl.c:555: error: dereferencing pointer to incomplete typedcrypt-openssl.c:556: error: dereferencing pointer to incomplete typedcrypt-openssl.c: In function 'dcrypt_openssl_ecdh_derive_secret_local':dcrypt-openssl.c:588: error: dereferencing pointer to incomplete typedcrypt-openssl.c: In function 'dcrypt_openssl_ecdh_derive_secret_peer':dcrypt-openssl.c:668: error: dereferencing pointer to incomplete typedcrypt-openssl.c:697: error: dereferencing pointer to incomplete typedcrypt-openssl.c:698: error: dereferencing pointer to incomplete typedcrypt-openssl.c: In function 'dcrypt_openssl_store_private_key_dovecot':dcrypt-openssl.c:1461: error: dereferencing pointer to incomplete typedcrypt-openssl.c:1482: error: dereferencing pointer to incomplete typedcrypt-openssl.c:1489: error: dereferencing pointer to incomplete typedcrypt-openssl.c: In function 'dcrypt_openssl_load_private_key':dcrypt-openssl.c:1615: error: dereferencing pointer to incomplete typedcrypt-openssl.c: In function 'dcrypt_openssl_store_public_key':dcrypt-openssl.c:1765: error: dereferencing pointer to incomplete typedcrypt-openssl.c: In function 'dcrypt_openssl_private_to_public_key':dcrypt-openssl.c:1801: error: dereferencing pointer to incomplete typedcrypt-openssl.c: In function 'dcrypt_openssl_name2oid':dcrypt-openssl.c:2062: error: dereferencing pointer to incomplete typedcrypt-openssl.c: In function 'dcrypt_openssl_public_key_id_old':dcrypt-openssl.c:2112: error: dereferencing pointer to incomplete typedcrypt-openssl.c: In function 'dcrypt_openssl_private_key_id_old':dcrypt-openssl.c:2135: error: dereferencing pointer to incomplete typedcrypt-openssl.c: In function 'dcrypt_openssl_public_key_id_evp':dcrypt-openssl.c:2153: error: dereferencing pointer to incomplete typemake[3]: *** [libdcrypt_openssl_la-dcrypt-openssl.lo] Error 1make[2]: *** [all-recursive] Error 1make[1]: *** [all-recursive] Error 1make: *** [all] Error 2