您的位置:首页 > 其它

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

2010-07-09 20:57 411 查看
我在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!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: