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!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章