Skip to content

not compatible with kernel 4.6.0 #56

@karel-un

Description

@karel-un

gentoo-sources 4.6.0:

>>> Emerging (1 of 1) net-firewall/ipt_netflow-2.2::gentoo
 * ipt-netflow-2.2.tgz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                            [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/4.6.0-gentoo/build
 * Found sources for kernel version:
 *     4.6.0-gentoo
 * Checking for suitable kernel configuration options...                                                               [ ok ]
>>> Unpacking source...
>>> Unpacking ipt-netflow-2.2.tgz to /var/tmp/portage/net-firewall/ipt_netflow-2.2/work
>>> Source unpacked in /var/tmp/portage/net-firewall/ipt_netflow-2.2/work
>>> Preparing source in /var/tmp/portage/net-firewall/ipt_netflow-2.2/work/ipt-netflow-2.2 ...
 * Applying ipt_netflow-2.0-configure.patch ...                                                                        [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-firewall/ipt_netflow-2.2/work/ipt-netflow-2.2 ...
./configure --disable-dkms --ipt-lib=/usr/lib64/xtables --ipt-src=/usr/ --ipt-ver=1.4.21 --kdir=/usr/src/linux --kver=4.6.0-gentoo --enable-snmp-rules
Kernel version: 4.6.0-gentoo (requested)
Kernel sources: /usr/src/linux (requested)
Checking for presence of include/linux/llist.h... Yes
Checking for presence of include/linux/grsecurity.h... No
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/lib64/xtables (user specified)
Searching for net-snmp-config... Yes /usr/bin/net-snmp-config
Searching for net-snmp agent... Yes.
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.2/work/ipt-netflow-2.2 ...
make -j1 ARCH=x86 CC=x86_64-pc-linux-gnu-gcc all 
Compiling for kernel 4.6.0-gentoo
make -C /usr/src/linux M=/var/tmp/portage/net-firewall/ipt_netflow-2.2/work/ipt-netflow-2.2 modules CONFIG_DEBUG_INFO=y
make[1]: Entering directory '/usr/src/linux-4.6.0-gentoo'
  CC [M]  /var/tmp/portage/net-firewall/ipt_netflow-2.2/work/ipt-netflow-2.2/ipt_NETFLOW.o
/var/tmp/portage/net-firewall/ipt_netflow-2.2/work/ipt-netflow-2.2/ipt_NETFLOW.c: In function ‘ethtool_drvinfo’:
/var/tmp/portage/net-firewall/ipt_netflow-2.2/work/ipt-netflow-2.2/ipt_NETFLOW.c:3936:6: error: implicit declaration of function ‘__ethtool_get_settings’ [-Werror=implicit-function-declaration]
      !__ethtool_get_settings(dev, &ecmd)) {
      ^
cc1: some warnings being treated as errors
scripts/Makefile.build:297: recipe for target '/var/tmp/portage/net-firewall/ipt_netflow-2.2/work/ipt-netflow-2.2/ipt_NETFLOW.o' failed
make[2]: *** [/var/tmp/portage/net-firewall/ipt_netflow-2.2/work/ipt-netflow-2.2/ipt_NETFLOW.o] Error 1
Makefile:1428: recipe for target '_module_/var/tmp/portage/net-firewall/ipt_netflow-2.2/work/ipt-netflow-2.2' failed
make[1]: *** [_module_/var/tmp/portage/net-firewall/ipt_netflow-2.2/work/ipt-netflow-2.2] Error 2
make[1]: Leaving directory '/usr/src/linux-4.6.0-gentoo'
Makefile:24: recipe for target 'ipt_NETFLOW.ko' failed
make: *** [ipt_NETFLOW.ko] Error 2
 * ERROR: net-firewall/ipt_netflow-2.2::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-firewall/ipt_netflow-2.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-firewall/ipt_netflow-2.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-firewall/ipt_netflow-2.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-firewall/ipt_netflow-2.2/temp/environment'.
 * Working directory: '/var/tmp/portage/net-firewall/ipt_netflow-2.2/work/ipt-netflow-2.2'
 * S: '/var/tmp/portage/net-firewall/ipt_netflow-2.2/work/ipt-netflow-2.2'

>>> Failed to emerge net-firewall/ipt_netflow-2.2, Log file:

>>>  '/var/tmp/portage/net-firewall/ipt_netflow-2.2/temp/build.log'

 * Messages for package net-firewall/ipt_netflow-2.2:

 * ERROR: net-firewall/ipt_netflow-2.2::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-firewall/ipt_netflow-2.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-firewall/ipt_netflow-2.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-firewall/ipt_netflow-2.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-firewall/ipt_netflow-2.2/temp/environment'.
 * Working directory: '/var/tmp/portage/net-firewall/ipt_netflow-2.2/work/ipt-netflow-2.2'
 * S: '/var/tmp/portage/net-firewall/ipt_netflow-2.2/work/ipt-netflow-2.2'

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions