|
我给新的iptable添加模块,编译进内核.但是我新的iptable居然安装不上.
[root@localhost iptables-1.3.5]# make BINDIR=/sbin LIBDIR=/lib MANDIR=/usr/share/man install
Rules.make:29: 目标“extensions/libipt_comment.d”在同一个规则中给出了多次。
Rules.make:33: 目标“extensions/libipt_comment.so”在同一个规则中给出了多次。
Making dependencies: please wait...
In file included from /usr/src/kernels/2.6.9-5.EL-i686/include/linux/netfilter_ipv4.h:8,
from /usr/src/kernels/2.6.9-5.EL-i686/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from libiptc/libip4tc.c:29:
...................
/usr/src/kernels/2.6.9-5.EL-i686/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/kernels/2.6.9-5.EL-i686/include/linux/netfilter_ipv4.h:8,
from /usr/src/kernels/2.6.9-5.EL-i686/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_tcpmss.c:8:
/usr/src/kernels/2.6.9-5.EL-i686/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/kernels/2.6.9-5.EL-i686/include/linux/netfilter_ipv4.h:8,
from /usr/src/kernels/2.6.9-5.EL-i686/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_tcp.c:7:
/usr/src/kernels/2.6.9-5.EL-i686/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
Rules.make:29: 目标“extensions/libipt_comment.d”在同一个规则中给出了多次。
Rules.make:33: 目标“extensions/libipt_comment.so”在同一个规则中给出了多次。
cc -O2 -Wall -Wunused -I/usr/src/kernels/2.6.9-5.EL-i686/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.5\" -fPIC -o extensions/libipt_ah_sh.o -c extensions/libipt_ah.c
In file included from /usr/src/kernels/2.6.9-5.EL-i686/include/linux/netfilter_ipv4.h:8,
from /usr/src/kernels/2.6.9-5.EL-i686/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_ah.c:8:
/usr/src/kernels/2.6.9-5.EL-i686/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
make: *** [extensions/libipt_ah_sh.o] 错误 1 |
|