rhel5.4下编译源码包的时候出错啦!郁闷中!

我在rhel5.4下编译源码包的时候

装的包有db*-devel gcc eroor 1

编译zebra路由软件

我把他解压到/usr/src下执行./configure

 然后提示没错版本什么都出来了接下来执行make就出了以下错误。查看了n次日志都没看出原因

In file included from ospf_lsdb.c:29: ../ospfd/ospfd.h:510: error: array type has incomplete element type ../ospfd/ospfd.h:511: error: array type has incomplete element type ../ospfd/ospfd.h:512: error: array type has incomplete element type ../ospfd/ospfd.h:513: error: array type has incomplete element type ../ospfd/ospfd.h:514: error: array type has incomplete element type ../ospfd/ospfd.h:515: error: array type has incomplete element type make[2]: *** [ospf_lsdb.o] Error 1 make[2]: Leaving directory `/usr/src/zebra-0.94/ospfd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/zebra-0.94' make: *** [all]

还有为了让内核支持lvs进行群集我编译module-init-tools-3.12包

我把他解压到/usr/src下执行./configure 没报错 可是到了make的时候就出现以下错误eroor 2

moudlemake[1]: *** [modprobe.d.5] Error 127 make[1]: Leaving directory `/usr/src/module-init-tools-3.12/build' make: *** [all-all] Error 2

郁闷中解决好几天了! 继续努力,一定解决它! up !up!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值