论坛风格切换切换到宽版
  • 651阅读
  • 9回复

[问题求助]请问编译iptables-1.3.1出错问题? [复制链接]

上一主题 下一主题
离线chinablue.
 
发帖
2151
C币
-235260
威望
390
贡献值
1
银元
-3
铜钱
4734
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
系统为rhel as4,内核原代码树为ftp:/./updates.redhat.co.m提供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=/u.sr/.src/redhat/BUILD/kernel-2.6.9/linux-2.6.9           女人
编译时提示如下错误:
I..n file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_i.pv4.h:8,    美容
                 from /usr/src/redhat/BUILD/kernel-2.6.9/li.nux-2.6.9/include/linux/netfilter_ip.v4/ip_tabl.es.h:26,.
          .       from incl.ude/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 incl.uding kernel .hea.der in userspace; use the glibc headers instead!    美容
In. file included from /usr/src/redhat/BUILD/k.ernel-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/incl.ude/linux/netfilter_ipv4/ip_tables.h:26,.
                 from inc.lude/lib.iptc/libiptc.h:6,电脑
                 from. include/iptables.h.:5,    健康
        .         from iptables.c:3.9:             电子
/usr/src/r.edha.t/BUILD/k.ernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kerne.l header in userspace; use the glibc headers instead!.
In file includ.ed from /usr/src/r.edhat/BUILD/ker.nel-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. inclu.de/libiptc/libiptc.h:6,域名
          ..       from include/iptables.h:5,
.                from iptables-s.tandalone.c:38:电影
/usr/src/redhat/BUILD/kernel-2.6.9./linux-2.6.9/incl.ude/linux/config.h:6:2: #error including kernel h.eade.r in userspace; use the glibc headers instead!--- 印刷
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/l.inux-2.6.9/include/linux/netfilter_.i.pv4.h:8,外贸
                 from /usr/src/red.hat/BUILD/kernel-2.6.9/lin.ux-2.6.9/include/linux/netfilter._ipv4/ip_tables.h:26,健康
             .    fro.m include/libiptc/libiptc.h:6,电影
          .  .     from include/iptables.h:5,    美容
       .         . from extensions/libipt_recent.c:8:    美容
/usr/src/redhat/BUIL.D/kernel-2.6.9/linux-2.6..9/include/linux/config.h:6:2: #erro.r including kernel header in userspace; use the glibc headers instead.!.
In file included from /usr/.sr.c/redhat/BUILD/kernel-2.6.9/li.nux-2.6.9/include/linux/netfilter_ipv4.h:8,--- 印刷
                 from /usr/src/redhat/BUI.LD/kernel-2.6.9/linux-2.6.9./include/linux/netfilter_ipv4/ip_tab.les.h:26,.
                 from includ.e/libiptc/lib.iptc.h:6,--- 印刷
             .    from include/ipt.ables.h:5,    外汇
                 from extension.s/libipt_ULOG.c:.18:<性病>
/usr/src/redhat/BU.ILD/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 /u..sr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilt.er_ipv4.h:8,--- 印刷
                 from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2..6.9/include/linux/netfil.ter_.ipv4/ip_tables.h:26,.
            .     from include/lib.iptc/libiptc.h:6,学习
            .     from inc.lude/iptables.h:5,<性病>
             .    from extensions/libip.t_TTL.c:12:          婚庆
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #erro.r inclu.ding kernel header in userspace; use the glibc headers. ins.tead!             汽车
In file included. from /.usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/inclu.de/linux/netfilter_ipv4.h:8,             汽车
                . from /usr/src/redhat/BUI.LD/kernel-2.6.9/linux-2.6.9/.include/linux/netfilter_ipv4/ip_tables.h:26,电影
        .         from include/libip.tc/libiptc.h:6,[成人用品]
             .    from include/iptables..h:5,--------------彩票
                 .from exten.sions/libipt_TRACE.c:7:             汽车
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/i.nclude/linux/config.h:6:2: #error includin.g kernel header in userspace; use the glibc headers in.s.tead!.
In file included from /usr/src/red.hat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/ne.tfilte.r_ipv4.h:8,             汽车
                 from /usr/src/.redhat/BUILD/kernel-2.6.9/linux-.2.6.9/include/linux/netfilt.er_ipv4/ip_tables.h:26,.
             .    from include/libiptc/libi.ptc.h:6,.
   .     .         from include/iptables.h:5,              乙肝
                 from extensions/lib.ipt_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 th.e glibc headers instead!.
