免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1066 | 回复: 0
打印 上一主题 下一主题

编译heartbeat-1.99.1出错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-12-28 13:43 |只看该作者 |倒序浏览
安装redhat9.0,然后把内核升级到2.4.28(该内核包含ipvs),然后编译心跳软件
http://www.linux-ha.org/download/heartbeat-1.99.1.tar.gz
由于安装系统的时候选择了最小安装,过后把configure需要的软件包也全部装上了,但是在make的时候出错,死活过不去

[root@danieyhost recoverymgrd]# pwd
/usr/local/src/heartbeat-1.99.1/telecom/recoverymgrd
[root@danieyhost recoverymgrd]# make
if gcc -DHAVE_CONFIG_H -I. -I. -I../../linux-ha -I../../include -I../../include -I../../include -I../../libltdl -I../../libltdl -I../../linux-ha -I../../linux-ha  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/libxml2 -DHA_VARLIBDIR='"/usr/local/var/lib"' -g -O2  -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Werror  -ggdb3 -MT recoverymgrd-conf_yacc.o -MD -MP -MF ".deps/recoverymgrd-conf_yacc.Tpo" -c -o recoverymgrd-conf_yacc.o `test -f 'conf_yacc.c' || echo './'`conf_yacc.c; \
then mv -f ".deps/recoverymgrd-conf_yacc.Tpo" ".deps/recoverymgrd-conf_yacc.Po"; else rm -f ".deps/recoverymgrd-conf_yacc.Tpo"; exit 1; fi
cc1: warnings being treated as errors
conf_yacc.c:14: warning: function declaration isn't a prototype
conf_yacc.c:195: warning: function declaration isn't a prototype
make: *** [recoverymgrd-conf_yacc.o] Error 1
[root@danieyhost recoverymgrd]#
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP