* Package: net-vpn/vtun-3.0.3-r1 * Repository: gentoo * Maintainer: pinkbyte@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ssl userland_GNU zlib * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.5.0-gentoo * Checking for suitable kernel configuration options... * CONFIG_TUN: is not set when it should be. * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. >>> Unpacking source... >>> Unpacking vtun-3.0.3.tar.gz to /var/tmp/portage/net-vpn/vtun-3.0.3-r1/work >>> Source unpacked in /var/tmp/portage/net-vpn/vtun-3.0.3-r1/work >>> Preparing source in /var/tmp/portage/net-vpn/vtun-3.0.3-r1/work/vtun-3.0.3 ... * Applying vtun-3.0.3-includes.patch ... [ ok ] * Applying vtun-3.0.2-remove-config-presence-check.patch ... [ ok ] * Applying vtun-3.0.3-gcc5.patch ... [ ok ] * Applying vtun-libssl-1.1.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-vpn/vtun-3.0.3-r1/work/vtun-3.0.3 ... * econf: updating vtun-3.0.3/config.sub with /usr/share/gnuconfig/config.sub * econf: updating vtun-3.0.3/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --enable-ssl --enable-zlib --disable-lzo --disable-socks --enable-shaper checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for bison... bison -y checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... (cached) none needed checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking for an ANSI C-conforming const... yes checking for inline... inline checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for egrep... grep -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 sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking resolv.h usability... yes checking resolv.h presence... yes checking for resolv.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/ip.h usability... yes checking netinet/ip.h presence... yes checking for netinet/ip.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking for library containing socket... none required checking for library containing inet_ntoa... none required checking for library containing gethostbyname... none required checking for library containing nanosleep... none required checking for library containing setproctitle... -lbsd configure: checking for ZLIB Library and Header files ... ... checking for deflate in -lz... yes configure: checking for md5 Library and Header files ... ... checking "for md5.h"... (/usr/include/openssl) yes configure: checking for blowfish Library and Header files ... ... checking "for blowfish.h"... (/usr/include/openssl) yes checking for BF_set_key in -lcrypto... yes configure: checking for AES Library and Header files ... ... checking "for aes.h"... (/usr/include/openssl) yes checking for AES_set_encrypt_key in -lcrypto... yes configure: checking for EVP Library and Header files ... ... checking "for evp.h"... (/usr/include/openssl) yes checking for EVP_EncryptInit in -lcrypto... yes checking for getpt... yes checking for grantpt... yes checking for unlockpt... yes checking for ptsname... yes checking linux/if_tun.h usability... yes checking linux/if_tun.h presence... yes checking for linux/if_tun.h... yes creating driver and protocol links ... linking linux/tun_dev.c to tun_dev.c linking linux/tap_dev.c to tap_dev.c linking generic/pty_dev.c to pty_dev.c linking generic/pipe_dev.c to pipe_dev.c linking generic/tcp_proto.c to tcp_proto.c linking generic/udp_proto.c to udp_proto.c configure: creating ./config.status config.status: creating Makefile config.status: creating config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/net-vpn/vtun-3.0.3-r1/work/vtun-3.0.3 ... make -j1 x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c main.c In file included from main.c:38: vtun.h:234:13: warning: inline function ‘clear_nat_hack_flags’ declared but never defined 234 | inline void clear_nat_hack_flags(int svr); | ^~~~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:186:12: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 186 | close(0); dup(fd); | ^~~~~~~ main.c:187:12: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 187 | close(1); dup(fd); | ^~~~~~~ main.c:188:19: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 188 | close(2); dup(fd); | ^~~~~~~ main.c:193:2: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] 193 | chdir("/"); | ^~~~~~~~~~ bison -y -d -b cfg_file cfg_file.y cfg_file.y:72.1-7: warning: POSIX Yacc does not support %expect [-Wyacc] 72 | %expect 20 | ^~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c cfg_file.tab.c cfg_file.tab.c: In function ‘yyparse’: cfg_file.tab.c:2215:18: warning: passing argument 1 of ‘yyerror’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2215 | yyerror (yymsgp); | ^~~~~~ cfg_file.y:61:19: note: expected ‘char *’ but argument is of type ‘const char *’ 61 | int yyerror(char *s); | ~~~~~~^ flex -t cfg_file.l > cfg_file.lex.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c cfg_file.lex.c In file included from cfg_file.l:28: vtun.h:234:13: warning: inline function ‘clear_nat_hack_flags’ declared but never defined 234 | inline void clear_nat_hack_flags(int svr); | ^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c server.c In file included from server.c:47: server.c: In function ‘listener’: lib.h:40:21: warning: implicit declaration of function ‘setproctitle’; did you mean ‘set_title’? [-Wimplicit-function-declaration] 40 | #define set_title setproctitle | ^~~~~~~~~~~~ server.c:155:6: note: in expansion of macro ‘set_title’ 155 | set_title("waiting for connections on port %d", vtun.bind_addr.port); | ^~~~~~~~~ In file included from server.c:46: server.c: At top level: vtun.h:234:13: warning: inline function ‘clear_nat_hack_flags’ declared but never defined 234 | inline void clear_nat_hack_flags(int svr); | ^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c client.c In file included from client.c:43: client.c: In function ‘client’: lib.h:40:21: warning: implicit declaration of function ‘setproctitle’; did you mean ‘set_title’? [-Wimplicit-function-declaration] 40 | #define set_title setproctitle | ^~~~~~~~~~~~ client.c:90:2: note: in expansion of macro ‘set_title’ 90 | set_title("%s init initializing", host->host); | ^~~~~~~~~ In file included from client.c:42: client.c: At top level: vtun.h:234:13: warning: inline function ‘clear_nat_hack_flags’ declared but never defined 234 | inline void clear_nat_hack_flags(int svr); | ^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c lib.c In file included from lib.c:39: vtun.h:234:13: warning: inline function ‘clear_nat_hack_flags’ declared but never defined 234 | inline void clear_nat_hack_flags(int svr); | ^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c llist.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c auth.c In file included from auth.c:54: auth.c: In function ‘auth_server’: lib.h:40:21: warning: implicit declaration of function ‘setproctitle’; did you mean ‘set_title’? [-Wimplicit-function-declaration] 40 | #define set_title setproctitle | ^~~~~~~~~~~~ auth.c:326:9: note: in expansion of macro ‘set_title’ 326 | set_title("authentication"); | ^~~~~~~~~ In file included from auth.c:53: auth.c: At top level: vtun.h:234:13: warning: inline function ‘clear_nat_hack_flags’ declared but never defined 234 | inline void clear_nat_hack_flags(int svr); | ^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c tunnel.c In file included from tunnel.c:55: tunnel.c: In function ‘tunnel’: lib.h:40:21: warning: implicit declaration of function ‘setproctitle’; did you mean ‘set_title’? [-Wimplicit-function-declaration] 40 | #define set_title setproctitle | ^~~~~~~~~~~~ tunnel.c:185:5: note: in expansion of macro ‘set_title’ 185 | set_title("%s running up commands", host->host); | ^~~~~~~~~ In file included from tunnel.c:53: tunnel.c: At top level: vtun.h:234:13: warning: inline function ‘clear_nat_hack_flags’ declared but never defined 234 | inline void clear_nat_hack_flags(int svr); | ^~~~~~~~~~~~~~~~~~~~ tunnel.c: In function ‘tunnel’: tunnel.c:171:17: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 171 | close(0); dup(fd[1]); | ^~~~~~~~~~ tunnel.c:172:17: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 172 | close(1); dup(fd[1]); | ^~~~~~~~~~ tunnel.c:176:17: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 176 | close(2); dup(null_fd); | ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c lock.c In file included from lock.c:37: vtun.h:234:13: warning: inline function ‘clear_nat_hack_flags’ declared but never defined 234 | inline void clear_nat_hack_flags(int svr); | ^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c netlib.c In file included from netlib.c:74: vtun.h:234:13: warning: inline function ‘clear_nat_hack_flags’ declared but never defined 234 | inline void clear_nat_hack_flags(int svr); | ^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c tun_dev.c In file included from tun_dev.c:37: vtun.h:234:13: warning: inline function ‘clear_nat_hack_flags’ declared but never defined 234 | inline void clear_nat_hack_flags(int svr); | ^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c tap_dev.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c pty_dev.c In file included from pty_dev.c:32: vtun.h:234:13: warning: inline function ‘clear_nat_hack_flags’ declared but never defined 234 | inline void clear_nat_hack_flags(int svr); | ^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c pipe_dev.c In file included from pipe_dev.c:33: vtun.h:234:13: warning: inline function ‘clear_nat_hack_flags’ declared but never defined 234 | inline void clear_nat_hack_flags(int svr); | ^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c tcp_proto.c In file included from tcp_proto.c:54: vtun.h:234:13: warning: inline function ‘clear_nat_hack_flags’ declared but never defined 234 | inline void clear_nat_hack_flags(int svr); | ^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c udp_proto.c In file included from udp_proto.c:56: vtun.h:234:13: warning: inline function ‘clear_nat_hack_flags’ declared but never defined 234 | inline void clear_nat_hack_flags(int svr); | ^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c linkfd.c In file included from linkfd.c:48: vtun.h:234:13: warning: inline function ‘clear_nat_hack_flags’ declared but never defined 234 | inline void clear_nat_hack_flags(int svr); | ^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c lfd_shaper.c In file included from lfd_shaper.c:32: vtun.h:234:13: warning: inline function ‘clear_nat_hack_flags’ declared but never defined 234 | inline void clear_nat_hack_flags(int svr); | ^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c lfd_zlib.c In file included from lfd_zlib.c:32: vtun.h:234:13: warning: inline function ‘clear_nat_hack_flags’ declared but never defined 234 | inline void clear_nat_hack_flags(int svr); | ^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c lfd_lzo.c In file included from lfd_lzo.c:32: vtun.h:234:13: warning: inline function ‘clear_nat_hack_flags’ declared but never defined 234 | inline void clear_nat_hack_flags(int svr); | ^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c lfd_encrypt.c In file included from lfd_encrypt.c:49: vtun.h:234:13: warning: inline function ‘clear_nat_hack_flags’ declared but never defined 234 | inline void clear_nat_hack_flags(int svr); | ^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -DVTUN_CONFIG_FILE=\"/etc/vtund.conf\" -DVTUN_PID_FILE=\"/var/lib/run/vtund.pid\" -DVTUN_STAT_DIR=\"/var/lib/log/vtund\" -DVTUN_LOCK_DIR=\"/var/lib/lock/vtund\" -c lfd_legacy_encrypt.c In file included from lfd_legacy_encrypt.c:46: vtun.h:234:13: warning: inline function ‘clear_nat_hack_flags’ declared but never defined 234 | inline void clear_nat_hack_flags(int svr); | ^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -I/usr/include/openssl -o vtund main.o cfg_file.tab.o cfg_file.lex.o server.o client.o lib.o llist.o auth.o tunnel.o lock.o netlib.o tun_dev.o tap_dev.o pty_dev.o pipe_dev.o tcp_proto.o udp_proto.o linkfd.o lfd_shaper.o lfd_zlib.o lfd_lzo.o lfd_encrypt.o lfd_legacy_encrypt.o -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -lbsd -lz -lcrypto /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: lfd_legacy_encrypt.o:(.bss+0x0): multiple definition of `enc_buf'; lfd_encrypt.o:(.bss+0x78): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: lfd_legacy_encrypt.o:(.bss+0x20): multiple definition of `key'; lfd_encrypt.o:(.bss+0x80): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:62: vtund] Error 1 * ERROR: net-vpn/vtun-3.0.3-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-vpn/vtun-3.0.3-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-vpn/vtun-3.0.3-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-vpn:vtun-3.0.3-r1:20200204-232936.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-vpn/vtun-3.0.3-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-vpn/vtun-3.0.3-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-vpn/vtun-3.0.3-r1/work/vtun-3.0.3' * S: '/var/tmp/portage/net-vpn/vtun-3.0.3-r1/work/vtun-3.0.3'