replacing config-version.h make all-recursive make[1]: Entering directory '/home/timur/mcst/openvpn' Making all in build make[2]: Entering directory '/home/timur/mcst/openvpn/build' Making all in msvc make[3]: Entering directory '/home/timur/mcst/openvpn/build/msvc' Making all in msvc-generate make[4]: Entering directory '/home/timur/mcst/openvpn/build/msvc/msvc-generate' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/home/timur/mcst/openvpn/build/msvc/msvc-generate' make[4]: Entering directory '/home/timur/mcst/openvpn/build/msvc' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/home/timur/mcst/openvpn/build/msvc' make[3]: Leaving directory '/home/timur/mcst/openvpn/build/msvc' make[3]: Entering directory '/home/timur/mcst/openvpn/build' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/timur/mcst/openvpn/build' make[2]: Leaving directory '/home/timur/mcst/openvpn/build' Making all in distro make[2]: Entering directory '/home/timur/mcst/openvpn/distro' Making all in rpm make[3]: Entering directory '/home/timur/mcst/openvpn/distro/rpm' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/timur/mcst/openvpn/distro/rpm' Making all in systemd make[3]: Entering directory '/home/timur/mcst/openvpn/distro/systemd' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/timur/mcst/openvpn/distro/systemd' make[3]: Entering directory '/home/timur/mcst/openvpn/distro' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/timur/mcst/openvpn/distro' make[2]: Leaving directory '/home/timur/mcst/openvpn/distro' Making all in include make[2]: Entering directory '/home/timur/mcst/openvpn/include' make all-am make[3]: Entering directory '/home/timur/mcst/openvpn/include' make[3]: Leaving directory '/home/timur/mcst/openvpn/include' make[2]: Leaving directory '/home/timur/mcst/openvpn/include' Making all in src make[2]: Entering directory '/home/timur/mcst/openvpn/src' Making all in compat make[3]: Entering directory '/home/timur/mcst/openvpn/src/compat' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -g -O2 -std=c99 -MT compat-dirname.lo -MD -MP -MF .deps/compat-dirname.Tpo -c -o compat-dirname.lo compat-dirname.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -g -O2 -std=c99 -MT compat-dirname.lo -MD -MP -MF .deps/compat-dirname.Tpo -c compat-dirname.c -fPIC -DPIC -o .libs/compat-dirname.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -g -O2 -std=c99 -MT compat-dirname.lo -MD -MP -MF .deps/compat-dirname.Tpo -c compat-dirname.c -o compat-dirname.o >/dev/null 2>&1 mv -f .deps/compat-dirname.Tpo .deps/compat-dirname.Plo /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -g -O2 -std=c99 -MT compat-basename.lo -MD -MP -MF .deps/compat-basename.Tpo -c -o compat-basename.lo compat-basename.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -g -O2 -std=c99 -MT compat-basename.lo -MD -MP -MF .deps/compat-basename.Tpo -c compat-basename.c -fPIC -DPIC -o .libs/compat-basename.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -g -O2 -std=c99 -MT compat-basename.lo -MD -MP -MF .deps/compat-basename.Tpo -c compat-basename.c -o compat-basename.o >/dev/null 2>&1 mv -f .deps/compat-basename.Tpo .deps/compat-basename.Plo /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -g -O2 -std=c99 -MT compat-gettimeofday.lo -MD -MP -MF .deps/compat-gettimeofday.Tpo -c -o compat-gettimeofday.lo compat-gettimeofday.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -g -O2 -std=c99 -MT compat-gettimeofday.lo -MD -MP -MF .deps/compat-gettimeofday.Tpo -c compat-gettimeofday.c -fPIC -DPIC -o .libs/compat-gettimeofday.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -g -O2 -std=c99 -MT compat-gettimeofday.lo -MD -MP -MF .deps/compat-gettimeofday.Tpo -c compat-gettimeofday.c -o compat-gettimeofday.o >/dev/null 2>&1 mv -f .deps/compat-gettimeofday.Tpo .deps/compat-gettimeofday.Plo /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -g -O2 -std=c99 -MT compat-daemon.lo -MD -MP -MF .deps/compat-daemon.Tpo -c -o compat-daemon.lo compat-daemon.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -g -O2 -std=c99 -MT compat-daemon.lo -MD -MP -MF .deps/compat-daemon.Tpo -c compat-daemon.c -fPIC -DPIC -o .libs/compat-daemon.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -g -O2 -std=c99 -MT compat-daemon.lo -MD -MP -MF .deps/compat-daemon.Tpo -c compat-daemon.c -o compat-daemon.o >/dev/null 2>&1 mv -f .deps/compat-daemon.Tpo .deps/compat-daemon.Plo /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -g -O2 -std=c99 -MT compat-inet_ntop.lo -MD -MP -MF .deps/compat-inet_ntop.Tpo -c -o compat-inet_ntop.lo compat-inet_ntop.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -g -O2 -std=c99 -MT compat-inet_ntop.lo -MD -MP -MF .deps/compat-inet_ntop.Tpo -c compat-inet_ntop.c -fPIC -DPIC -o .libs/compat-inet_ntop.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -g -O2 -std=c99 -MT compat-inet_ntop.lo -MD -MP -MF .deps/compat-inet_ntop.Tpo -c compat-inet_ntop.c -o compat-inet_ntop.o >/dev/null 2>&1 mv -f .deps/compat-inet_ntop.Tpo .deps/compat-inet_ntop.Plo /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -g -O2 -std=c99 -MT compat-inet_pton.lo -MD -MP -MF .deps/compat-inet_pton.Tpo -c -o compat-inet_pton.lo compat-inet_pton.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -g -O2 -std=c99 -MT compat-inet_pton.lo -MD -MP -MF .deps/compat-inet_pton.Tpo -c compat-inet_pton.c -fPIC -DPIC -o .libs/compat-inet_pton.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -g -O2 -std=c99 -MT compat-inet_pton.lo -MD -MP -MF .deps/compat-inet_pton.Tpo -c compat-inet_pton.c -o compat-inet_pton.o >/dev/null 2>&1 mv -f .deps/compat-inet_pton.Tpo .deps/compat-inet_pton.Plo /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -g -O2 -std=c99 -MT compat-lz4.lo -MD -MP -MF .deps/compat-lz4.Tpo -c -o compat-lz4.lo compat-lz4.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -g -O2 -std=c99 -MT compat-lz4.lo -MD -MP -MF .deps/compat-lz4.Tpo -c compat-lz4.c -fPIC -DPIC -o .libs/compat-lz4.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -g -O2 -std=c99 -MT compat-lz4.lo -MD -MP -MF .deps/compat-lz4.Tpo -c compat-lz4.c -o compat-lz4.o >/dev/null 2>&1 mv -f .deps/compat-lz4.Tpo .deps/compat-lz4.Plo /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -std=c99 -o libcompat.la compat-dirname.lo compat-basename.lo compat-gettimeofday.lo compat-daemon.lo compat-inet_ntop.lo compat-inet_pton.lo compat-lz4.lo libtool: link: ar cru .libs/libcompat.a .libs/compat-dirname.o .libs/compat-basename.o .libs/compat-gettimeofday.o .libs/compat-daemon.o .libs/compat-inet_ntop.o .libs/compat-inet_pton.o .libs/compat-lz4.o ar: `u' modifier ignored since `D' is the default (see `U') libtool: link: ranlib .libs/libcompat.a libtool: link: ( cd ".libs" && rm -f "libcompat.la" && ln -s "../libcompat.la" "libcompat.la" ) make[3]: Leaving directory '/home/timur/mcst/openvpn/src/compat' Making all in openvpn make[3]: Entering directory '/home/timur/mcst/openvpn/src/openvpn' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../src/compat -DPLUGIN_LIBDIR=\"/usr/local/lib/openvpn/plugins\" -g -O2 -std=c99 -MT argv.o -MD -MP -MF .deps/argv.Tpo -c -o argv.o argv.c mv -f .deps/argv.Tpo .deps/argv.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../src/compat -DPLUGIN_LIBDIR=\"/usr/local/lib/openvpn/plugins\" -g -O2 -std=c99 -MT base64.o -MD -MP -MF .deps/base64.Tpo -c -o base64.o base64.c mv -f .deps/base64.Tpo .deps/base64.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../src/compat -DPLUGIN_LIBDIR=\"/usr/local/lib/openvpn/plugins\" -g -O2 -std=c99 -MT buffer.o -MD -MP -MF .deps/buffer.Tpo -c -o buffer.o buffer.c mv -f .deps/buffer.Tpo .deps/buffer.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../src/compat -DPLUGIN_LIBDIR=\"/usr/local/lib/openvpn/plugins\" -g -O2 -std=c99 -MT clinat.o -MD -MP -MF .deps/clinat.Tpo -c -o clinat.o clinat.c mv -f .deps/clinat.Tpo .deps/clinat.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../src/compat -DPLUGIN_LIBDIR=\"/usr/local/lib/openvpn/plugins\" -g -O2 -std=c99 -MT comp.o -MD -MP -MF .deps/comp.Tpo -c -o comp.o comp.c mv -f .deps/comp.Tpo .deps/comp.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../src/compat -DPLUGIN_LIBDIR=\"/usr/local/lib/openvpn/plugins\" -g -O2 -std=c99 -MT compstub.o -MD -MP -MF .deps/compstub.Tpo -c -o compstub.o compstub.c mv -f .deps/compstub.Tpo .deps/compstub.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../src/compat -DPLUGIN_LIBDIR=\"/usr/local/lib/openvpn/plugins\" -g -O2 -std=c99 -MT comp-lz4.o -MD -MP -MF .deps/comp-lz4.Tpo -c -o comp-lz4.o comp-lz4.c comp-lz4.c: In function ‘do_lz4_compress’: comp-lz4.c:90:9: warning: ‘LZ4_compress_limitedOutput’ is deprecated: use LZ4_compress_default() instead [-Wdeprecated-declarations] zlen = LZ4_compress_limitedOutput((const char *)BPTR(buf), (char *)BPTR(work), BLEN(buf), zlen_max ); ^~~~ In file included from comp-lz4.c:39:0: /usr/include/lz4.h:432:58: note: declared here LZ4_DEPRECATED("use LZ4_compress_default() instead") int LZ4_compress_limitedOutput (const char* source, char* dest, int sourceSize, int maxOutputSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/comp-lz4.Tpo .deps/comp-lz4.Po gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../src/compat -DPLUGIN_LIBDIR=\"/usr/local/lib/openvpn/plugins\" -g -O2 -std=c99 -MT crypto.o -MD -MP -MF .deps/crypto.Tpo -c -o crypto.o crypto.c In file included from crypto.h:130:0, from crypto.c:36: crypto.c: In function ‘init_key_ctx’: crypto.c:833: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:1015:61: note: in definition of macro ‘ALLOC_OBJ’ check_malloc_return((dptr) = (type *) malloc(sizeof(type))); \ ^~~~ crypto.c:857: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:1015:61: note: in definition of macro ‘ALLOC_OBJ’ check_malloc_return((dptr) = (type *) malloc(sizeof(type))); \ ^~~~ make[3]: *** [Makefile:673: crypto.o] Error 1 make[3]: Leaving directory '/home/timur/mcst/openvpn/src/openvpn' make[2]: *** [Makefile:429: all-recursive] Error 1 make[2]: Leaving directory '/home/timur/mcst/openvpn/src' make[1]: *** [Makefile:615: all-recursive] Error 1 make[1]: Leaving directory '/home/timur/mcst/openvpn' make: *** [Makefile:503: all] Error 2