Cook: gvpe 2.25 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): zlib-dev-1.2.11-any Installing (pkg/local): openssl-dev-1.1.1d-i486 Extracting source archive "gvpe-2.25.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed configure: loading site script /etc/slitaz/cook.site checking build system type... i486-slitaz-linux-gnu checking host system type... i486-slitaz-linux-gnu checking target system type... i486-slitaz-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking for style of include used by make... GNU checking for i486-slitaz-linux-gcc... i486-slitaz-linux-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 i486-slitaz-linux-gcc accepts -g... yes checking for i486-slitaz-linux-gcc option to accept ISO C89... none needed checking dependency style of i486-slitaz-linux-gcc... gcc3 checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking whether NLS is requested... yes checking for GNU gettext in libc... yes checking how to run the C preprocessor... i486-slitaz-linux-gcc -E checking for i486-slitaz-linux-g++... i486-slitaz-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i486-slitaz-linux-g++ accepts -g... yes checking dependency style of i486-slitaz-linux-g++... gcc3 checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether i486-slitaz-linux-gcc needs -traditional... no checking for gawk... (cached) awk checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for i486-slitaz-linux-ranlib... i486-slitaz-linux-ranlib checking for kernel networking interface type... native/linux checking how to run the C++ preprocessor... i486-slitaz-linux-g++ -E 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 tr1/unordered_map usability... yes checking tr1/unordered_map presence... yes checking for tr1/unordered_map... yes checking ext/hash_map usability... yes checking ext/hash_map presence... yes checking for ext/hash_map... yes checking clocale usability... yes checking clocale presence... yes checking for clocale... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking sys/cygwin.h usability... no checking sys/cygwin.h presence... no checking for sys/cygwin.h... no checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for arpa/inet.h... yes checking for net/ethernet.h... yes checking for net/if.h... yes checking for netinet/ip.h... yes checking for netinet/tcp.h... yes checking for netinet/in_systm.h... (cached) yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for socklen_t... yes checking for struct addrinfo... yes checking return type of signal handlers... void checking for ANSI C header files... (cached) yes checking for asprintf... yes checking for daemon... yes checking for get_current_dir_name... yes checking for putenv... yes checking for select... yes checking for strerror... yes checking for strsignal... yes checking for strtol... yes checking for unsetenv... yes checking for mlockall... yes checking for working alloca.h... yes checking for alloca... yes checking for socket... yes checking for gethostbyname... yes checking sys/inotify.h usability... yes checking sys/inotify.h presence... yes checking for sys/inotify.h... yes checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking sys/event.h usability... no checking sys/event.h presence... no checking for sys/event.h... no checking port.h usability... no checking port.h presence... no checking for port.h... no checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/eventfd.h usability... yes checking sys/eventfd.h presence... yes checking for sys/eventfd.h... yes checking sys/signalfd.h usability... yes checking sys/signalfd.h presence... yes checking for sys/signalfd.h... yes checking for inotify_init... yes checking for epoll_ctl... yes checking for kqueue... no checking for port_create... no checking for poll... yes checking for select... (cached) yes checking for eventfd... yes checking for signalfd... yes checking for clock_gettime... yes checking for nanosleep... yes checking for library containing floor... -lm checking for linux/if_tun.h... default checking openssl/evp.h usability... yes checking openssl/evp.h presence... yes checking for openssl/evp.h... yes checking openssl/rsa.h usability... yes checking openssl/rsa.h presence... yes checking for openssl/rsa.h... yes checking openssl/rand.h usability... yes checking openssl/rand.h presence... yes checking for openssl/rand.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking openssl/sha.h usability... yes checking openssl/sha.h presence... yes checking for openssl/sha.h... yes checking openssl/pem.h usability... yes checking openssl/pem.h presence... yes checking for openssl/pem.h... yes checking for SHA1_Init in -lcrypto... yes checking for RAND_pseudo_bytes... yes checking for OPENSSL_add_all_algorithms_noconf... no checking for OpenSSL_add_all_algorithms... no checking for SSLeay_add_all_algorithms... no checking for dlopen... no checking for dlopen in -ldl... yes checking for inflate... no checking for inflate in -lz... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --datarootdir setting config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating lib/Makefile config.status: creating m4/Makefile config.status: creating config.h config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing depfiles commands *** *** Configuration Summary *** *** Kernel Iface: native/linux *** Cipher used: aes_128_cbc *** Digest used: ripemd160 *** HMAC length: 12 *** RAND used: 8 *** Max. MTU: 1500 *** *** Enable options: *** #define ENABLE_CIPHER EVP_aes_128_cbc *** #define ENABLE_COMPRESSION 1 *** #define ENABLE_DIGEST EVP_ripemd160 *** /* #undef ENABLE_DNS */ *** #define ENABLE_HTTP_PROXY 1 *** #define ENABLE_ICMP 1 *** #define ENABLE_NLS 1 *** #define ENABLE_PTHREADS 1 *** #define ENABLE_TCP 1 *** make all-recursive make[1]: Entering directory '/home/slitaz/wok/gvpe/source/gvpe-2.25' Making all in m4 make[2]: Entering directory '/home/slitaz/wok/gvpe/source/gvpe-2.25/m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/slitaz/wok/gvpe/source/gvpe-2.25/m4' Making all in lib make[2]: Entering directory '/home/slitaz/wok/gvpe/source/gvpe-2.25/lib' i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT pidfile.o -MD -MP -MF .deps/pidfile.Tpo -c -o pidfile.o pidfile.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o getopt.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT getopt1.o -MD -MP -MF .deps/getopt1.Tpo -c -o getopt1.o getopt1.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT dropin.o -MD -MP -MF .deps/dropin.Tpo -c -o dropin.o dropin.c mv -f .deps/getopt.Tpo .deps/getopt.Po mv -f .deps/getopt1.Tpo .deps/getopt1.Po pidfile.c: In function 'read_pid': pidfile.c:53:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d", &pid); ^~~~~~~~~~~~~~~~~~~~ mv -f .deps/dropin.Tpo .deps/dropin.Po mv -f .deps/pidfile.Tpo .deps/pidfile.Po rm -f libgvpe.a ar cru libgvpe.a pidfile.o getopt.o getopt1.o dropin.o i486-slitaz-linux-ranlib libgvpe.a make[2]: Leaving directory '/home/slitaz/wok/gvpe/source/gvpe-2.25/lib' Making all in src make[2]: Entering directory '/home/slitaz/wok/gvpe/source/gvpe-2.25/src' i486-slitaz-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -D_GLIBCXX_USE_C99_MATH=1 -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT gvpectrl.o -MD -MP -MF .deps/gvpectrl.Tpo -c -o gvpectrl.o gvpectrl.C i486-slitaz-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -D_GLIBCXX_USE_C99_MATH=1 -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT conf.o -MD -MP -MF .deps/conf.Tpo -c -o conf.o conf.C i486-slitaz-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -D_GLIBCXX_USE_C99_MATH=1 -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.C i486-slitaz-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -D_GLIBCXX_USE_C99_MATH=1 -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT slog.o -MD -MP -MF .deps/slog.Tpo -c -o slog.o slog.C i486-slitaz-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -D_GLIBCXX_USE_C99_MATH=1 -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT ev_cpp.o -MD -MP -MF .deps/ev_cpp.Tpo -c -o ev_cpp.o ev_cpp.C i486-slitaz-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -D_GLIBCXX_USE_C99_MATH=1 -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT gvpe.o -MD -MP -MF .deps/gvpe.Tpo -c -o gvpe.o gvpe.C slog.C: In function 'void slog_(loglevel, const char*, ...)': slog.C:99:17: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write (2, msg, strlen (msg)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ slog.C:100:17: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write (2, "\n", 1); ~~~~~~^~~~~~~~~~~~ mv -f .deps/slog.Tpo .deps/slog.Po i486-slitaz-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -D_GLIBCXX_USE_C99_MATH=1 -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT vpn.o -MD -MP -MF .deps/vpn.Tpo -c -o vpn.o vpn.C In file included from ev_cpp.h:12, from ev_cpp.C:1: ../libev/ev++.h:379:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] default_loop (unsigned int flags = AUTO) throw (bad_loop) ^~~~~ In file included from ev_cpp.C:2: ../libev/ev.c:1537:25: warning: 'ev_rt_now' initialized and declared 'extern' EV_API_DECL ev_tstamp ev_rt_now = 0; /* needs to be initialised to make it a definition despite extern */ ^~~~~~~~~ In file included from ev_cpp.C:2: ../libev/ev.c: In function 'void evpipe_write(volatile sig_atomic_t*)': ../libev/ev.c:2162:17: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write (evpipe [1], &counter, sizeof (uint64_t)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libev/ev.c:2174:17: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] write (evpipe [1], &(evpipe [1]), 1); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libev/ev.c: In function 'void pipecb(ev_io*, int)': ../libev/ev.c:2195:16: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] read (evpipe [1], &counter, sizeof (uint64_t)); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../libev/ev.c:2209:16: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] read (evpipe [0], &dummy, sizeof (dummy)); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/bits/getopt_posix.h:27, from /usr/include/unistd.h:869, from gvpe.C:46: /usr/include/bits/getopt_core.h:91:12: error: declaration of 'int getopt(int, char* const*, const char*) throw ()' has a different exception specifier extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) ^~~~~~ In file included from gvpe.C:42: ../lib/getopt.h:108:12: note: from previous declaration 'int getopt(int, char* const*, const char*)' extern int getopt (int argc, char *const *argv, const char *shortopts); ^~~~~~ In file included from /usr/include/bits/getopt_posix.h:27, from /usr/include/unistd.h:869, from gvpectrl.C:46: /usr/include/bits/getopt_core.h:91:12: error: declaration of 'int getopt(int, char* const*, const char*) throw ()' has a different exception specifier extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) ^~~~~~ In file included from gvpectrl.C:42: ../lib/getopt.h:108:12: note: from previous declaration 'int getopt(int, char* const*, const char*)' extern int getopt (int argc, char *const *argv, const char *shortopts); ^~~~~~ In file included from ev_cpp.h:12, from util.h:45, from util.C:61: ../libev/ev++.h:379:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] default_loop (unsigned int flags = AUTO) throw (bad_loop) ^~~~~ mv -f .deps/util.Tpo .deps/util.Po i486-slitaz-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../libev -D_GLIBCXX_USE_C99_MATH=1 -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/var\" -DIFTYPE_native=1 -DIF_linux=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT vpn_tcp.o -MD -MP -MF .deps/vpn_tcp.Tpo -c -o vpn_tcp.o vpn_tcp.C In file included from ev_cpp.h:12, from util.h:45, from gvpe.C:62: ../libev/ev++.h:379:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] default_loop (unsigned int flags = AUTO) throw (bad_loop) ^~~~~ In file included from ev_cpp.h:12, from util.h:45, from gvpectrl.C:59: ../libev/ev++.h:379:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] default_loop (unsigned int flags = AUTO) throw (bad_loop) ^~~~~ make[2]: *** [Makefile:408: gvpe.o] Error 1 make[2]: *** Waiting for unfinished jobs.... gvpectrl.C: In function 'int keygen(int)': gvpectrl.C:281:16: error: aggregate 'BN_GENCB cb' has incomplete type and cannot be defined BN_GENCB cb; ^~ gvpectrl.C:242:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] asprintf (&fname, "%s/hostkeys", confbase); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gvpectrl.C:246:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] asprintf (&fname, "%s/pubkey", confbase); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gvpectrl.C:254:16: warning: ignoring return value of 'int asprintf(char**, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] asprintf (&fname, "%s/pubkey/%s", confbase, node->nodename); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gvpectrl.C:292:16: warning: ignoring return value of 'int asprintf(char**, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] asprintf (&fname, "%s/hostkeys/%s", confbase, node->nodename); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:408: gvpectrl.o] Error 1 In file included from ev_cpp.h:12, from util.h:45, from connection.h:40, from vpn.C:54: ../libev/ev++.h:379:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] default_loop (unsigned int flags = AUTO) throw (bad_loop) ^~~~~ In file included from ev_cpp.h:12, from util.h:45, from conf.C:55: ../libev/ev++.h:379:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] default_loop (unsigned int flags = AUTO) throw (bad_loop) ^~~~~ vpn.C: In member function 'void vpn::script_init_env()': vpn.C:87:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] asprintf (&env, "CONFBASE=%s", confbase); putenv (env); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vpn.C:88:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] asprintf (&env, "IFNAME=%s", tap->interface ()); putenv (env); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vpn.C:89:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] asprintf (&env, "IFTYPE=%s", IFTYPE); putenv (env); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ vpn.C:90:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] asprintf (&env, "IFSUBTYPE=%s", IFSUBTYPE); putenv (env); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vpn.C:91:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] asprintf (&env, "MTU=%d", mtu); putenv (env); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ vpn.C:92:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] asprintf (&env, "NODES=%d", conns.size ()); putenv (env); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vpn.C:93:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] asprintf (&env, "NODEID=%d", THISNODE->id); putenv (env); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vpn.C: In member function 'const char* vpn::script_if_up()': vpn.C:119:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] asprintf (&filename, ~~~~~~~~~^~~~~~~~~~~ "%s/%s", ~~~~~~~~ confbase, ~~~~~~~~~ ::conf.script_if_up ? ::conf.script_if_up : "if-up"); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.C: In constructor 'configuration_parser::configuration_parser(configuration&, bool, int, char**)': conf.C:651:29: error: invalid use of incomplete type 'RSA' {aka 'struct rsa_st'} if (BN_cmp (conf.rsa_key->n, conf.thisnode->rsa_key->n) != 0 ^~ In file included from /usr/include/openssl/err.h:20, from conf.C:47: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA' {aka 'struct rsa_st'} typedef struct rsa_st RSA; ^~~~~~ conf.C:651:56: error: invalid use of incomplete type 'RSA' {aka 'struct rsa_st'} if (BN_cmp (conf.rsa_key->n, conf.thisnode->rsa_key->n) != 0 ^~ In file included from /usr/include/openssl/err.h:20, from conf.C:47: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA' {aka 'struct rsa_st'} typedef struct rsa_st RSA; ^~~~~~ conf.C:652:32: error: invalid use of incomplete type 'RSA' {aka 'struct rsa_st'} || BN_cmp (conf.rsa_key->e, conf.thisnode->rsa_key->e) != 0) ^~ In file included from /usr/include/openssl/err.h:20, from conf.C:47: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA' {aka 'struct rsa_st'} typedef struct rsa_st RSA; ^~~~~~ conf.C:652:59: error: invalid use of incomplete type 'RSA' {aka 'struct rsa_st'} || BN_cmp (conf.rsa_key->e, conf.thisnode->rsa_key->e) != 0) ^~ In file included from /usr/include/openssl/err.h:20, from conf.C:47: /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'RSA' {aka 'struct rsa_st'} typedef struct rsa_st RSA; ^~~~~~ In file included from util.h:42, from conf.C:55: conf.C: In member function 'void configuration::print()': conf.C:706:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=] printf (_("rekeying interval: %d\n"), rekey); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/gettext.h:38:27: note: in definition of macro '_' # define _(Text) gettext (Text) ^~~~ conf.C:707:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=] printf (_("keepalive interval: %d\n"), keepalive); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/gettext.h:38:27: note: in definition of macro '_' # define _(Text) gettext (Text) ^~~~ conf.C:713:11: warning: '0' flag used with '%s' gnu_printf format [-Wformat=] printf ("%4s %-17s %s %-8.8s %-10.10s %04s %s\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.C: In member function 'const char* configuration_parser::parse_line(char*)': conf.C:313:18: warning: ignoring return value of 'int asprintf(char**, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] asprintf (&fname, "%s/pubkey/%s", confbase, node->nodename); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.C: In constructor 'configuration_parser::configuration_parser(configuration&, bool, int, char**)': conf.C:618:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] asprintf (&fname, "%s/gvpe.conf", confbase); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.C: In member function 'char* configuration::config_filename(const char*, const char*)': conf.C:667:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] asprintf (&fname, name ? name : dflt, ::thisnode); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.C:672:16: warning: ignoring return value of 'int asprintf(char**, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] asprintf (&fname, "%s/%s", confbase, rname); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.C: In constructor 'configuration::configuration()': conf.C:724:12: warning: ignoring return value of 'int asprintf(char**, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] asprintf (&confbase, "%s/gvpe", CONFDIR); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:408: conf.o] Error 1 mv -f .deps/ev_cpp.Tpo .deps/ev_cpp.Po In file included from ev_cpp.h:12, from util.h:45, from device.h:40, from vpn.h:37, from vpn_tcp.C:56: ../libev/ev++.h:379:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] default_loop (unsigned int flags = AUTO) throw (bad_loop) ^~~~~ mv -f .deps/vpn.Tpo .deps/vpn.Po mv -f .deps/vpn_tcp.Tpo .deps/vpn_tcp.Po make[2]: Leaving directory '/home/slitaz/wok/gvpe/source/gvpe-2.25/src' make[1]: *** [Makefile:337: all-recursive] Error 1 make[1]: Leaving directory '/home/slitaz/wok/gvpe/source/gvpe-2.25' make: *** [Makefile:277: all] Error 2 Build dependencies to remove: 2 Removing: openssl-dev zlib-dev Debug information ret1. ================================================================================ Cook date: 2020-09-12 14:47 Wasted time : 18s 321:/usr/include/bits/getopt_core.h:91:12: error: declaration of 'int getopt(int, char* const*, const char*) throw ()' has a different exception specifier 331:/usr/include/bits/getopt_core.h:91:12: error: declaration of 'int getopt(int, char* const*, const char*) throw ()' has a different exception specifier 361:gvpectrl.C:281:16: error: aggregate 'BN_GENCB cb' has incomplete type and cannot be defined 423:conf.C:651:29: error: invalid use of incomplete type 'RSA' {aka 'struct rsa_st'} 431:conf.C:651:56: error: invalid use of incomplete type 'RSA' {aka 'struct rsa_st'} 439:conf.C:652:32: error: invalid use of incomplete type 'RSA' {aka 'struct rsa_st'} 447:conf.C:652:59: error: invalid use of incomplete type 'RSA' {aka 'struct rsa_st'} ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================