[fy@localhost iptables-1.2.9]$ ls
COPYING ip6tables-save.8 iptables-save.8
extensions ip6tables-save.c iptables-save.c
include ip6tables-standalone.c iptables-standalone.c
INCOMPATIBILITIES ippool iptables-standalone.d
INSTALL iptables.8 libipq
ip6tables.8 iptables.c libiptc
ip6tables.c iptables.d libiptc2
ip6tables-restore.8 iptables-restore.8 Makefile
ip6tables-restore.c iptables-restore.c Rules.make
[fy@localhost iptables-1.2.9]$ su
Password:
[root@localhost iptables-1.2.9]# make
Extensions found:
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.2.9\" -fPIC -o extensions/libipt_conntrack_sh.o -c extensions/libipt_conntrack.c
In file included from extensions/libipt_conntrack.c:14:
include/linux/netfilter_ipv4/ipt_conntrack.h:28: `IP_CT_DIR_MAX' undeclared here (not in a function)
include/linux/netfilter_ipv4/ipt_conntrack.h:29: `IP_CT_DIR_MAX' undeclared here (not in a function)
include/linux/netfilter_ipv4/ipt_conntrack.h:29: `IP_CT_DIR_MAX' undeclared here (not in a function)
extensions/libipt_conntrack.c: In function `parse_status':
extensions/libipt_conntrack.c:109: `IPS_EXPECTED' undeclared (first use in this function)
extensions/libipt_conntrack.c:109: (Each undeclared identifier is reported only once
extensions/libipt_conntrack.c:109: for each function it appears in.)
extensions/libipt_conntrack.c:111: `IPS_SEEN_REPLY' undeclared (first use in this function)
extensions/libipt_conntrack.c:113: `IPS_ASSURED' undeclared (first use in this function)
extensions/libipt_conntrack.c: In function `parse':
extensions/libipt_conntrack.c:212: `IP_CT_DIR_ORIGINAL' undeclared (first use in this function)
extensions/libipt_conntrack.c:269: `IP_CT_DIR_REPLY' undeclared (first use in this function)
extensions/libipt_conntrack.c: In function `print_status':
extensions/libipt_conntrack.c:378: `IPS_EXPECTED' undeclared (first use in this function)
extensions/libipt_conntrack.c:382: `IPS_SEEN_REPLY' undeclared (first use in this function)
extensions/libipt_conntrack.c:386: `IPS_ASSURED' undeclared (first use in this function)
extensions/libipt_conntrack.c: In function `matchinfo_print':
extensions/libipt_conntrack.c:440: `IP_CT_DIR_ORIGINAL' undeclared (first use in this function)
extensions/libipt_conntrack.c:460: `IP_CT_DIR_REPLY' undeclared (first use in this function)
make: *** [extensions/libipt_conntrack_sh.o] Error 1