▓男兒〆無淚



心有多大,舞台就有多大。意志力有多强,成就就有多高……

导航

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!

posted on 2010-07-09 20:57  ▓男兒〆無淚  阅读(382)  评论(2编辑  收藏  举报