In fil.e included f.rom /usr/src/redhat/BUILD/kernel.-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,.
                 from /u.sr/src/redhat/BUI.LD/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_TC.PM.SS.c:10:--- 印刷
/usr/src/redhat/BUI.LD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in user.space; use the glibc ..headers instead!             汽车
In file included from /usr/src/redhat/BUILD/ke.rnel-2..6..9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,
                 from /usr/src/redhat/BUILD/kern.el-2.6.9/linux-2.6.9/incl.ude/linux/netfilter_i.pv4/ip_tables.h:26,             汽车
                 f.rom include/libiptc/l.ibiptc.h:6,学习
               .  fro.m include/iptables.h:5,             电子
                . from. extensions/libipt_TARPIT.c:4:    美容
/usr/src/redh.at/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:.6:2: #error includ.ing 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/netf.ilter_ipv4..h:8,.
    .             fr.om /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linu.x/netfilter_ipv4/ip_tables.h:26,             汽车
                 from include/libip.tc/.libiptc.h:6,            杀毒
               .  from include./iptables.h:5,.
           .      from extensions/libipt_SNAT.c.:7:    美容
/usr/src/r.edhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in us.erspace; use .the glibc headers in.stead!    健康
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linu.x-2.6.9/inc.lude/linu.x/netfilter_ipv4.h:8,.
                 from /usr/.src/redhat/BUILD/.kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tab.les.h:26,.
                 from include/li.bi.ptc/libiptc.h:6,服务器
        .         from include/ipta.bles.h:5,.
     .            from extensions/li.bipt_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 i.n userspace; use t.he .glibc headers instead!    健康
In file inclu.ded from /usr/src/redhat/BUILD/ke.rnel-.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/libi.ptc.h:6,投资
.                .from include/iptables.h:5,             汽车
                 from ext.ensions/libipt_REJE.CT.c:9:--- 印刷
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #er.ror inc.luding kernel. header in usersp.ace; use the glibc headers instead!<性病>
In file included from /usr/src/redhat./BUILD/kernel-2.6.9./linux-2.6.9/include/li.nux/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 in.clude/libiptc/libiptc.h:6,投资
                 fro.m include/iptables.h:.5,教育
                 f.rom 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 h..eader in userspa.ce; use the glibc headers inste.ad!电影
In file included from /usr/src/redhat/BUI..LD/kernel-2.6.9/linux-2.6.9/include/linux/.netfilter_ipv4.h:8,.
                 from /us.r/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9./include/linux/netfilter_ipv4/ip_tab.les.h:26,    外汇
                 from include/l.ib.iptc/libiptc.h:6,.
        .         from include/iptables..h:5,[成人用品]
                 from ex.tensions/.libipt_NOTRACK.c:7:.
/usr/s.rc/redha.t/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel header in userspace.; use th.e glibc headers instead!.
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-.2.6.9/inclu.de/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/l.ibiptc..h:6,投资
.           .     from include/iptables.h:5,              乙肝
                 from .extensions/libipt_NETMAP.c:10.:[成人用品]
/usr/sr.c/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error. including .kernel he.ader in userspace; use the glibc headers instead!             电子
In file included from /usr/src/redhat/BUILD./kernel-2.6.9/linux-2.6.9/includ.e/linux/netfil.ter_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/libipt.c/li.biptc.h:6,服务器
                 from include/i.p.tables.h:5,.
             .    from ext.ensions/libipt_MIRROR.c:7:.
