Applying 0001-Create-autotools-plumbing-for-SoftEther.patch using patch: patching file Makefile.am patching file autotools/ax_check_openssl.m4 patching file autotools/ax_check_zlib.m4 patching file autotools/ax_lib_readline.m4 patching file autotools/ax_pthread.m4 patching file autotools/ax_with_curses.m4 patching file autotools/softether.am patching file configure.ac patching file configure patching file manual_configure patching file src/Cedar/Makefile.am patching file src/Makefile.am patching file src/Mayaqua/Makefile.am patching file src/bin/hamcore/Makefile.am patching file src/hamcorebuilder/Makefile.am patching file src/vpnbridge/Makefile.am patching file src/vpnclient/Makefile.am patching file src/vpncmd/Makefile.am patching file src/vpnserver/Makefile.am Applying 0002-Create-libsoftether.so-and-dynamically-link.patch using patch: patching file configure.ac patching file src/Makefile.am patching file src/libsoftether/Makefile.am patching file src/vpnbridge/Makefile.am patching file src/vpnclient/Makefile.am patching file src/vpncmd/Makefile.am patching file src/vpnserver/Makefile.am Applying 0003-use-fhs-install-directories.patch using patch: patching file autotools/softether.am patching file src/Cedar/Admin.c Hunk #1 succeeded at 10338 (offset 4 lines). patching file src/Cedar/Command.c patching file src/Cedar/Logging.c Hunk #1 succeeded at 538 (offset 30 lines). patching file src/Cedar/Server.c Hunk #1 succeeded at 1108 (offset 48 lines). Hunk #2 succeeded at 1182 (offset 48 lines). patching file src/Mayaqua/Encrypt.c Hunk #1 succeeded at 649 (offset 70 lines). patching file src/Mayaqua/FileIO.c Hunk #2 succeeded at 1047 (offset 3 lines). Hunk #3 succeeded at 1163 (offset 3 lines). Hunk #4 succeeded at 1447 (offset 3 lines). Hunk #5 succeeded at 2425 (offset 3 lines). patching file src/Mayaqua/FileIO.h patching file src/Mayaqua/Mayaqua.c patching file src/Mayaqua/Table.c Hunk #1 succeeded at 1198 (offset 7 lines). Hunk #2 succeeded at 1211 (offset 7 lines). patching file src/Mayaqua/Unix.c Hunk #2 succeeded at 2321 (offset 61 lines). Hunk #3 succeeded at 2366 (offset 61 lines). patching file src/bin/hamcore/Makefile.am Applying 0004-create-non-forking-softetherd-for-upstart-and-systemd.patch using patch: patching file configure.ac patching file src/Makefile.am patching file src/bin/hamcore/strtable_en.stb Hunk #1 succeeded at 1071 (offset 9 lines). patching file src/softetherd/Makefile.am patching file src/softetherd/softetherd.c Applying 0005-change-GetExeDir-to-GetStateDir-in-Cedar-and-Mayaqua.patch using patch: patching file src/Cedar/Protocol.c patching file src/Mayaqua/Network.c Hunk #1 succeeded at 12795 (offset 207 lines). Hunk #2 succeeded at 12809 (offset 207 lines). Applying 0006-cross-compile.patch using patch: patching file src/bin/hamcore/Makefile.am patching file src/Makefile.am Applying 0007-iconv.patch using patch: patching file src/Mayaqua/Mayaqua.h Hunk #1 succeeded at 289 (offset 7 lines). Applying 0008-librt.patch using patch: patching file configure.ac Applying 0009-uclibc-ai-addrconfig.patch using patch: patching file src/Mayaqua/Mayaqua.h >>> host-softether v4.22-9634-beta Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /data/buildroot/buildroot-test/instance-0/output/build/host-softether-v4.22-9634-beta -name $file); do cp support/gnuconfig/$file $i; done; done >>> host-softether v4.22-9634-beta Configuring >>> host-softether v4.22-9634-beta Autoreconfiguring libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'autotools'. libtoolize: copying file 'autotools/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'autotools'. libtoolize: copying file 'autotools/libtool.m4' libtoolize: copying file 'autotools/ltoptions.m4' libtoolize: copying file 'autotools/ltsugar.m4' libtoolize: copying file 'autotools/ltversion.m4' libtoolize: copying file 'autotools/lt~obsolete.m4' configure.ac:23: installing 'autotools/ar-lib' configure.ac:23: installing 'autotools/compile' configure.ac:25: installing 'autotools/config.guess' configure.ac:25: installing 'autotools/config.sub' configure.ac:22: installing 'autotools/install-sh' configure.ac:22: installing 'autotools/missing' src/Cedar/Makefile.am: installing 'autotools/depcomp' >>> host-softether v4.22-9634-beta Patching libtool patching file /data/buildroot/buildroot-test/instance-0/output/build/host-softether-v4.22-9634-beta/autotools/ltmain.sh Hunk #1 succeeded at 2694 (offset 7 lines). Hunk #2 succeeded at 4284 (offset 7 lines). Hunk #3 succeeded at 6579 (offset 25 lines). Hunk #4 succeeded at 6589 (offset 25 lines). Hunk #5 succeeded at 6882 (offset 25 lines). Hunk #6 succeeded at 7174 (offset 25 lines). Hunk #7 succeeded at 8140 (offset 28 lines). Hunk #8 succeeded at 10769 (offset 59 lines). (cd /data/buildroot/buildroot-test/instance-0/output/build/host-softether-v4.22-9634-beta/ && rm -rf config.cache; PATH="/data/buildroot/buildroot-test/instance-0/output/host/bin:/data/buildroot/buildroot-test/instance-0/output/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" PKG_CONFIG="/data/buildroot/buildroot-test/instance-0/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/data/buildroot/buildroot-test/instance-0/output/host/lib/pkgconfig:/data/buildroot/buildroot-test/instance-0/output/host/share/pkgconfig" AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm" CC="/usr/bin/gcc" GCC="/usr/bin/gcc" CXX="/usr/bin/g++" CPP="/usr/bin/cpp" OBJCOPY="/usr/bin/objcopy" RANLIB="/usr/bin/ranlib" CPPFLAGS="-I/data/buildroot/buildroot-test/instance-0/output/host/include" CFLAGS="-O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include" CXXFLAGS="-O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include" LDFLAGS="-L/data/buildroot/buildroot-test/instance-0/output/host/lib -Wl,-rpath,/data/buildroot/buildroot-test/instance-0/output/host/lib" INTLTOOL_PERL=/usr/bin/perl CFLAGS="-O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include" LDFLAGS="-L/data/buildroot/buildroot-test/instance-0/output/host/lib -Wl,-rpath,/data/buildroot/buildroot-test/instance-0/output/host/lib" CONFIG_SITE=/dev/null ./configure --prefix="/data/buildroot/buildroot-test/instance-0/output/host" --sysconfdir="/data/buildroot/buildroot-test/instance-0/output/host/etc" --localstatedir="/data/buildroot/buildroot-test/instance-0/output/host/var" --enable-shared --disable-static --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --disable-debug --with-xmlto=no --with-fop=no --disable-dependency-tracking ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for gcc... /usr/bin/gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc accepts -g... yes checking for /usr/bin/gcc option to accept ISO C89... none needed checking whether /usr/bin/gcc understands -c and -o together... yes checking dependency style of /usr/bin/gcc... none checking the archiver (/usr/bin/ar) interface... ar checking for gcc... (cached) /usr/bin/gcc checking whether we are using the GNU C compiler... (cached) yes checking whether /usr/bin/gcc accepts -g... (cached) yes checking for /usr/bin/gcc option to accept ISO C89... (cached) none needed checking whether /usr/bin/gcc understands -c and -o together... (cached) yes checking dependency style of /usr/bin/gcc... (cached) none checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by /usr/bin/gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... /usr/bin/ranlib checking command to parse /usr/bin/nm output from /usr/bin/gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... /usr/bin/cpp checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if /usr/bin/gcc supports -fno-rtti -fno-exceptions... no checking for /usr/bin/gcc option to produce PIC... -fPIC -DPIC checking if /usr/bin/gcc PIC flag -fPIC -DPIC works... yes checking if /usr/bin/gcc static flag -static works... yes checking if /usr/bin/gcc supports -c -o file.o... yes checking if /usr/bin/gcc supports -c -o file.o... (cached) yes checking whether the /usr/bin/gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking if compiler needs -Werror to reject unknown flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for clock_gettime in -lrt... yes checking for pkg-config... /data/buildroot/buildroot-test/instance-0/output/host/bin/pkg-config checking whether compiling and linking against OpenSSL works... yes checking if zlib is wanted... yes checking for inflateEnd in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for NcursesW wide-character library... yes checking for working ncursesw/curses.h... no checking for working ncursesw.h... no checking for working ncurses.h... yes checking for a readline compatible library... -lreadline checking readline.h usability... no checking readline.h presence... no checking for readline.h... no checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking whether readline supports history... yes checking history.h usability... no checking history.h presence... no checking for history.h... no checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/Mayaqua/Makefile config.status: creating src/Cedar/Makefile config.status: creating src/hamcorebuilder/Makefile config.status: creating src/libsoftether/Makefile config.status: creating src/bin/hamcore/Makefile config.status: creating src/vpnserver/Makefile config.status: creating src/vpnclient/Makefile config.status: creating src/vpnbridge/Makefile config.status: creating src/vpncmd/Makefile config.status: creating src/softetherd/Makefile config.status: creating softether_config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop >>> host-softether v4.22-9634-beta Building PATH="/data/buildroot/buildroot-test/instance-0/output/host/bin:/data/buildroot/buildroot-test/instance-0/output/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" PKG_CONFIG="/data/buildroot/buildroot-test/instance-0/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/data/buildroot/buildroot-test/instance-0/output/host/lib/pkgconfig:/data/buildroot/buildroot-test/instance-0/output/host/share/pkgconfig" /usr/bin/make -j4 -C /data/buildroot/buildroot-test/instance-0/output/build/host-softether-v4.22-9634-beta/src/Mayaqua make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/host-softether-v4.22-9634-beta/src/Mayaqua' /bin/sh ../../libtool --tag=CC --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/data/buildroot/buildroot-test/instance-0/output/host/include -I/usr/include -I/usr/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR='"/data/buildroot/buildroot-test/instance-0/output/host/var/lib/softether"' -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include -pthread -c -o Cfg.lo Cfg.c /bin/sh ../../libtool --tag=CC --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/data/buildroot/buildroot-test/instance-0/output/host/include -I/usr/include -I/usr/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR='"/data/buildroot/buildroot-test/instance-0/output/host/var/lib/softether"' -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include -pthread -c -o Encrypt.lo Encrypt.c /bin/sh ../../libtool --tag=CC --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/data/buildroot/buildroot-test/instance-0/output/host/include -I/usr/include -I/usr/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR='"/data/buildroot/buildroot-test/instance-0/output/host/var/lib/softether"' -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include -pthread -c -o FileIO.lo FileIO.c /bin/sh ../../libtool --tag=CC --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/data/buildroot/buildroot-test/instance-0/output/host/include -I/usr/include -I/usr/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR='"/data/buildroot/buildroot-test/instance-0/output/host/var/lib/softether"' -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include -pthread -c -o Internat.lo Internat.c libtool: compile: /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/data/buildroot/buildroot-test/instance-0/output/host/include -I/usr/include -I/usr/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR=\"/data/buildroot/buildroot-test/instance-0/output/host/var/lib/softether\" -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include -pthread -c FileIO.c -fPIC -DPIC -o .libs/FileIO.o libtool: compile: /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/data/buildroot/buildroot-test/instance-0/output/host/include -I/usr/include -I/usr/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR=\"/data/buildroot/buildroot-test/instance-0/output/host/var/lib/softether\" -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include -pthread -c Cfg.c -fPIC -DPIC -o .libs/Cfg.o libtool: compile: /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/data/buildroot/buildroot-test/instance-0/output/host/include -I/usr/include -I/usr/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR=\"/data/buildroot/buildroot-test/instance-0/output/host/var/lib/softether\" -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include -pthread -c Internat.c -fPIC -DPIC -o .libs/Internat.o libtool: compile: /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/data/buildroot/buildroot-test/instance-0/output/host/include -I/usr/include -I/usr/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR=\"/data/buildroot/buildroot-test/instance-0/output/host/var/lib/softether\" -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include -pthread -c Encrypt.c -fPIC -DPIC -o .libs/Encrypt.o Encrypt.c: In function 'Enc_tls1_P_hash': Encrypt.c:175:11: error: storage size of 'ctx' isn't known HMAC_CTX ctx; ^~~ Encrypt.c:176:11: error: storage size of 'ctx_tmp' isn't known HMAC_CTX ctx_tmp; ^~~~~~~ Encrypt.c:184:2: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations] HMAC_Init_ex(&ctx,sec,sec_len,md, NULL); ^~~~~~~~~~~~ In file included from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/e_os2.h:13, from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/ssl.h:15, from Encrypt.c:127: /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/hmac.h:30:31: note: declared here DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/opensslconf.h:118:37: note: in definition of macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/hmac.h:30:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0' DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^~~~~~~~~~~~~~~~~~ Encrypt.c:185:2: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations] HMAC_Init_ex(&ctx_tmp,sec,sec_len,md, NULL); ^~~~~~~~~~~~ In file included from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/e_os2.h:13, from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/ssl.h:15, from Encrypt.c:127: /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/hmac.h:30:31: note: declared here DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/opensslconf.h:118:37: note: in definition of macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/hmac.h:30:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0' DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^~~~~~~~~~~~~~~~~~ Encrypt.c:192:3: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations] HMAC_Init_ex(&ctx,NULL,0,NULL,NULL); /* re-init */ ^~~~~~~~~~~~ In file included from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/e_os2.h:13, from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/ssl.h:15, from Encrypt.c:127: /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/hmac.h:30:31: note: declared here DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/opensslconf.h:118:37: note: in definition of macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/hmac.h:30:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0' DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^~~~~~~~~~~~~~~~~~ Encrypt.c:193:3: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations] HMAC_Init_ex(&ctx_tmp,NULL,0,NULL,NULL); /* re-init */ ^~~~~~~~~~~~ In file included from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/e_os2.h:13, from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/ssl.h:15, from Encrypt.c:127: /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/hmac.h:30:31: note: declared here DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/opensslconf.h:118:37: note: in definition of macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/hmac.h:30:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0' DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^~~~~~~~~~~~~~~~~~ Encrypt.c:169:43: warning: implicit declaration of function 'HMAC_cleanup'; did you mean 'OBJ_cleanup'? [-Wimplicit-function-declaration] #define HMAC_CTX_cleanup(ctx) HMAC_cleanup(ctx) ^~~~~~~~~~~~ Encrypt.c:212:2: note: in expansion of macro 'HMAC_CTX_cleanup' HMAC_CTX_cleanup(&ctx); ^~~~~~~~~~~~~~~~ Encrypt.c: In function 'MdProcess': Encrypt.c:460:2: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations] HMAC_Init(md->Ctx, NULL, 0, NULL); ^~~~~~~~~ In file included from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/e_os2.h:13, from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/ssl.h:15, from Encrypt.c:127: /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/hmac.h:30:31: note: declared here DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/opensslconf.h:118:37: note: in definition of macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/hmac.h:30:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0' DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^~~~~~~~~~~~~~~~~~ Encrypt.c: In function 'SetMdKey': Encrypt.c:476:2: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations] HMAC_Init(md->Ctx, key, key_size, md->Md); ^~~~~~~~~ In file included from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/e_os2.h:13, from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/ssl.h:15, from Encrypt.c:127: /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/hmac.h:30:31: note: declared here DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/opensslconf.h:118:37: note: in definition of macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/hmac.h:30:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0' DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^~~~~~~~~~~~~~~~~~ Encrypt.c:476:38: warning: passing argument 4 of 'HMAC_Init' from incompatible pointer type [-Wincompatible-pointer-types] HMAC_Init(md->Ctx, key, key_size, md->Md); ~~^~~~ In file included from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/e_os2.h:13, from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/ssl.h:15, from Encrypt.c:127: /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/hmac.h:31:36: note: expected 'const EVP_MD *' {aka 'const struct evp_md_st *'} but argument is of type 'const struct env_md_st *' const EVP_MD *md)) ~~~~~~~~~~~~~~^~ /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/opensslconf.h:118:37: note: in definition of macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/hmac.h:30:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0' DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^~~~~~~~~~~~~~~~~~ Encrypt.c: In function 'NewMd': Encrypt.c:492:8: warning: assignment to 'const struct env_md_st *' from incompatible pointer type 'const EVP_MD *' {aka 'const struct evp_md_st *'} [-Wincompatible-pointer-types] m->Md = EVP_get_digestbyname(name); ^ Encrypt.c:499:29: error: invalid application of 'sizeof' to incomplete type 'struct hmac_ctx_st' m->Ctx = ZeroMalloc(sizeof(struct hmac_ctx_st)); ^~~~~~ Encrypt.c:500:2: warning: implicit declaration of function 'HMAC_CTX_init'; did you mean 'HMAC_CTX_new'? [-Wimplicit-function-declaration] HMAC_CTX_init(m->Ctx); ^~~~~~~~~~~~~ HMAC_CTX_new Encrypt.c:502:25: warning: passing argument 1 of 'EVP_MD_size' from incompatible pointer type [-Wincompatible-pointer-types] m->Size = EVP_MD_size(m->Md); ~^~~~ In file included from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/x509.h:18, from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/ssl.h:20, from Encrypt.c:127: /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/evp.h:443:31: note: expected 'const EVP_MD *' {aka 'const struct evp_md_st *'} but argument is of type 'const struct env_md_st *' int EVP_MD_size(const EVP_MD *md); ~~~~~~~~~~~~~~^~ Encrypt.c: In function 'NewCipher': Encrypt.c:554:29: error: invalid application of 'sizeof' to incomplete type 'struct evp_cipher_ctx_st' c->Ctx = ZeroMalloc(sizeof(struct evp_cipher_ctx_st)); ^~~~~~ Encrypt.c: In function 'RsaBinToPublic': Encrypt.c:822:9: error: dereferencing pointer to incomplete type 'RSA' {aka 'struct rsa_st'} if (rsa->e != NULL) ^~ Encrypt.c: In function 'RsaPublicToBuf': Encrypt.c:857:45: error: dereferencing pointer to incomplete type 'EVP_PKEY' {aka 'struct evp_pkey_st'} if (k == NULL || k->pkey == NULL || k->pkey->pkey.rsa == NULL ^~ Encrypt.c: In function 'NewX509': Encrypt.c:2058:25: error: dereferencing pointer to incomplete type 'X509' {aka 'struct x509_st'} ASN1_INTEGER *s = x509->cert_info->serialNumber; ^~ Encrypt.c: In function 'RsaCheck': Encrypt.c:2793:3: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] rsa = RSA_generate_key(bit, RSA_F4, NULL, NULL); ^~~ In file included from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/e_os2.h:13, from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/ssl.h:15, from Encrypt.c:127: /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/rsa.h:234:25: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/opensslconf.h:118:37: note: in definition of macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/rsa.h:234:1: note: in expansion of macro 'DEPRECATEDIN_0_9_8' DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^~~~~~~~~~~~~~~~~~ Encrypt.c: In function 'RsaGen': Encrypt.c:2863:3: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] rsa = RSA_generate_key(bit, RSA_F4, NULL, NULL); ^~~ In file included from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/e_os2.h:13, from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/ssl.h:15, from Encrypt.c:127: /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/rsa.h:234:25: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/opensslconf.h:118:37: note: in definition of macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/rsa.h:234:1: note: in expansion of macro 'DEPRECATEDIN_0_9_8' DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^~~~~~~~~~~~~~~~~~ Encrypt.c: In function 'X509ToX': Encrypt.c:3977:7: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] char *uri = (char *)ASN1_STRING_data(ad->location->d.uniformResourceIdentifier); ^~~~ In file included from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/e_os2.h:13, from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/ssl.h:15, from Encrypt.c:127: /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/asn1.h:554:35: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/opensslconf.h:118:37: note: in definition of macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/asn1.h:554:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0' DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^~~~~~~~~~~~~~~~~~ Encrypt.c: In function 'BioToBuf': Encrypt.c:4083:12: error: dereferencing pointer to incomplete type 'BIO' {aka 'struct bio_st'} size = bio->num_write; ^~ Encrypt.c: In function 'FreeOpenSSLThreadState': Encrypt.c:4178:2: warning: 'ERR_remove_state' is deprecated [-Wdeprecated-declarations] ERR_remove_state(0); ^~~~~~~~~~~~~~~~ In file included from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/e_os2.h:13, from /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/ssl.h:15, from Encrypt.c:127: /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/err.h:260:25: note: declared here DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid)) ^~~~~~~~~~~~~~~~ /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/opensslconf.h:118:37: note: in definition of macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /data/buildroot/buildroot-test/instance-0/output/host/include/openssl/err.h:260:1: note: in expansion of macro 'DEPRECATEDIN_1_0_0' DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid)) ^~~~~~~~~~~~~~~~~~ Encrypt.c: In function 'InitCryptLibrary': Encrypt.c:4203:2: warning: implicit declaration of function 'SSLeay_add_all_digests'; did you mean 'OpenSSL_add_all_digests'? [-Wimplicit-function-declaration] SSLeay_add_all_digests(); ^~~~~~~~~~~~~~~~~~~~~~ OpenSSL_add_all_digests Encrypt.c: In function 'DhNew': Encrypt.c:5003:8: error: dereferencing pointer to incomplete type 'struct dh_st' dh->dh->p = BinToBigNum(buf->Buf, buf->Size); ^~ make[1]: *** [Makefile:476: Encrypt.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/host-softether-v4.22-9634-beta/src/Mayaqua' make: *** [package/pkg-generic.mk:233: /data/buildroot/buildroot-test/instance-0/output/build/host-softether-v4.22-9634-beta/.stamp_built] Error 2 make: Leaving directory '/data/buildroot/buildroot-test/instance-0/buildroot'