請教heartbeat-2.1.3在make時發生的錯誤

火星人 @ 2014-03-04 , reply:0


請教heartbeat-2.1.3在make時發生的錯誤

各位高人,小弟的heartbeat-2.1.3在make的時候報錯,configure的參數是

./ConfigureMe configure --enable-mgmt --with-ccmuser-name=hacluster

configure能順利通過,make報出的錯誤是

cc1: warnings being treated as errors
xml.c: In function 'write_xml_file':
xml.c:618: warning: unused variable 'in'
xml.c: In function 'get_message_xml':
xml.c:758: error: 'BZ_OK' undeclared (first use in this function)
xml.c:758: error: (Each undeclared identifier is reported only once
xml.c:758: error: for each function it appears in.)
xml.c:779: warning: implicit declaration of function 'BZ2_bzBuffToBuffDecompress'
xml.c:782: error: 'BZ_OUTBUFF_FULL' undeclared (first use in this function)
gmake: *** 錯誤 1
gmake: Leaving directory `/root/soft/heartbeat-2.1.3/lib/crm/common'
gmake: *** 錯誤 1
gmake: Leaving directory `/root/soft/heartbeat-2.1.3/lib/crm'
gmake: *** 錯誤 1
gmake: Leaving directory `/root/soft/heartbeat-2.1.3/lib'
make: *** 錯誤 1

如果繼續make install,還會報出這個錯誤。我沒有測試這樣的make install之後heartbeat能不能正常使用,麻煩各位老大給解釋下這個錯誤是怎麼回事,謝謝了!
《解決方案》

回復 #1 CES4751 的帖子

./ConfigureMe configure 使用這個參數測試下
還有你的編譯環境是什麼




[火星人 via ] 請教heartbeat-2.1.3在make時發生的錯誤已經有138次圍觀

http://www.coctec.com/docs/service/show-post-6303.html