Created attachment 461072 [details] net-misc/openvpn-2.4.0:20170123-141901.log x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../src/compat -O0 -g -std=c99 -c -o crypto.o crypto.c In file included from crypto.h:131:0, from crypto.c:36: crypto.c: In function 'init_key_ctx': crypto.c:843:32: error: invalid application of 'sizeof' to incomplete type 'cipher_ctx_t {aka struct evp_cipher_ctx_st}' ALLOC_OBJ(ctx->cipher, cipher_ctx_t); ^ buffer.h:1013:61: note: in definition of macro 'ALLOC_OBJ' check_malloc_return((dptr) = (type *) malloc(sizeof(type))); \ ^~~~ crypto.c:867:30: error: invalid application of 'sizeof' to incomplete type 'hmac_ctx_t {aka struct hmac_ctx_st}' ALLOC_OBJ(ctx->hmac, hmac_ctx_t); ^ buffer.h:1013:61: note: in definition of macro 'ALLOC_OBJ' check_malloc_return((dptr) = (type *) malloc(sizeof(type))); \ ^~~~ make[3]: *** [Makefile:670: crypto.o] Error 1 make[3]: Leaving directory '/var/tmp/portage/net-misc/openvpn-2.4.0/work/openvpn-2.4.0/src/openvpn' make[2]: *** [Makefile:425: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-misc/openvpn-2.4.0/work/openvpn-2.4.0/src' make[1]: *** [Makefile:611: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-misc/openvpn-2.4.0/work/openvpn-2.4.0' make: *** [Makefile:499: all] Error 2 * ERROR: net-misc/openvpn-2.4.0::gentoo failed (compile phase): * emake failed
See also: https://community.openvpn.net/openvpn/ticket/802
Please test openvpn-2.4.3 which has announced to have support for 2.4.3