Всем привет!
Обновился до версии jessie со squeeze, стоял iptables и ipt_netflow собранный из сорцов, Ipt_netflow отвалился.
Собрал заново,делаю:
./configure
Kernel version: 3.10-2-686-pae
Kernel sources: /lib/modules/3.10-2-686-pae/build
Iptables binary version: 1.4.20 (detected from /sbin/iptables)
pkg-config for version 1.4.20 exists: Yes
Iptables include path: (pkg-config)
Iptables module path: /lib/xtables (pkg-config)
Creating Makefile.. done.
Now run: make all install
make all install
Compiling for kernel 3.10-2-686-pae
make -C /lib/modules/3.10-2-686-pae/build M=/tmp/ipt_netflow-1.8 modules
make[1]: Entering directory `/usr/src/linux-headers-3.10-2-686-pae'
CC [M] /tmp/ipt_netflow-1.8/ipt_NETFLOW.o
/tmp/ipt_netflow-1.8/ipt_NETFLOW.c: In function ‘ipt_netflow_find’:
/tmp/ipt_netflow-1.8/ipt_NETFLOW.c:859:62: error: macro "hlist_for_each_entry" passed 4 arguments, but takes just 3
/tmp/ipt_netflow-1.8/ipt_NETFLOW.c:859:2: error: ‘hlist_for_each_entry’ undeclared (first use in this function)
/tmp/ipt_netflow-1.8/ipt_NETFLOW.c:859:2: note: each undeclared identifier is reported only once for each function it appears in
/tmp/ipt_netflow-1.8/ipt_NETFLOW.c:859:64: error: expected ‘;’ before ‘{’ token
/tmp/ipt_netflow-1.8/ipt_NETFLOW.c:857:21: warning: unused variable ‘pos’ [-Wunused-variable]
/tmp/ipt_netflow-1.8/ipt_NETFLOW.c:856:22: warning: unused variable ‘nf’ [-Wunused-variable]
/tmp/ipt_netflow-1.8/ipt_NETFLOW.c: In function ‘ipt_netflow_init’:
/tmp/ipt_netflow-1.8/ipt_NETFLOW.c:1437:2: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
/tmp/ipt_netflow-1.8/ipt_NETFLOW.c:1437:12: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/ipt_netflow-1.8/ipt_NETFLOW.c:1442:11: error: dereferencing pointer to incomplete type
cc1: some warnings being treated as errors
make[4]: *** [/tmp/ipt_netflow-1.8/ipt_NETFLOW.o] Error 1
make[3]: *** [_module_/tmp/ipt_netflow-1.8] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.10-2-686-pae'
make: *** [ipt_NETFLOW.ko] Error 2
подскажите, как это можно исправить?