- 论坛徽章:
- 0
|
系统为rhel as4,内核原代码树为ftp://updates.redhat.com提供for rhel as4 的kernel-2.6.9-5.0.3.EL.src.rpm ,rpm -ivh kernel-2.6.9-5.0.3.EL.src.rpm 安装内核原代码后编译iptables使用参数
make KERNEL_DIR=/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9
编译时提示如下错误:
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from libiptc/libip4tc.c:29:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from iptables.c:39:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from iptables-standalone.c:38:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_recent.c:8:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_ULOG.c:18:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_TTL.c:12:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_TRACE.c:7:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_TOS.c:7:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_TCPMSS.c:10:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_TARPIT.c:4:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_SNAT.c:7:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_SAME.c:7:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_REJECT.c:9:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_REDIRECT.c:7:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_NOTRACK.c:7:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_NETMAP.c:10:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_MIRROR.c:7:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_MASQUERADE.c:7:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_MARK.c:7:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_LOG.c:8:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_ECN.c:16:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_DSCP.c:17:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_DNAT.c:7:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_CONNMARK.c:27:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_CLASSIFY.c:7:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_unclean.c:5:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_udp.c:7:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_ttl.c:12:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_tos.c:8:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/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/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/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/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_state.c:7:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_standard.c:8:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_sctp.c:17:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_rpc.c:52:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_realm.c:12:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_pkttype.c:17:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_physdev.c:7:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_owner.c:10:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_multiport.c:7:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_mark.c:8:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_mac.c:12:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_limit.c:11:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_length.c:8:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_iprange.c:8:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_icmp.c:7:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_helper.c:8:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_hashlimit.c:18:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_esp.c:8:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_ecn.c:15:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_dscp.c:20:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_conntrack.c:11:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_connmark.c:28:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_connlimit.c:8:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_comment.c:14:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_addrtype.c:9:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/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/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/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/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
make: *** [extensions/libipt_ah_sh.o] Error 1
以上信息是我用make KERNEL_DIR=/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9 2>;err.txt取得的,请问iptables-1.3.1不能使用redhat提供的修改过的内核原代码吗? |
|