/us.r./src/redhat/BUILD/kernel-2.6.9/li.nux-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/ker.nel-2.6.9/li.nux-2.6.9/include/linux/netfilter_i.pv4.h:8,虚拟主机
                 from /usr/src/redhat/BUILD/kernel-2.6..9/lin.ux-2.6.9/include/linux/netfil.ter_ipv4/ip_tables.h:26,健康
                 fr.om .include/libiptc/libiptc.h:6,              乙肝
                 from include/.iptables.h:5.,          婚庆
          .       from extensions/libipt_MAS.QUERADE.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 use.rspace; use the glibc he.aders instead!.
In file. included from /usr/src/redhat/BUILD/kernel-2.6..9/linux-.2.6.9/include/linux/netfilter_ipv4.h:8,.
                 from /us.r./src/redhat/BUILD/kern.el-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,(        游戏          )
                 from include/li.biptc./libiptc.h:6,(广告)
                 from. incl.ude/iptables.h:5,--------------彩票
                 fro.m extensions/libip.t_MARK.c:7:.
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/inclu.de/linux/config.h.:6:2: #error in.cluding k.ernel header in userspace; use the glibc headers instead!虚拟主机
In file included f.rom /usr/src/redhat/BUILD/kernel-2.6..9/linux-2.6.9/include/linux/netfilter_ipv.4.h:8,             汽车
    .      .       from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_table.s.h:26,--------------彩票
               .  from includ.e/libiptc/libiptc.h:6,           鲜花
              .   from include/iptab.les.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 kerne.l header in use.rspace; use the glibc headers instead!--- 印刷
In file .included from /usr/sr.c./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/linu.x-2.6.9/include/linux/netfilter_ipv4/ip_tab.les.h:26,电脑
. .               from include/libiptc/libiptc.h:6,教育
   .              from .include/iptables.h:5,投资
                 from extensions/.libip.t_ECN.c:16:投资
/usr/src/redhat/BUILD/kern.el-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including kernel .header in userspace; use the gl.ibc headers .instead!.
In file included from /usr/src/redha.t/BUILD/kerne.l-2.6.9/linux-2.6.9/include/linux/netfilter_ip.v4.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 ext.ensions./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 he.ade.r in userspace; use the glibc heade.rs instead!              乙肝
In f.ile included. from /usr/.src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,.
                 from ./usr/sr.c/red.hat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,电影
                 from include/libip.tc/libip.tc.h:6,           鲜花
                 fro.m include/iptab.les.h:5,             汽车
                 fro..m extensions/libipt_DNAT.c:7:              乙肝
/usr/.src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/.config.h:6:2: #error includi.ng kernel header in userspace; use the glibc heade.rs instead!(        游戏          )
In. file included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/net..filter_ipv4.h:8,教育
                 fr.om /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux./netfilter_ipv4/ip_tables.h:26.,             汽车
           .      from include/libiptc/libipt.c.h:6,虚拟主机
     .            from incl.ude/iptables.h:5,           鲜花
                 from extensions/lib.ipt_CONNMARK..c:27:             汽车
/usr/sr.c/redhat/BUILD/kernel-2.6.9/linux.-2.6.9/include/linux/config.h:6:2: #err.or including kernel header in userspace; use the gli.bc headers instead!             电子
In file included from /usr/src/redhat/BUILD/ke.rnel-2..6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:.8,             汽车
              .   fr.om /usr/src/redhat/BUILD/kern.el-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,           建材
           .      from in.clude/libiptc/libiptc.h:6,.
                 fr..om include/iptables.h:5,电影
.                from. extensions/libipt_CLASSIFY.c:7:    健康
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/i.nclude/linux/config.h:6:2: #error including kernel header in userspac.e; .use the glibc headers instea.d!.
In file included from /usr/s.rc/.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/netfilte.r_ipv4/ip_tables.h:26,    健康
  .        .       from include/libiptc/libiptc.h:6,.
