LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 835|回复: 1

安装新的iptable的问题

[复制链接]
发表于 2006-5-17 22:25:07 | 显示全部楼层 |阅读模式
我给新的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
 楼主| 发表于 2006-5-18 08:58:23 | 显示全部楼层
还有意个问题,重新启动就找不到网卡了!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表