* Package: net-firewall/ipt_netflow-2.3 * Repository: gentoo * Maintainer: pinkbyte@gentoo.org netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * 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.4.6-gentoo * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking ipt_netflow-2.3.tar.gz to /var/tmp/portage/net-firewall/ipt_netflow-2.3/work >>> Source unpacked in /var/tmp/portage/net-firewall/ipt_netflow-2.3/work >>> Preparing source in /var/tmp/portage/net-firewall/ipt_netflow-2.3/work/ipt-netflow-2.3 ... * Applying ipt_netflow-2.0-configure.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-firewall/ipt_netflow-2.3/work/ipt-netflow-2.3 ... ./configure --disable-dkms --enable-aggregation --enable-direction --enable-macaddress --enable-vlan --ipt-lib=/usr/lib64/xtables --ipt-src=/usr/ --ipt-ver=1.8.4 --kdir=/usr/src/linux --kver=5.4.6-gentoo --disable-snmp-agent Kernel version: 5.4.6-gentoo (requested) Kernel sources: /usr/src/linux (requested) Kernel config file checked: /usr/src/linux/.config ! Attention: CONFIG_NF_NAT_NEEDED is undefined in your kernel configuration ! Without this option enabled natevents will not work. ! Attention: CONFIG_NF_CONNTRACK_EVENTS is undefined in your kernel configuration ! Without this option enabled natevents will not work. Checking for presence of include/linux/llist.h... Yes Checking for presence of include/linux/grsecurity.h... No Iptables binary version: 1.8.4 (user specified) pkg-config for version 1.8.4 exists: Yes Check for working gcc: Yes (gcc) Checking for presence of xtables.h... Yes Iptables include flags: (pkg-config) Iptables module path: /usr/lib64/xtables (user specified) Creating Makefile.. done. If you need some options enabled run ./configure --help Now run: make all install >>> Source configured. >>> Compiling source in /var/tmp/portage/net-firewall/ipt_netflow-2.3/work/ipt-netflow-2.3 ... make -j1 ARCH=x86 CC=x86_64-pc-linux-gnu-gcc all Compiling for kernel 5.4.6-gentoo make -C /usr/src/linux M=/var/tmp/portage/net-firewall/ipt_netflow-2.3/work/ipt-netflow-2.3 modules CONFIG_DEBUG_INFO=y make[1]: Entering directory '/usr/src/linux-5.4.6-gentoo' CC [M] /var/tmp/portage/net-firewall/ipt_netflow-2.3/work/ipt-netflow-2.3/ipt_NETFLOW.o /var/tmp/portage/net-firewall/ipt_netflow-2.3/work/ipt-netflow-2.3/ipt_NETFLOW.c: In function ‘netflow_export_pdu_v5’: /var/tmp/portage/net-firewall/ipt_netflow-2.3/work/ipt-netflow-2.3/ipt_NETFLOW.c:2621:2: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘do_settimeofday64’? [-Werror=implicit-function-declaration] 2621 | do_gettimeofday(&tv); | ^~~~~~~~~~~~~~~ | do_settimeofday64 /var/tmp/portage/net-firewall/ipt_netflow-2.3/work/ipt-netflow-2.3/ipt_NETFLOW.c: In function ‘netflow_target’: /var/tmp/portage/net-firewall/ipt_netflow-2.3/work/ipt-netflow-2.3/ipt_NETFLOW.c:5253:19: error: ‘struct rtable’ has no member named ‘rt_gateway’ 5253 | nf->nh.ip = rt->rt_gateway; | ^~ /var/tmp/portage/net-firewall/ipt_netflow-2.3/work/ipt-netflow-2.3/ipt_NETFLOW.c: In function ‘ipt_netflow_init’: /var/tmp/portage/net-firewall/ipt_netflow-2.3/work/ipt-netflow-2.3/ipt_NETFLOW.c:5510:43: error: invalid operands to binary << (have ‘long unsigned int (*)(void)’ and ‘int’) 5510 | unsigned long memksize = (num_physpages << PAGE_SHIFT) / 1024; | ^~ /var/tmp/portage/net-firewall/ipt_netflow-2.3/work/ipt-netflow-2.3/ipt_NETFLOW.c: In function ‘ipt_netflow_fini’: /var/tmp/portage/net-firewall/ipt_netflow-2.3/work/ipt-netflow-2.3/ipt_NETFLOW.c:5701:2: error: implicit declaration of function ‘synchronize_sched’; did you mean ‘synchronize_net’? [-Werror=implicit-function-declaration] 5701 | synchronize_sched(); | ^~~~~~~~~~~~~~~~~ | synchronize_net In file included from /var/tmp/portage/net-firewall/ipt_netflow-2.3/work/ipt-netflow-2.3/ipt_NETFLOW.c:77: /var/tmp/portage/net-firewall/ipt_netflow-2.3/work/ipt-netflow-2.3/murmur3.h: In function ‘murmur3’: /var/tmp/portage/net-firewall/ipt_netflow-2.3/work/ipt-netflow-2.3/murmur3.h:35:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 35 | case 3: k1 ^= tail[2] << 16; | ~~~^~~~~~~~~~~~~~~~ /var/tmp/portage/net-firewall/ipt_netflow-2.3/work/ipt-netflow-2.3/murmur3.h:36:3: note: here 36 | case 2: k1 ^= tail[1] << 8; | ^~~~ /var/tmp/portage/net-firewall/ipt_netflow-2.3/work/ipt-netflow-2.3/murmur3.h:36:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 36 | case 2: k1 ^= tail[1] << 8; | ~~~^~~~~~~~~~~~~~~ /var/tmp/portage/net-firewall/ipt_netflow-2.3/work/ipt-netflow-2.3/murmur3.h:37:3: note: here 37 | case 1: k1 ^= tail[0]; | ^~~~ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:266: /var/tmp/portage/net-firewall/ipt_netflow-2.3/work/ipt-netflow-2.3/ipt_NETFLOW.o] Error 1 make[1]: *** [Makefile:1652: /var/tmp/portage/net-firewall/ipt_netflow-2.3/work/ipt-netflow-2.3] Error 2 make[1]: Leaving directory '/usr/src/linux-5.4.6-gentoo' make: *** [Makefile:25: ipt_NETFLOW.ko] Error 2 * ERROR: net-firewall/ipt_netflow-2.3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-firewall/ipt_netflow-2.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-firewall/ipt_netflow-2.3::gentoo'`. * The complete build log is located at '/var/log/portage/net-firewall:ipt_netflow-2.3:20191228-135426.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-firewall/ipt_netflow-2.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-firewall/ipt_netflow-2.3/temp/environment'. * Working directory: '/var/tmp/portage/net-firewall/ipt_netflow-2.3/work/ipt-netflow-2.3' * S: '/var/tmp/portage/net-firewall/ipt_netflow-2.3/work/ipt-netflow-2.3'