.                fro.m 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. kern.el header in userspace; use the. glibc headers instead!            杀毒
In file included from /.usr/src/redhat/BUI.LD/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/li.nux/netfilter_ipv4/ip_tables.h:26,.虚拟主机
                 from. include/libiptc/lib.iptc.h:6,教育
                 f.rom 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: #e.rror including kernel header in userspace; use the glibc h.eaders. instead!    美容
In file included from /usr/src/redhat/BUILD/kernel-2.6..9/linux-2.6.9/include/linux/netfilt..er_ipv4.h:8,--- 印刷
                 from /usr/src./redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv.4/ip_tables.h.:26,.
     .            from include/libiptc/lib.iptc.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 usersp.ace; use the glibc headers instead!           建材
In file included from /usr/s.rc/red.hat/BUILD/kern.el-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,教育
                 from /usr/src/redhat/BUILD/k.ernel-2.6.9/linux-2.6.9/include/linux/netfilter._ipv4/ip_ta.bles.h:26,.
                 fro.m i.nclude/libiptc/libiptc.h:6,    外汇
                 from incl.ude/iptables.h:5.,    健康
       .          from extensions/libipt_to.s.c:8:[成人用品]
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error. including kernel he.ader .in userspace; use the glibc headers inste.ad!             汽车
In file included from /usr/src/redhat/BUILD/kernel-2.6..9/linux-2.6..9/include/linux/netfil.ter_ipv4.h:8,域名
                 from /usr/src/redhat/BUILD/kernel-2.6.9/lin.ux-.2.6.9/include/linux/netfilter_ipv4/ip_ta.bles.h:26,(        游戏          )
                 fro.m include/libiptc/lib.iptc.h:6,.
     .            from include/.iptables.h:5,              乙肝
.          .      from extensions/libipt_tcpmss.c:8:投资
/usr/src/redhat/BUILD/kernel-2.6.9/li.nux.-2.6.9/include/linux/co.nfig.h:6:2: #error including kernel header in userspace; us.e 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/netfi.lter_ipv4/ip_tables.h:26,              乙肝
                 from include./libiptc/libiptc..h:6,           女人
  .               from include/ip.tables.h:5,(广告)
.                from extensions/libi.pt_tcp.c:7:(        游戏          )
/usr/src/redhat/BUILD/kern.el-2.6.9/linux-2.6.9/incl.ude/linux/config.h:6:2: #error including kernel header in userspace; use. the glibc headers instea.d!           女人
In file included from /usr/src/redhat/B.UILD/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,.
                 fr.om include/libiptc/libipt.c.h:6,投资
                 from .include/iptables.h:.5,.
   .              from e.xtensions/libipt_state.c:7:健康
/usr/src/redhat/BUILD/kern.el-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/.redh.at/BUILD/.kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,.
                 from /usr/src/re.dhat/BUILD/kernel-2.6.9/.linux-2.6.9/include/linux/netfilter_ipv4/.ip_tables.h:26,--- 印刷
.  .              from include/libiptc/libiptc.h:6,--------------彩票
                . f.rom include/iptables.h:5,教育
         .        from extensions/libipt_stan.dard.c:8:域名
/usr/.src/redhat/BUILD/ker.nel-2.6.9/linux-.2.6.9/inclu.de/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!.
In file inc.luded from /usr/src/re.dhat/BUILD/kernel-2.6.9/linux-2.6..9/include/linux/netfilter_ipv4.h:8,--- 印刷
                 from /usr/src/redh.at/BUILD/kernel-2.6.9/linux-2.6.9/include/.linux/netf.ilter_ipv4/ip_tables.h:26,.
              .   from includ.e/libiptc/libiptc.h:6,.
                 from inclu..de/iptables.h:5,[成人用品]
                 from extensions/libipt._sctp..c:17:
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6..9/includ.e/linux/config.h:6:2: #error inclu.ding kernel header in userspace; use th.e glibc headers instead!             电子
In file included from /usr/src/redhat/BUILD/kernel-2.6..9/linux-2.6.9/inclu.de/linux/.netfilter_ipv4.h:8,    美容
     .            from /usr/src/redhat/BUILD./kernel-2.6.9/linux-2.6.9/include/linux/n.etfilter_ipv4/ip_tables.h:26,
                 from. include/li.biptc/libiptc.h:6,           女人
                 from inc.lude/.iptables.h:5,.
                 from ex.tensions/libipt_rpc..c:52:           女人
