<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>1<br>
</p>
<br>
<div class="moz-cite-prefix">On 01.03.2018 12:10, James Brown wrote:<br>
</div>
<blockquote type="cite"
cite="mid:AC2A3268-3EBF-4056-88D8-A52D9D5FD214@bordo.com.au">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 1 Mar 2018, at 5:56 pm, Aki Tuomi <<a
href="mailto:aki.tuomi@dovecot.fi" class=""
moz-do-not-send="true">aki.tuomi@dovecot.fi</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252" class="">
<div text="#000000" bgcolor="#FFFFFF" class="">
<p class=""><br class="">
</p>
<br class="">
<div class="moz-cite-prefix">On 01.03.2018 07:34, James
Brown wrote:<br class="">
</div>
<blockquote type="cite"
cite="mid:33759DB3-F58A-4648-9D21-E528C5DED57E@bordo.com.au"
class="">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252" class="">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252" class="">
<div style="caret-color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px; font-style: normal;
font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; text-align: start;
text-indent: 0px; text-transform: none; white-space:
normal; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration: none;" class="">On 1 Mar 2018,
at 4:09 pm, Aki Tuomi <<a
href="mailto:aki.tuomi@dovecot.fi" class=""
moz-do-not-send="true">aki.tuomi@dovecot.fi</a>>
wrote:
<blockquote type="cite" class="">
<div class="">
<div class="">
<div class=""><br class="">
</div>
<div class="">What SSL library and version?</div>
<div class="io-ox-signature">---<span
class="Apple-converted-space"> </span><br
class="">
Aki Tuomi</div>
</div>
</div>
</blockquote>
</div>
<br class="" style="caret-color: rgb(0, 0, 0);
font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant-caps: normal; font-weight:
normal; letter-spacing: normal; text-align: start;
text-indent: 0px; text-transform: none; white-space:
normal; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration: none;">
<div class="" style="caret-color: rgb(0, 0, 0);
font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant-caps: normal; font-weight:
normal; letter-spacing: normal; text-align: start;
text-indent: 0px; text-transform: none; white-space:
normal; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration: none;">OpenSSL</div>
<div class="" style="caret-color: rgb(0, 0, 0);
font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant-caps: normal; font-weight:
normal; letter-spacing: normal; text-align: start;
text-indent: 0px; text-transform: none; white-space:
normal; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration: none;"><br class="">
</div>
<div class="" style="caret-color: rgb(0, 0, 0);
font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant-caps: normal; font-weight:
normal; letter-spacing: normal; text-align: start;
text-indent: 0px; text-transform: none; white-space:
normal; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration: none;">
<div class="">$openssl version</div>
<div class="">OpenSSL 1.0.2g 1 Mar 2016</div>
</div>
<div class="" style="caret-color: rgb(0, 0, 0);
font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant-caps: normal; font-weight:
normal; letter-spacing: normal; text-align: start;
text-indent: 0px; text-transform: none; white-space:
normal; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration: none;"><br class="">
</div>
<div class="" style="caret-color: rgb(0, 0, 0);
font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant-caps: normal; font-weight:
normal; letter-spacing: normal; text-align: start;
text-indent: 0px; text-transform: none; white-space:
normal; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration: none;">But I also have:</div>
<div class="" style="caret-color: rgb(0, 0, 0);
font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant-caps: normal; font-weight:
normal; letter-spacing: normal; text-align: start;
text-indent: 0px; text-transform: none; white-space:
normal; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration: none;"><br class="">
</div>
<div class="" style="caret-color: rgb(0, 0, 0);
font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant-caps: normal; font-weight:
normal; letter-spacing: normal; text-align: start;
text-indent: 0px; text-transform: none; white-space:
normal; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration: none;">
<div class="">$ /usr/local/bin/openssl version</div>
<div class="">OpenSSL 1.1.0g 2 Nov 2017</div>
</div>
<div class="" style="caret-color: rgb(0, 0, 0);
font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant-caps: normal; font-weight:
normal; letter-spacing: normal; text-align: start;
text-indent: 0px; text-transform: none; white-space:
normal; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration: none;"><br class="">
</div>
<div class="" style="caret-color: rgb(0, 0, 0);
font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant-caps: normal; font-weight:
normal; letter-spacing: normal; text-align: start;
text-indent: 0px; text-transform: none; white-space:
normal; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration: none;">James.</div>
</blockquote>
<br class="">
Can you provide the cc call as well from make?<br class="">
<br class="">
Aki<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
<div class="">
<div class="">$ make</div>
<div class="">make all-recursive</div>
<div class="">Making all in .</div>
<div class="">old=`pwd` && cd . &&
abs_builddir=`pwd` && cd $old && \</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>cd
. && abs_srcdir=`pwd` && cd $old && \</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>(echo
"DOVECOT_INSTALLED=no"; cat dovecot-config.in | sed \</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>-e
"s|\$(top_builddir)|$abs_builddir|g" \</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>-e
"s|\$(incdir)|$abs_srcdir|g" \</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>-e
"s|\$(LIBICONV)|-liconv|g" \</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>-e
"s|\$(MODULE_LIBS)|-export-dynamic|g" \</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>-e
"s|^\(dovecot_pkgincludedir\)=|\1=/usr/local/include/dovecot|"
\</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>-e
"s|^\(dovecot_pkglibdir\)=|\1=/usr/local/lib/dovecot|" \</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>-e
"s|^\(dovecot_pkglibexecdir\)=|\1=/usr/local/libexec/dovecot|"
\</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>-e
"s|^\(dovecot_docdir\)=|\1=/usr/local/share/doc/dovecot|" \</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>-e
"s|^\(dovecot_moduledir\)=|\1=/usr/local/lib/dovecot|" \</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>-e
"s|^\(dovecot_statedir\)=|\1=/usr/local/var/lib/dovecot|" \</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>)
> dovecot-config</div>
<div class="">/bin/sh ./update-version.sh . .</div>
<div class="">Making all in src</div>
<div class="">Making all in lib-test</div>
<div class="">make[3]: Nothing to be done for `all'.</div>
<div class="">Making all in lib</div>
<div class="">make all-am</div>
<div class="">make[4]: Nothing to be done for `all-am'.</div>
<div class="">Making all in lib-settings</div>
<div class="">make[3]: Nothing to be done for `all'.</div>
<div class="">Making all in lib-auth</div>
<div class="">make[3]: Nothing to be done for `all'.</div>
<div class="">Making all in lib-dns</div>
<div class="">make[3]: Nothing to be done for `all'.</div>
<div class="">Making all in lib-master</div>
<div class="">make[3]: Nothing to be done for `all'.</div>
<div class="">Making all in lib-charset</div>
<div class="">make[3]: Nothing to be done for `all'.</div>
<div class="">Making all in lib-ssl-iostream</div>
<div class="">make[3]: Nothing to be done for `all'.</div>
<div class="">Making all in lib-dcrypt</div>
<div class="">/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.c</div>
<div class="">libtool: 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.o</div>
<div class="">dcrypt-openssl.c:117: error: field 'ctx' has
incomplete type</div>
<div class="">dcrypt-openssl.c: In function
'dcrypt_openssl_ctx_hmac_destroy':</div>
<div class="">dcrypt-openssl.c:451: warning: implicit
declaration of function 'HMAC_cleanup'</div>
<div class="">dcrypt-openssl.c: In function
'dcrypt_openssl_generate_ec_key':</div>
<div class="">dcrypt-openssl.c:555: error: dereferencing pointer
to incomplete type</div>
<div class="">dcrypt-openssl.c:556: error: dereferencing pointer
to incomplete type</div>
<div class="">dcrypt-openssl.c: In function
'dcrypt_openssl_ecdh_derive_secret_local':</div>
<div class="">dcrypt-openssl.c:588: error: dereferencing pointer
to incomplete type</div>
<div class="">dcrypt-openssl.c: In function
'dcrypt_openssl_ecdh_derive_secret_peer':</div>
<div class="">dcrypt-openssl.c:668: error: dereferencing pointer
to incomplete type</div>
<div class="">dcrypt-openssl.c:697: error: dereferencing pointer
to incomplete type</div>
<div class="">dcrypt-openssl.c:698: error: dereferencing pointer
to incomplete type</div>
<div class="">dcrypt-openssl.c: In function
'dcrypt_openssl_store_private_key_dovecot':</div>
<div class="">dcrypt-openssl.c:1461: error: dereferencing
pointer to incomplete type</div>
<div class="">dcrypt-openssl.c:1482: error: dereferencing
pointer to incomplete type</div>
<div class="">dcrypt-openssl.c:1489: error: dereferencing
pointer to incomplete type</div>
<div class="">dcrypt-openssl.c: In function
'dcrypt_openssl_load_private_key':</div>
<div class="">dcrypt-openssl.c:1615: error: dereferencing
pointer to incomplete type</div>
<div class="">dcrypt-openssl.c: In function
'dcrypt_openssl_store_public_key':</div>
<div class="">dcrypt-openssl.c:1765: error: dereferencing
pointer to incomplete type</div>
<div class="">dcrypt-openssl.c: In function
'dcrypt_openssl_private_to_public_key':</div>
<div class="">dcrypt-openssl.c:1801: error: dereferencing
pointer to incomplete type</div>
<div class="">dcrypt-openssl.c: In function
'dcrypt_openssl_name2oid':</div>
<div class="">dcrypt-openssl.c:2062: error: dereferencing
pointer to incomplete type</div>
<div class="">dcrypt-openssl.c: In function
'dcrypt_openssl_public_key_id_old':</div>
<div class="">dcrypt-openssl.c:2112: error: dereferencing
pointer to incomplete type</div>
<div class="">dcrypt-openssl.c: In function
'dcrypt_openssl_private_key_id_old':</div>
<div class="">dcrypt-openssl.c:2135: error: dereferencing
pointer to incomplete type</div>
<div class="">dcrypt-openssl.c: In function
'dcrypt_openssl_public_key_id_evp':</div>
<div class="">dcrypt-openssl.c:2153: error: dereferencing
pointer to incomplete type</div>
<div class="">make[3]: ***
[libdcrypt_openssl_la-dcrypt-openssl.lo] Error 1</div>
<div class="">make[2]: *** [all-recursive] Error 1</div>
<div class="">make[1]: *** [all-recursive] Error 1</div>
<div class="">make: *** [all] Error 2</div>
</div>
<div class=""><br class="">
</div>
</blockquote>
<br>
Can you also post your config.h? It should be at source root.<br>
<br>
Aki<br>
</body>
</html>