* Package: net-firewall/ipt_netflow-2.1 * Repository: gentoo * Maintainer: pinkbyte@gentoo.org netmon@gentoo.org * USE: abi_x86_32 elibc_glibc kernel_linux userland_GNU x86 * FEATURES: ccache preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/4.0.5-gentoo/build * Found sources for kernel version: * 4.0.5-gentoo * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking ipt-netflow-2.1.tgz to /var/tmp/portage/net-firewall/ipt_netflow-2.1/work >>> Source unpacked in /var/tmp/portage/net-firewall/ipt_netflow-2.1/work >>> Preparing source in /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1 ... * Applying ipt_netflow-2.0-configure.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1 ... ./configure --disable-dkms --ipt-lib=/usr/lib/xtables --ipt-src=/usr/ --ipt-ver=1.4.21 --kdir=/usr/src/linux --kver=4.0.5-gentoo --disable-snmp-agent Kernel version: 4.0.5-gentoo (requested) Kernel sources: /usr/src/linux (requested) Checking for presence of include/linux/llist.h... Yes Iptables binary version: 1.4.21 (user specified) pkg-config for version 1.4.21 exists: Yes Checking for presence of xtables.h... Yes Iptables include flags: (pkg-config) Iptables module path: /usr/lib/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.1/work/ipt-netflow-2.1 ... make -j5 ARCH=x86 CC=i686-pc-linux-gnu-gcc all i686-pc-linux-gnu-gcc -O2 -mtune=i686 -march=i686 -mmmx -msse -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed -Wall -Wunused -DXTABLES -fPIC -o libipt_NETFLOW_sh.o -c libipt_NETFLOW.c i686-pc-linux-gnu-gcc -O2 -mtune=i686 -march=i686 -mmmx -msse -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed -Wall -Wunused -DXTABLES -fPIC -o libip6t_NETFLOW_sh.o -c libipt_NETFLOW.c Compiling for kernel 4.0.5-gentoo make -C /usr/src/linux M=/var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1 modules CONFIG_DEBUG_INFO=y make[1]: Entering directory '/usr/src/linux-4.0.5-gentoo' i686-pc-linux-gnu-gcc -O2 -mtune=i686 -march=i686 -mmmx -msse -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed -shared -o libip6t_NETFLOW.so libip6t_NETFLOW_sh.o i686-pc-linux-gnu-gcc -O2 -mtune=i686 -march=i686 -mmmx -msse -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed -shared -o libipt_NETFLOW.so libipt_NETFLOW_sh.o CC [M] /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.o /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c: In function ‘sk_error_report’: /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:1748:2: error: implicit declaration of function ‘__get_cpu_var’ [-Werror=implicit-function-declaration] NETFLOW_STAT_INC(sock_cberr); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:1748:34: error: request for member ‘sock_cberr’ in something not a structure or union NETFLOW_STAT_INC(sock_cberr); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c: In function ‘netflow_sendmsg’: /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:1836:36: error: request for member ‘send_failed’ in something not a structure or union NETFLOW_STAT_INC(send_failed); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:1850:36: error: request for member ‘send_failed’ in something not a structure or union NETFLOW_STAT_INC(send_failed); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:1870:36: error: request for member ‘exported_pkt’ in something not a structure or union NETFLOW_STAT_INC(exported_pkt); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:1871:36: error: request for member ‘exported_traf’ in something not a structure or union NETFLOW_STAT_ADD(exported_traf, ret); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:1880:35: error: request for member ‘pkt_lost’ in something not a structure or union NETFLOW_STAT_ADD(pkt_lost, pdu_packets); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:1881:35: error: request for member ‘traf_lost’ in something not a structure or union NETFLOW_STAT_ADD(traf_lost, pdu_traf); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:1882:35: error: request for member ‘flow_lost’ in something not a structure or union NETFLOW_STAT_ADD(flow_lost, pdu_flow_records); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:1883:78: error: request for member ‘lost’ in something not a structure or union NETFLOW_STAT_TS(lost); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:1883:127: error: request for member ‘lost’ in something not a structure or union NETFLOW_STAT_TS(lost); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:1883:177: error: request for member ‘lost’ in something not a structure or union NETFLOW_STAT_TS(lost); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:1885:35: error: request for member ‘exported_flow’ in something not a structure or union NETFLOW_STAT_ADD(exported_flow, pdu_flow_records); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c: In function ‘ipt_netflow_find’: /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:2260:36: error: request for member ‘found’ in something not a structure or union NETFLOW_STAT_INC(found); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:2263:35: error: request for member ‘searched’ in something not a structure or union NETFLOW_STAT_INC(searched); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:2265:34: error: request for member ‘notfound’ in something not a structure or union NETFLOW_STAT_INC(notfound); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c: In function ‘alloc_record_key’: /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:3423:79: error: request for member ‘alloc_err’ in something not a structure or union NETFLOW_STAT_INC_ATOMIC(alloc_err); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c: In function ‘netflow_export_flow_tpl’: /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:3528:35: error: request for member ‘pkt_lost’ in something not a structure or union NETFLOW_STAT_ADD(pkt_lost, nf->nr_packets); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:3529:35: error: request for member ‘traf_lost’ in something not a structure or union NETFLOW_STAT_ADD(traf_lost, nf->nr_bytes); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:3530:35: error: request for member ‘flow_lost’ in something not a structure or union NETFLOW_STAT_INC(flow_lost); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:3531:78: error: request for member ‘lost’ in something not a structure or union NETFLOW_STAT_TS(lost); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:3531:127: error: request for member ‘lost’ in something not a structure or union NETFLOW_STAT_TS(lost); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:3531:177: error: request for member ‘lost’ in something not a structure or union NETFLOW_STAT_TS(lost); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c: In function ‘netflow_scan_and_export’: /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:4131:35: error: request for member ‘pkt_out’ in something not a structure or union NETFLOW_STAT_ADD(pkt_out, nf->nr_packets); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:4132:35: error: request for member ‘traf_out’ in something not a structure or union NETFLOW_STAT_ADD(traf_out, nf->nr_bytes); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c: In function ‘netflow_target’: /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:4669:35: error: request for member ‘truncated’ in something not a structure or union NETFLOW_STAT_INC(truncated); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:4670:35: error: request for member ‘pkt_drop’ in something not a structure or union NETFLOW_STAT_INC(pkt_drop); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:4671:35: error: request for member ‘traf_drop’ in something not a structure or union NETFLOW_STAT_ADD(traf_drop, skb->len); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:4672:78: error: request for member ‘drop’ in something not a structure or union NETFLOW_STAT_TS(drop); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:4672:127: error: request for member ‘drop’ in something not a structure or union NETFLOW_STAT_TS(drop); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:4672:177: error: request for member ‘drop’ in something not a structure or union NETFLOW_STAT_TS(drop); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:4805:35: error: request for member ‘frags’ in something not a structure or union NETFLOW_STAT_INC(frags); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:4945:36: error: request for member ‘maxflows_err’ in something not a structure or union NETFLOW_STAT_INC(maxflows_err); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:4946:36: error: request for member ‘pkt_drop’ in something not a structure or union NETFLOW_STAT_INC(pkt_drop); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:4947:36: error: request for member ‘traf_drop’ in something not a structure or union NETFLOW_STAT_ADD(traf_drop, pkt_len); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:4948:79: error: request for member ‘drop’ in something not a structure or union NETFLOW_STAT_TS(drop); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:4948:128: error: request for member ‘drop’ in something not a structure or union NETFLOW_STAT_TS(drop); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:4948:178: error: request for member ‘drop’ in something not a structure or union NETFLOW_STAT_TS(drop); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:4954:36: error: request for member ‘alloc_err’ in something not a structure or union NETFLOW_STAT_INC(alloc_err); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:4955:36: error: request for member ‘pkt_drop’ in something not a structure or union NETFLOW_STAT_INC(pkt_drop); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:4956:36: error: request for member ‘traf_drop’ in something not a structure or union NETFLOW_STAT_ADD(traf_drop, pkt_len); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:4957:79: error: request for member ‘drop’ in something not a structure or union NETFLOW_STAT_TS(drop); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:4957:128: error: request for member ‘drop’ in something not a structure or union NETFLOW_STAT_TS(drop); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:4957:178: error: request for member ‘drop’ in something not a structure or union NETFLOW_STAT_TS(drop); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:5032:34: error: request for member ‘pkt_total’ in something not a structure or union NETFLOW_STAT_INC(pkt_total); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:5033:34: error: request for member ‘traf_total’ in something not a structure or union NETFLOW_STAT_ADD(traf_total, pkt_len); ^ /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c: In function ‘ipt_netflow_init’: /var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.c:5312:28: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=] hashsize * sizeof(struct hlist_head) / 1024); ^ cc1: some warnings being treated as errors scripts/Makefile.build:264: recipe for target '/var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.o' failed make[2]: *** [/var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1/ipt_NETFLOW.o] Error 1 Makefile:1390: recipe for target '_module_/var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1' failed make[1]: *** [_module_/var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1] Error 2 make[1]: Leaving directory '/usr/src/linux-4.0.5-gentoo' Makefile:24: recipe for target 'ipt_NETFLOW.ko' failed make: *** [ipt_NETFLOW.ko] Error 2 rm libipt_NETFLOW_sh.o libip6t_NETFLOW_sh.o * ERROR: net-firewall/ipt_netflow-2.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-firewall/ipt_netflow-2.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-firewall/ipt_netflow-2.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-firewall/ipt_netflow-2.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-firewall/ipt_netflow-2.1/temp/environment'. * Working directory: '/var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1' * S: '/var/tmp/portage/net-firewall/ipt_netflow-2.1/work/ipt-netflow-2.1'