makefile:10 .. deprecated syntax (ipt_NETFLOW_2.1, Debian 8.1 Jessie)
NetFlow iptables module for Linux kernel
Brought to you by:
aabc
Hi all.
Help me please. I can't compile ipt_NETFLOW_2.1.
Debian 8.1 Jessie; gcc ver. 4.9.2-2
root@<hostname>:/home/<username>/ipt-netflow-2.1# uname -ra
Linux <hostname> 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux
root@<hostname>:/home/<username>/ipt-netflow-2.1# ./configure
Kernel version: 3.16.7 (proc)
Kernel sources: /lib/modules/3.16.0-4-amd64/build (found)
! Warning: proc kernel version (3.16.7) and found version of kernel source (3.16.7-ckt11) doesn't match!
! You may try to specify only kernel source tree with --kdir=/lib/modules/3.16.0-4-amd64/build
! and configure will pick up version properly.
! Assuming you want to build for 3.16.7-ckt11
Checking for presence of include/linux/llist.h... Yes
Iptables binary version: 1.4.21 (detected from /sbin/iptables)
pkg-config for version 1.4.21 exists: Yes
Checking for presence of xtables.h... Yes
Iptables include flags: (pkg-config)
Iptables module path: /lib/xtables (pkg-config)
Searching for net-snmp-config... Yes /usr/bin/net-snmp-config
Searching for net-snmp agent... Yes.
Checking for DKMS... Yes.
Creating Makefile.. done.
If you need some options enabled run ./configure --help
Now run: make all install
root@<hostname>:/home/<username>/ipt-netflow-2.1#
root@<hostname>:/home/<username>/ipt-netflow-2.1# make all
Compiling for kernel 3.16.7-ckt11
make -C /lib/modules/3.16.0-4-amd64/build M=/home/<username>/ipt-netflow-2.1 modules CONFIG_DEBUG_INFO=y
make[1]: вход в каталог «/usr/src/linux-headers-3.16.0-4-amd64»
Makefile:10: *** mixed implicit and normal rules: deprecated syntax
make[1]: Entering directory `/usr/src/linux-headers-3.16.0-4-amd64'
CC [M] /home/<username>/ipt-netflow-2.1/ipt_NETFLOW.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/<username>/ipt-netflow-2.1/ipt_NETFLOW.mod.o
LD [M] /home/<username>/ipt-netflow-2.1/ipt_NETFLOW.ko
make[1]: выход из каталога «/usr/src/linux-headers-3.16.0-4-amd64»
gcc -O2 -Wall -Wunused -DXTABLES -fPIC -o libipt_NETFLOW_sh.o -c libipt_NETFLOW.c
gcc -shared -o libipt_NETFLOW.so libipt_NETFLOW_sh.o
gcc -O2 -Wall -Wunused -DXTABLES -fPIC -o libip6t_NETFLOW_sh.o -c libipt_NETFLOW.c
gcc -shared -o libip6t_NETFLOW.so libip6t_NETFLOW_sh.o
gcc -fPIC -shared -o snmp_NETFLOW.so snmp_NETFLOW.c -lnetsnmp
rm libipt_NETFLOW_sh.o libip6t_NETFLOW_sh.o
root@<hostname>:/home/<username>/ipt-netflow-2.1#
When I "make all", I get "Makefile:10: *** mixed implicit and normal rules: deprecated syntax"
What am I doing wrong?
Hi. This is warning from the kernel source, not from ipt-netflow code. Just ignore it.