fi ; \
if test -f history.html; then \
/usr/bin/install -c -m 644 history.html /history.html; \
else \
/usr/bin/install -c -m 644 ./history.html /history.html; \
fi ; \
if test -f rluserman.html; then \
/usr/bin/install -c -m 644 rluserman.html /rluserman.html; \
else \
/usr/bin/install -c -m 644 ./rluserman.html /rluserman.html; \
fi ; \
fi
( cd shlib ; /usr/bin/make - --no-print-directory - --jobserver-fds=5,6 -j DESTDIR= install )
/bin/sh ../support/mkdirs /home/buildroot/autobuild/run/instance-2/output/host/lib
/bin/sh ../support/mkdirs /home/buildroot/autobuild/run/instance-2/output/host/bin
/bin/sh ../support/shlib-install -O linux-gnu -V pc -d /home/buildroot/autobuild/run/instance-2/output/host/lib -b /home/buildroot/autobuild/run/instance-2/output/host/bin -i "/usr/bin/install -c -m 644" libhistory.so.8.0
/bin/sh ../support/shlib-install -O linux-gnu -V pc -d /home/buildroot/autobuild/run/instance-2/output/host/lib -b /home/buildroot/autobuild/run/instance-2/output/host/bin -i "/usr/bin/install -c -m 644" libreadline.so.8.0
install: you may need to run ldconfig
softether-v4.22-9634-beta.tar.gz: OK (sha256: 8e6310d36e579ea07171ce5fcb9ebe31235d218444c4e4836ca6c32aa49c1f93)
[3m>>> host-softether v4.22-9634-beta Extracting[23m
gzip -d -c /home/buildroot/autobuild/run/instance-2/dl/softether/softether-v4.22-9634-beta.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-2/output/build/host-softether-v4.22-9634-beta -xf -
[3m>>> host-softether v4.22-9634-beta Patching[23m
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
[3m>>> host-softether v4.22-9634-beta Updating config.sub and config.guess[23m
for file in config.guess config.sub; do for i in $(find /home/buildroot/autobuild/run/instance-2/output/build/host-softether-v4.22-9634-beta -name $file); do cp support/gnuconfig/$file $i; done; done
[3m>>> host-softether v4.22-9634-beta Configuring[23m
[3m>>> host-softether v4.22-9634-beta Autoreconfiguring[23m
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'
[3m>>> host-softether v4.22-9634-beta Patching libtool[23m
patching file /home/buildroot/autobuild/run/instance-2/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 /home/buildroot/autobuild/run/instance-2/output/build/host-softether-v4.22-9634-beta/ && rm -rf config.cache; PATH="/home/buildroot/autobuild/run/instance-2/output/host/bin:/home/buildroot/autobuild/run/instance-2/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PKG_CONFIG="/home/buildroot/autobuild/run/instance-2/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/buildroot/autobuild/run/instance-2/output/host/lib/pkgconfig:/home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output/host/include" CFLAGS="-O2 -I/home/buildroot/autobuild/run/instance-2/output/host/include" CXXFLAGS="-O2 -I/home/buildroot/autobuild/run/instance-2/output/host/include" LDFLAGS="-L/home/buildroot/autobuild/run/instance-2/output/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-2/output/host/lib" INTLTOOL_PERL=/usr/bin/perl CFLAGS="-O2 -I/home/buildroot/autobuild/run/instance-2/output/host/include" LDFLAGS="-L/home/buildroot/autobuild/run/instance-2/output/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-2/output/host/lib" CONFIG_SITE=/dev/null ./configure --prefix="/home/buildroot/autobuild/run/instance-2/output/host" --sysconfdir="/home/buildroot/autobuild/run/instance-2/output/host/etc" --localstatedir="/home/buildroot/autobuild/run/instance-2/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... /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... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /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... 3458764513820540925
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... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt 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... /home/buildroot/autobuild/run/instance-2/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... no
checking for Ncurses library... yes
checking for working ncurses/curses.h... yes
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
[3m>>> host-softether v4.22-9634-beta Building[23m
PATH="/home/buildroot/autobuild/run/instance-2/output/host/bin:/home/buildroot/autobuild/run/instance-2/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PKG_CONFIG="/home/buildroot/autobuild/run/instance-2/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/buildroot/autobuild/run/instance-2/output/host/lib/pkgconfig:/home/buildroot/autobuild/run/instance-2/output/host/share/pkgconfig" /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output/host/include -I/usr/include -I/usr/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR='"/home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output/host/include -I/usr/include -I/usr/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR='"/home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output/host/include -I/usr/include -I/usr/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR='"/home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output/host/include -I/usr/include -I/usr/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR='"/home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output/host/include -pthread -c -o Internat.lo Internat.c
libtool: compile: /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/home/buildroot/autobuild/run/instance-2/output/host/include -I/usr/include -I/usr/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR=\"/home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output/host/include -pthread -c Internat.c -fPIC -DPIC -o .libs/Internat.o
libtool: compile: /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/home/buildroot/autobuild/run/instance-2/output/host/include -I/usr/include -I/usr/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR=\"/home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output/host/include -pthread -c Encrypt.c -fPIC -DPIC -o .libs/Encrypt.o
libtool: compile: /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/home/buildroot/autobuild/run/instance-2/output/host/include -I/usr/include -I/usr/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR=\"/home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output/host/include -pthread -c Cfg.c -fPIC -DPIC -o .libs/Cfg.o
libtool: compile: /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/home/buildroot/autobuild/run/instance-2/output/host/include -I/usr/include -I/usr/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR=\"/home/buildroot/autobuild/run/instance-2/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/home/buildroot/autobuild/run/instance-2/output/host/include -pthread -c FileIO.c -fPIC -DPIC -o .libs/FileIO.o
Internat.c: In function 'AnsiGetLineUnix':
Internat.c:2691:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(tmp, sizeof(tmp) - 1, stdin);
^
Internat.c:2700:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(str, (int)(size - 1), stdin);
^
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 (declared at /home/buildroot/autobuild/run/instance-2/output/host/include/openssl/hmac.h:30) [-Wdeprecated-declarations]
HMAC_Init_ex(&ctx,sec,sec_len,md, NULL);
^
Encrypt.c:185:2: warning: 'HMAC_Init' is deprecated (declared at /home/buildroot/autobuild/run/instance-2/output/host/include/openssl/hmac.h:30) [-Wdeprecated-declarations]
HMAC_Init_ex(&ctx_tmp,sec,sec_len,md, NULL);
^
Encrypt.c:192:3: warning: 'HMAC_Init' is deprecated (declared at /home/buildroot/autobuild/run/instance-2/output/host/include/openssl/hmac.h:30) [-Wdeprecated-declarations]
HMAC_Init_ex(&ctx,NULL,0,NULL,NULL); /* re-init */
^
Encrypt.c:193:3: warning: 'HMAC_Init' is deprecated (declared at /home/buildroot/autobuild/run/instance-2/output/host/include/openssl/hmac.h:30) [-Wdeprecated-declarations]
HMAC_Init_ex(&ctx_tmp,NULL,0,NULL,NULL); /* re-init */
^
Encrypt.c: In function 'MdProcess':
Encrypt.c:460:2: warning: 'HMAC_Init' is deprecated (declared at /home/buildroot/autobuild/run/instance-2/output/host/include/openssl/hmac.h:30) [-Wdeprecated-declarations]
HMAC_Init(md->Ctx, NULL, 0, NULL);
^
Encrypt.c: In function 'SetMdKey':
Encrypt.c:476:2: warning: 'HMAC_Init' is deprecated (declared at /home/buildroot/autobuild/run/instance-2/output/host/include/openssl/hmac.h:30) [-Wdeprecated-declarations]
HMAC_Init(md->Ctx, key, key_size, md->Md);
^
Encrypt.c:476:2: warning: passing argument 4 of 'HMAC_Init' from incompatible pointer type [enabled by default]
In file included from /home/buildroot/autobuild/run/instance-2/output/host/include/openssl/e_os2.h:13:0,
from /home/buildroot/autobuild/run/instance-2/output/host/include/openssl/ssl.h:15,
from Encrypt.c:127:
/home/buildroot/autobuild/run/instance-2/output/host/include/openssl/hmac.h:30:31: note: expected 'const struct EVP_MD *' but argument is of type 'const struct env_md_st *'
DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len,
^
/home/buildroot/autobuild/run/instance-2/output/host/include/openssl/opensslconf.h:118:37: note: in definition of macro 'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
^
/home/buildroot/autobuild/run/instance-2/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 from incompatible pointer type [enabled by default]
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:502:2: warning: passing argument 1 of 'EVP_MD_size' from incompatible pointer type [enabled by default]
m->Size = EVP_MD_size(m->Md);
^
In file included from /home/buildroot/autobuild/run/instance-2/output/host/include/openssl/x509.h:18:0,
from /home/buildroot/autobuild/run/instance-2/output/host/include/openssl/ssl.h:20,
from Encrypt.c:127:
/home/buildroot/autobuild/run/instance-2/output/host/include/openssl/evp.h:443:5: note: expected 'const struct EVP_MD *' 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
if (rsa->e != NULL)
^
Encrypt.c:824:14: error: dereferencing pointer to incomplete type
BN_free(rsa->e);
^
Encrypt.c:827:5: error: dereferencing pointer to incomplete type
rsa->e = BN_new();
^
Encrypt.c:828:17: error: dereferencing pointer to incomplete type
BN_set_word(rsa->e, RSA_F4);
^
Encrypt.c:830:9: error: dereferencing pointer to incomplete type
if (rsa->n != NULL)
^
Encrypt.c:832:14: error: dereferencing pointer to incomplete type
BN_free(rsa->n);
^
Encrypt.c:835:5: error: dereferencing pointer to incomplete type
rsa->n = BinToBigNum(data, size);
^
Encrypt.c: In function 'RsaPublicToBuf':
Encrypt.c:857:45: error: dereferencing pointer to incomplete type
if (k == NULL || k->pkey == NULL || k->pkey->pkey.rsa == NULL
^
Encrypt.c:858:13: error: dereferencing pointer to incomplete type
|| k->pkey->pkey.rsa->n == NULL)
^
Encrypt.c:863:25: error: dereferencing pointer to incomplete type
b = BigNumToBuf(k->pkey->pkey.rsa->n);
^
Encrypt.c: In function 'RsaPublicToBin':
Encrypt.c:877:45: error: dereferencing pointer to incomplete type
if (k == NULL || k->pkey == NULL || k->pkey->pkey.rsa == NULL
^
Encrypt.c:878:13: error: dereferencing pointer to incomplete type
|| k->pkey->pkey.rsa->n == NULL || data == NULL)
^
Encrypt.c:883:25: error: dereferencing pointer to incomplete type
b = BigNumToBuf(k->pkey->pkey.rsa->n);
^
Encrypt.c: In function 'RsaPublicSize':
Encrypt.c:900:45: error: dereferencing pointer to incomplete type
if (k == NULL || k->pkey == NULL || k->pkey->pkey.rsa == NULL
^
Encrypt.c:901:13: error: dereferencing pointer to incomplete type
|| k->pkey->pkey.rsa->n == NULL)
^
Encrypt.c:906:25: error: dereferencing pointer to incomplete type
b = BigNumToBuf(k->pkey->pkey.rsa->n);
^
Encrypt.c: In function 'NewX509':
Encrypt.c:2058:25: error: dereferencing pointer to incomplete type
ASN1_INTEGER *s = x509->cert_info->serialNumber;
^
Encrypt.c:2066:25: error: dereferencing pointer to incomplete type
ASN1_INTEGER *s = x509->cert_info->serialNumber;
^
Encrypt.c: In function 'NewRootX509':
Encrypt.c:2190:25: error: dereferencing pointer to incomplete type
ASN1_INTEGER *s = x509->cert_info->serialNumber;
^
Encrypt.c:2198:25: error: dereferencing pointer to incomplete type
ASN1_INTEGER *s = x509->cert_info->serialNumber;
^
Encrypt.c: In function 'LoadXDates':
Encrypt.c:2397:41: error: dereferencing pointer to incomplete type
x->notBefore = Asn1TimeToUINT64(x->x509->cert_info->validity->notBefore);
^
Encrypt.c:2398:40: error: dereferencing pointer to incomplete type
x->notAfter = Asn1TimeToUINT64(x->x509->cert_info->validity->notAfter);
^
Encrypt.c: In function 'RsaVerifyEx':
Encrypt.c:2571:62: error: dereferencing pointer to incomplete type
if (RSA_public_decrypt(bits / 8, sign, decrypt_data, k->pkey->pkey.rsa, RSA_PKCS1_PADDING) <= 0)
^
Encrypt.c: In function 'RsaSignEx':
Encrypt.c:2594:56: error: dereferencing pointer to incomplete type
if (dst == NULL || src == NULL || k == NULL || k->pkey->type != EVP_PKEY_RSA)
^
Encrypt.c:2612:58: error: dereferencing pointer to incomplete type
if (RSA_private_encrypt(sizeof(hash), hash, dst, k->pkey->pkey.rsa, RSA_PKCS1_PADDING) <= 0)
^
Encrypt.c: In function 'RsaPublicDecrypt':
Encrypt.c:2658:51: error: dereferencing pointer to incomplete type
ret = RSA_public_decrypt(size, src, tmp, k->pkey->pkey.rsa, RSA_NO_PADDING);
^
Encrypt.c: In function 'RsaPrivateEncrypt':
Encrypt.c:2689:52: error: dereferencing pointer to incomplete type
ret = RSA_private_encrypt(size, src, tmp, k->pkey->pkey.rsa, RSA_NO_PADDING);
^
Encrypt.c: In function 'RsaPrivateDecrypt':
Encrypt.c:2720:52: error: dereferencing pointer to incomplete type
ret = RSA_private_decrypt(size, src, tmp, k->pkey->pkey.rsa, RSA_NO_PADDING);
^
Encrypt.c: In function 'RsaPublicEncrypt':
Encrypt.c:2748:51: error: dereferencing pointer to incomplete type
ret = RSA_public_encrypt(size, src, tmp, k->pkey->pkey.rsa, RSA_NO_PADDING);
^
Encrypt.c: In function 'RsaCheck':
Encrypt.c:2793:3: warning: 'RSA_generate_key' is deprecated (declared at /home/buildroot/autobuild/run/instance-2/output/host/include/openssl/rsa.h:234) [-Wdeprecated-declarations]
rsa = RSA_generate_key(bit, RSA_F4, NULL, NULL);
^
Encrypt.c: In function 'RsaGen':
Encrypt.c:2863:3: warning: 'RSA_generate_key' is deprecated (declared at /home/buildroot/autobuild/run/instance-2/output/host/include/openssl/rsa.h:234) [-Wdeprecated-declarations]
rsa = RSA_generate_key(bit, RSA_F4, NULL, NULL);
^
Encrypt.c: In function 'X509ToX':
Encrypt.c:3977:7: warning: 'ASN1_STRING_data' is deprecated (declared at /home/buildroot/autobuild/run/instance-2/output/host/include/openssl/asn1.h:554) [-Wdeprecated-declarations]
char *uri = (char *)ASN1_STRING_data(ad->location->d.uniformResourceIdentifier);
^
Encrypt.c:3993:29: error: dereferencing pointer to incomplete type
x->serial = NewXSerial(x509->cert_info->serialNumber->data,
^
Encrypt.c:3994:7: error: dereferencing pointer to incomplete type
x509->cert_info->serialNumber->length);
^
Encrypt.c:4011:16: error: dereferencing pointer to incomplete type
type = k->pkey->type;
^
Encrypt.c: In function 'BioToBuf':
Encrypt.c:4083:12: error: dereferencing pointer to incomplete type
size = bio->num_write;
^
Encrypt.c: In function 'FreeOpenSSLThreadState':
Encrypt.c:4178:2: warning: 'ERR_remove_state' is deprecated (declared at /home/buildroot/autobuild/run/instance-2/output/host/include/openssl/err.h:260) [-Wdeprecated-declarations]
ERR_remove_state(0);
^
Encrypt.c: In function 'DhNew':
Encrypt.c:5003:8: error: dereferencing pointer to incomplete type
dh->dh->p = BinToBigNum(buf->Buf, buf->Size);
^
Encrypt.c:5004:8: error: dereferencing pointer to incomplete type
dh->dh->g = BN_new();
^
Encrypt.c:5005:20: error: dereferencing pointer to incomplete type
BN_set_word(dh->dh->g, g);
^
Encrypt.c:5009:38: error: dereferencing pointer to incomplete type
dh->MyPublicKey = BigNumToBuf(dh->dh->pub_key);
^
Encrypt.c:5010:39: error: dereferencing pointer to incomplete type
dh->MyPrivateKey = BigNumToBuf(dh->dh->priv_key);
^
make[2]: *** [Encrypt.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/home/buildroot/autobuild/run/instance-2/output/build/host-softether-v4.22-9634-beta/.stamp_built] Error 2
make: *** [_all] Error 2
make: Leaving directory `/home/buildroot/autobuild/run/instance-2/buildroot'