关于LVS/DR集群 安装问题
关于LVS/DR集群 安装问题
系统:slackware 10.1
内核:2.6.12
已经将ipvs编译到内核里
在LVS官方下载ipvsadm-1.24.tar.gz
解压后进行make
系统提示报错,现在一直没有装上ipvsadm 请朋友们看看这是什么问题
以下是报错信息:
make -C libipvs
make[1]: Entering directory `/home/ipvsadm-1.24/libipvs'
gcc -Wall -Wunused -Wstrict-prototypes -g -O2 -I/usr/src/linux/include -DHAVE_N ET_IP_VS_H -c -o libipvs.o libipvs.c
libipvs.c: In function `ipvs_set_timeout':
libipvs.c:140: error: `IP_VS_SO_SET_TIMEOUT' undeclared (first use in this funct ion)
libipvs.c:140: error: (Each undeclared identifier is reported only once
libipvs.c:140: error: for each function it appears in.)
libipvs.c: In function `ipvs_get_services':
libipvs.c:167: error: invalid application of `sizeof' to an incomplete type
libipvs.c: In function `ipvs_cmp_services':
libipvs.c:189: error: dereferencing pointer to incomplete type
libipvs.c:189: error: dereferencing pointer to incomplete type
libipvs.c:193: error: dereferencing pointer to incomplete type
libipvs.c:193: error: dereferencing pointer to incomplete type
libipvs.c:197: error: dereferencing pointer to incomplete type
libipvs.c:197: error: dereferencing pointer to incomplete type
libipvs.c:201: error: dereferencing pointer to incomplete type
libipvs.c:201: error: dereferencing pointer to incomplete type
libipvs.c: In function `ipvs_sort_services':
libipvs.c:209: error: invalid application of `sizeof' to an incomplete type
libipvs.c: In function `ipvs_get_dests':
libipvs.c:218: error: invalid application of `sizeof' to an incomplete type
libipvs.c:218: error: dereferencing pointer to incomplete type
libipvs.c:224: error: dereferencing pointer to incomplete type
libipvs.c:225: error: dereferencing pointer to incomplete type
libipvs.c:226: error: dereferencing pointer to incomplete type
libipvs.c:227: error: dereferencing pointer to incomplete type
libipvs.c:228: error: dereferencing pointer to incomplete type
libipvs.c: In function `ipvs_cmp_dests':
libipvs.c:243: error: dereferencing pointer to incomplete type
libipvs.c:243: error: dereferencing pointer to incomplete type
libipvs.c:247: error: dereferencing pointer to incomplete type
libipvs.c:247: error: dereferencing pointer to incomplete type
libipvs.c: In function `ipvs_sort_dests':
libipvs.c:254: error: invalid application of `sizeof' to an incomplete type
libipvs.c: In function `ipvs_get_service':
libipvs.c:264: error: dereferencing pointer to incomplete type
libipvs.c:270: error: dereferencing pointer to incomplete type
libipvs.c:271: error: dereferencing pointer to incomplete type
libipvs.c:272: error: dereferencing pointer to incomplete type
libipvs.c:273: error: dereferencing pointer to incomplete type
libipvs.c: In function `ipvs_get_timeout':
libipvs.c:293: error: `IP_VS_SO_GET_TIMEOUT' undeclared (first use in this funct ion)
make[1]: *** [libipvs.o] Error 1
make[1]: Leaving directory `/home/ipvsadm-1.24/libipvs'
make: *** [libs] Error 2
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我也想直到啊,谁有详细的安装文档共享一下啊,谢谢了!
LVS 应用应该很多吧,大家看看这是什么问题