/usr/src/redhat/BU.ILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error including .kernel header in user.space; use the glibc head.ers instead!<性病>
In file included from /usr/src/redhat/BUILD/.kernel-2.6.9/linux-2..6.9/include/linux/netfilter_ipv.4.h:8,              乙肝
               .  from /usr/src/redhat./BUILD/kernel-2.6.9/linux-2.6.9/include/linux./netfilter_ipv4/ip_tables.h:26,             电子
.                from i.nclude/libiptc/libiptc.h:6,             电子
      .      .     from include/iptables.h:5,投资
                 from ext.ensions/libipt_rea.lm.c:12:           建材
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #error incl.uding kernel header in userspace; u.s.e the glibc header.s 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/BU.ILD/kernel-2.6.9/linux-2.6.9/include/li.nux/netfilter_ipv4/ip_tables.h:26.,             电子
      .           from include/libiptc/libiptc.h.:6,.
          .       from i.nclude/iptables.h:5,(        游戏          )
    .             from exte.nsions/libipt_pkttype.c:17:学习
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/incl.ude/linux/config.h:6:2: #error includ.ing kernel header in userspace; use the glibc headers in..stead![成人用品]
In file inclu.ded from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/i.nclude/linux/netfilter_.ipv4.h:8,.
                 from /usr./src/redhat/BUILD/ke.rnel-2.6.9/linux-2.6.9/include/linux/netfilte.r_ipv4/ip_tables.h:26,.
                 from i.nclude/libiptc/l.ibiptc.h:6,--- 印刷
             . .   from include/iptables.h:5,.
                 from extensions/libi.pt_physdev.c:7.:.
/usr/src/r.edhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/config..h.:6:2: #error including kernel header in userspace; use the g.libc headers instead!外贸
In file included from /usr/src/red.hat/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/n.etfilter_ipv4/ip_tables.h:26,电影
  .             .  from include/libiptc/libiptc.h:6,<性病>
                . from include/iptable.s.h:5,健康
                 fr.om extensions/libipt_.owner.c:10:教育
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/.linux/config.h:6:2: #error includin.g kernel header in userspace; use. the glibc h.eaders instead!健康
In file included from /usr/src/redhat/BUILD/ker.nel-2.6.9/linux-2.6.9/incl.ude/linux/netfilter_.ipv4.h:8,学习
                 from /.usr/src/redhat/BUILD/kernel-2.6.9./li.nux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,           鲜花
                 from include/l.ibiptc/li.biptc.h:6,.
                 .fro.m include/iptables.h:5,(广告)
          .       from extensions/libipt_multipo.rt.c:7:          婚庆
/.usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/l.inux/.config.h:6:2: #error including kernel header in userspace; u.se the glibc headers instead!           鲜花
In file included from /usr./src/redhat/BUILD/kernel-2.6.9/lin.ux-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 inc.lude/libiptc/libiptc.h:6,
.                from include/ipta.bles.h:5,           鲜花
                 from extensi.ons/lib.ipt_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 use.rspace; .use. t.he glibc headers instead!.
In file included fr.om /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,             电子
        .         fr.om include/libiptc/libiptc.h:6,域名
    .             fr.om include/iptables.h:5,健康
                 from extension.s/libipt_m.ac.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 gli.bc headers instead!服务器
