Hmmm... I did what was suggested below. No change in errors and warnings..
I moved over to FreeBSD 12 Alpha 6 and did the same install and got
the same errors. FreeBSD 12 Alpha 6 tho comes with Unbound 1.8.0 but
is only OpenSSL 1.0.2p-freebsd and so does not have TLS 1.3
So.. WHat I did in order.
Install FreeBSD 12 A 6 on a clean HD in a AMD 64 based machine.
wget OpenSSL-1.1.1
./config
make install
wget unbound-1.8.0
./configure --with-ssl=/usr/local/openssl-1.1.1
Tried with and without +USES= autoreconf cpe libtool ssl
pkgconfig
make
Errors:
./validator/val_secalgo.c:299:8: error: incomplete definition of type
'struct DSA_SIG_st'
dsasig->r = R;
~~~~~~^
/usr/local/openssl-1.1.1/include/openssl/dsa.h:65:16: note: forward
declaration of 'struct DSA_SIG_st'
typedef struct DSA_SIG_st DSA_SIG;
^
./validator/val_secalgo.c:300:8: error: incomplete definition of type
'struct DSA_SIG_st'
dsasig->s = S;
~~~~~~^
/usr/local/openssl-1.1.1/include/openssl/dsa.h:65:16: note: forward
declaration of 'struct DSA_SIG_st'
typedef struct DSA_SIG_st DSA_SIG;
^
./validator/val_secalgo.c:443:19: warning: implicit declaration of
function 'EVP_dss1' is invalid in C99 [-Wimplicit-function-declaration]
*digest_type = EVP_dss1();
^
./validator/val_secalgo.c:443:17: warning: incompatible integer to
pointer conversion assigning to 'const EVP_MD *' (aka 'const struct
evp_md_st *') from 'int' [-Wint-conversion]
*digest_type = EVP_dss1();
^ ~~~~~~~~~~
./validator/val_secalgo.c:665:34: error: invalid application of
'sizeof' to an incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st')
ctx = (EVP_MD_CTX*)malloc(sizeof(*ctx));
^~~~~~
/usr/local/openssl-1.1.1/include/openssl/ossl_typ.h:92:16: note:
forward declaration of 'struct evp_md_ctx_st'
typedef struct evp_md_ctx_st EVP_MD_CTX;
^
./validator/val_secalgo.c:681:3: warning: implicit declaration of
function 'EVP_MD_CTX_cleanup' is invalid in C99
[-Wimplicit-function-declaration]
EVP_MD_CTX_cleanup(ctx);
^
./validator/val_secalgo.c:695:3: warning: implicit declaration of
function 'EVP_MD_CTX_cleanup' is invalid in C99
[-Wimplicit-function-declaration]
EVP_MD_CTX_cleanup(ctx);
^
./validator/val_secalgo.c:726:2: warning: implicit declaration of
function 'EVP_MD_CTX_cleanup' is invalid in C99
[-Wimplicit-function-declaration]
EVP_MD_CTX_cleanup(ctx);
^
5 warnings and 3 errors generated.
*** Error code 1
On 9/20/2018 5:07 PM, Chris wrote:
On 9/20/2018 5:06 PM, Chris wrote:
Hmmm... I am a bit confuzed. I looked thru my Makefile in
/usr/local/unbound-1.8.0 and the below line is not present. I think
your referencing the ports collection ? I am not using a port. I
wget'ed unbound-1.8.0 and am making that. Its a new install of
FreeBSD 11.2, then wget openssl-1.1.1 then wget unbound.. ./config
./Configure make make..
So I am not using any ports I dont think ?
But, im a noob.. So.. Its OK to slap me if im being stupid. Im sorry
in advance for not being experienced in this. Its a hobby.
On 9/20/2018 9:40 AM, Jaap Akkerhuis wrote:
Chris writes:
> I hate to show that im not a compiling expert, but, where do I
change:
>
> -USES= autoreconf cpe libtool ssl
> +USES= autoreconf cpe libtool ssl pkgconfig
It is a one line chanhe in the Makefile of the port
(dns/unbound/Makefile).
According to FreeBSD bugzilla list
<https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231488>, there
should by now an updated port be available.
jaap