Ola pessoal to implementando o módulo P2P do Iptables e to com um problema na hora de compilar, quem puder me dar uma luz... ficarei grato!! após o #make
recebo a mensagem de erro abaixo!!! :cry: :cry:
#make
make -C iptables
make[1]: Entrando no diretório `/home/install/iptables-p2p-0.3.0a/iptables'
gcc -O2 -Wall -DIPTABLES_VERSION=\"1.2.7a\" -I../common -c -o libipt_p2p.o libipt_p2p.c
In file included from /usr/include/iptables/iptables.h:5,
from libipt_p2p.c:23:
/usr/include/iptables/libiptc/libiptc.h:5:40: libiptc/ipt_kernel_headers.h: Arquivo ou diretório não encontrado
In file included from /usr/include/linux/netfilter_ipv4/ip_tables.h:18,
from /usr/include/iptables/libiptc/libiptc.h:6,
from /usr/include/iptables/iptables.h:5,
from libipt_p2p.c:23:
/usr/include/linux/netfilter_ipv4.h:53: `INT_MIN' undeclared here (not in a function)
/usr/include/linux/netfilter_ipv4.h:53: enumerator value for `NF_IP_PRI_FIRST' not integer constant
/usr/include/linux/netfilter_ipv4.h:59: `INT_MAX' undeclared here (not in a function)
/usr/include/linux/netfilter_ipv4.h:59: enumerator value for `NF_IP_PRI_LAST' not integer constant
In file included from /usr/include/iptables/libiptc/libiptc.h:6,
from /usr/include/iptables/iptables.h:5,
from libipt_p2p.c:23:
/usr/include/linux/netfilter_ipv4/ip_tables.h:26: field `src' has incomplete type
/usr/include/linux/netfilter_ipv4/ip_tables.h:26: field `dst' has incomplete type
/usr/include/linux/netfilter_ipv4/ip_tables.h:28: field `smsk' has incomplete type
/usr/include/linux/netfilter_ipv4/ip_tables.h:28: field `dmsk' has incomplete type
/usr/include/linux/netfilter_ipv4/ip_tables.h:29: `IFNAMSIZ' undeclared here (not in a function)
/usr/include/linux/netfilter_ipv4/ip_tables.h:29: `IFNAMSIZ' undeclared here (not in a function)
/usr/include/linux/netfilter_ipv4/ip_tables.h:30: `IFNAMSIZ' undeclared here (not in a function)
/usr/include/linux/netfilter_ipv4/ip_tables.h:30: `IFNAMSIZ' undeclared here (not in a function)
make[1]: ** [libipt_p2p.o] Erro 1
make[1]: Saindo do diretório `/home/install/iptables-p2p-0.3.0a/iptables'
make: ** [linux-2.4] Erro 2