In file included from /usr/src/redhat/B.UILD/kernel-2.6.9/linux-2.6.9/inc.lude/linux/netfilter_i.pv4.h:8,             电子
                 from /usr/src/redhat/BUILD/kern.el-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,.
                 f.rom extension.s/libipt_limit.c:11:电脑
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/li.nux/.config.h:6:2: #error incl.uding kernel header in userspace; .use the glibc headers instead!    美容
In file included f.rom /usr/src/redhat/BUILD/ker.nel-2.6.9/linux-2.6.9/include/linux/netfilter_.ipv4.h:8,.
                 from /usr/src/redhat/BUILD/kernel-2.6.9/l.inux-2.6.9/inclu.d.e/linux/netfilter_ipv4/ip_tables.h:26,(广告)
            .     from include/libiptc/libiptc.h:.6,          婚庆
                 fr.om include/iptables..h:5,--------------彩票
                 fr.om extensions/libi.pt_length.c:8:.
/usr/src/redhat./BUILD/ke.rnel-2.6.9/linux-2.6.9/include/linux/config.h:6:2: #e.rror including kernel header in userspace; use the glibc h.eaders instead!           鲜花
In file included from /usr/src/redhat/BUIL.D/kernel-2.6.9/linux-2.6.9./include/linux/netfilt.er_ipv4.h:8,.
                 from /.usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilt.er_ipv4/ip_tables..h:26,虚拟主机
                 .from .include/libiptc/libiptc.h:6,.
                 fro.m include/.iptables.h:5,--- 印刷
                 fr.om extensions/libipt_iprang.e.c:8:.
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2..6.9/include./linux/config.h:6:2: #error includ.ing kernel header in userspace; use the gli.bc headers instead!    外汇
In file included from /usr/src/redhat/BUILD/ker.nel-2.6..9/linux-2.6.9/inclu.de/linux/netfilter_ipv4.h:8,          婚庆
                 from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/lin.ux/netfilter_i.pv4/.ip_tables.h:26,电脑
               .  from inc.lude/libiptc/libiptc.h:6,.
  .           .    from include/iptables.h:5,              乙肝
                 from e.xtensions/libi.pt_icmp.c:7:.
/usr/sr.c/redhat/BUILD/kernel-2.6.9/linux-2.6.9/in.clude/linux/config.h:6:2: #error including kernel header in u.serspace; use the glibc headers instea.d!域名
In file included from /usr/src/redhat/BUI.LD/kernel-2.6.9/linux-2.6.9/inc.lude./linux/netfilter_ipv4.h:8,外贸
                 from /u.sr/src/redhat/BUILD/kernel-2.6.9/li.nux-2.6.9/include/linux/netfilter_ipv4/ip._tables.h:26,.
  .               from include/libiptc/libi.ptc.h:6,健康
           .    .  from include/iptables.h:5,[成人用品]
                 from extensions/libipt_h.elp.er.c:8:           女人
/usr/src/redha.t/BUILD/kernel-2..6.9/linux-2..6.9/incl.ude/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!电脑
In file included from /usr/src/re.dh.at/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/netf.ilter_ipv4.h:8,.
        .         from /usr/src/red.hat/BUILD/kernel-2.6.9/linux-2.6.9/include./linux/netfilter_ipv4/ip_tables.h:26,教育
                 from include/.libiptc/libi.ptc.h:6,域名
             .    from .include/iptables.h:5,学习
     .            fr.om extensions/libipt_hashlimit.c:18:--------------彩票
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/co.nfig.h:6:2: #error including .k.ernel header in userspace; use the glibc header.s instead![成人用品]
In file included from /usr/src/redhat/BUILD/kernel-2.6.9/li.nux-2.6..9/include/linux/net.filter_ipv4.h:8,.
          .       from /usr/src/redhat/BU.ILD/kernel-2.6.9/linux-2.6.9/includ.e/linux/netfilter_ipv4/ip_tables.h:26,教育
              .   fr.om include/libiptc/libiptc.h:6,.
      .           from include/iptables.h:5.,(        游戏          )
        .         from exten.sions/libipt_esp.c:8:.
/usr/.src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/confi.g.h:6:2: #error including .kernel header in userspace; use the glibc he.aders instead!           建材
In file included fro.m /usr/src/redhat/.B.UILD/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/l.inux/.netfilter_ipv4/ip_tables.h:26,学习
                 from include/libiptc/libiptc.h.:.6,健康
    .   .          from include/iptables.h:5,教育
                 from extens.ions/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 he.ader in userspace;. use the glibc headers instead!          婚庆
In file. included f.rom /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/netfilte.r_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 userspa.ce.; use the glibc headers instead!--- 印刷
In file included from /usr./src/r.edhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux./netfilter_ipv4.h:8,虚拟主机
   .              from /usr/src/r.edhat/BUILD/kernel-2.6.9/linux-2.6.9/include/linux/net.filter_ipv4/ip_tables.h:26,    外汇
         .        from include/libiptc/libiptc.h:.6,             汽车
                 from includ.e/ipta.bles.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 glib.c headers instead!<性病>
In file include.d from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/inclu..de/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/lib..iptc.h:6,           建材
.   .             from include/iptables.h:5,    外汇
.                from extension.s/libipt_connmark.c:28:.
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/incl.ude/linux/config.h:6:2: #error including k.ernel. .header in userspace; use the glibc headers instead![成人用品]
In fi.le included from /u.sr/src/redhat/B.UILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4.h:8,.
                 from /usr/src/re.dhat/BUILD/kernel-2.6.9/linux-2.6.9/include/l.inux/netfilter_ipv4/ip_t.ables.h:26,    外汇
                 from include/libiptc./libiptc..h:6,             电子
.        .        from include/iptables.h:5,服务器
        .         from extensions/libipt_c.onnlimit.c:8:学习
/usr/src/redhat/BUILD/kerne.l-2.6.9/linux-2.6.9/in.clude/l.inux/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/incl.ude/linux/netfilter_ipv4.h:8,.
                 from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/incl.ude/linux/netfilter_ipv4/.i.p_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:. #erro.r 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/l.inux/netfilter_ip.v4.h:8,电影
                 from /usr/src/redh.at/BUILD/ke.rnel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26.,(广告)
            .     from i.nclude/libiptc/libiptc.h:6,.
                 from include/ip.tables.h.:5,虚拟主机
                 from extensions/.libipt_add.rtype.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 heade.rs instead!--- 印刷
In file included from /usr/src/r.edhat/BUILD/kernel-2.6.9/linux-2.6.9/.include/linux/netfi.lter_ipv4.h:8,           建材
  .               fro.m /usr/src/redhat/BU.ILD/kernel-2.6.9/linux-2.6.9/include/linux/netfilter_ipv4/ip_tables.h:26,学习
           .      from include/libiptc/libiptc.h.:6,
                 from includ.e/ipt.ables.h:5,.
               .  from extensions/l.ibipt_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 f.ile included from /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/in.clude/linux/netfilter_i.pv4.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/l.ibiptc/libiptc.h:6,           建材
.                from include/iptables..h:5,.
              .   from extensions/libipt_ah.c:.8:          婚庆
/usr/src/redhat/BUILD/kernel-2.6..9/li.nux-2.6.9/include/linux/config.h:.6:2: #error including kernel header in userspace; use the glibc .headers instead!             汽车
make: *** [e.xtensions/lib.ipt_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提供的修改过的内核原代码吗?.

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
发帖
2063
C币
-235799
威望
384
贡献值
1
银元
0
铜钱
4574
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
#error including kernel header in userspace; use the glibc headers instead!
从提示来看,像glibc头文件的问题
看一下系统是否安装了glibc及devel?

离线ks8822.
发帖
1926
C币
-61112
威望
358
贡献值
1
银元
-1
铜钱
4236
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-13
glibc和glibc-devel都已经安装了,下面是我系统已经安装的包!
[root@gateway iptables-1.3.1]# rpm -qa |grep glibc
glibc-2.3.4-2
glibc-headers-2.3.4-2
glibc-common-2.3.4-2
glibc-kernheaders-2.4-9.1.87
glibc-devel-2.3.4-2
[root@gateway iptables-1.3.1]# rpm -qa |grep kernel
kernel-utils-2.4-13.1.48
kernel-devel-2.6.9-5.EL
kernel-2.6.9-5.EL
kernel-hugemem-devel-2.6.9-5.EL
kernel-smp-devel-2.6.9-5.EL
是不是有个kernel-header的包没有装的问题?另我下载了for iptables-1.2.11的1.3.1补丁patch-iptables-1.3.0-1.3.1
是不是进入iptables-1.2.11的源码目录直接
patch -p1 < /patch所在目录/patch-iptables-1.3.0-1.3.1
后编译就可以升级到1.3.1了?

发帖
2027
C币
-139378
威望
384
贡献值
1
银元
0
铜钱
4613
人人网人气币
0
只看该作者 地板  发表于: 2010-04-13
经过实验, 我在kernel.org下载的linux-2.4.29内核树后编译iptables也报同样的错误,请问是系统里缺少了哪个包呢?

离线皮子.
发帖
2090
C币
-60295
威望
420
贡献值
1
银元
-1
铜钱
4797
人人网人气币
0
只看该作者 4楼 发表于: 2010-04-13
gcc也应该有了吧?
kernel也make dep了?
真奇怪!

离线zymxs.
发帖
2008
C币
-193636
威望
349
贡献值
1
银元
-4
铜钱
4362
人人网人气币
0
只看该作者 5楼 发表于: 2010-04-13
2.4.29的内核做了make dep后可以编译iptables-1.3.1了,2.6.9-5的
内核我编译都成功了,就是编译iptables过不去.我用google搜索#error including kernel header in userspace; use the glibc headers instead!
还是有很多人有同样问题,但好象没有找到好的解决方法.(我E文烂)
如果用2.6内核的话是不是得当前内核版本是这个内核版本才能编译iptables?
我的gcc安装情况
[root@gateway ~]# rpm -qa |grep gcc
gcc-g77-3.4.3-9.EL4
libgcc-3.4.3-9.EL4
gcc-c++-3.4.3-9.EL4
gcc-java-3.4.3-9.EL4
gcc-3.4.3-9.EL4

离线slmtly.
发帖
1928
C币
-61058
威望
352
贡献值
1
银元
-4
铜钱
4297
人人网人气币
0
只看该作者 6楼 发表于: 2010-04-13
我又去kernel.org下载了linux-2.6.11.7内核包后编译iptables也是同样错误,请问2.6内核没有make dep编译参数,怎样做依靠呢?

离线eyes7790.
发帖
2083
C币
-60413
威望
403
贡献值
1
银元
-2
铜钱
4626
人人网人气币
0
只看该作者 7楼 发表于: 2010-04-13
自己顶一下!

发帖
2032
C币
-60525
威望
390
贡献值
1
银元
-5
铜钱
4497
人人网人气币
0
只看该作者 8楼 发表于: 2010-04-13
platinum  老大帮帮忙,我卡在这部分过不去,郁闷ing......

发帖
2004
C币
-193467
威望
388
贡献值
1
银元
-1
铜钱
4541
人人网人气币
0
只看该作者 9楼 发表于: 2010-04-13
[quote]原帖由 "diypig"]platinum  老大帮帮忙,我卡在这部分过不去,郁闷ing......[/quote 发表:

对不起哦,我对KERNEL-2.6.X不感冒,很反感,所以没弄过
快速回复
限100 字节
批量上传需要先选择文件,再选择上传
 
上一个 下一个