- 注册时间
- 2009-9-18
- 最后登录
- 2009-10-11
- 在线时间
- 21 小时
- 阅读权限
- 10
- 积分
- 2
- 帖子
- 4
- 主题
- 0
- 精华
- 0
- UID
- 5466

 - 注册时间
- 2009-9-18
- 最后登录
- 2009-10-11
- 在线时间
- 21 小时
- 阅读权限
- 10
- 积分
- 2
- 帖子
- 4
- 主题
- 0
- 精华
- 0
- UID
- 5466
|
发表于 2009-9-20 09:51:45
|显示全部楼层
我编译keepalived时出错,是什么包没有安装啊???????????????????????????
/*****************************************************************/
make -C lib || exit 1;
make[1]: Entering directory `/srv/keepalived-1.1.17/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/srv/keepalived-1.1.17/lib'
make -C keepalived
make[1]: Entering directory `/srv/keepalived-1.1.17/keepalived'
make[2]: Entering directory `/srv/keepalived-1.1.17/keepalived/core'
gcc -g -O2 -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Ws trict-prototypes -D_KRNL_2_2_ -D_WITH_LVS_ -D_WITH_VRRP_ -c main.c
gcc -g -O2 -I/usr/src/linux/include -I../include -I../../lib -Wall -Wunused -Ws trict-prototypes -D_KRNL_2_2_ -D_WITH_LVS_ -D_WITH_VRRP_ -c layer4.c
In file included from ../include/check_api.h:29,
from layer4.c:27:
../include/check_data.h:38:27: error: linux/ip_masq.h: No such file or directory
../include/check_data.h:39:25: error: net/ip_masq.h: No such file or directory
In file included from ../include/check_api.h:29,
from layer4.c:27:
../include/check_data.h:118: error: 'IP_MASQ_TNAME_MAX' undeclared here (not in a function)
make[2]: *** [layer4.o] Error 1
make[2]: Leaving directory `/srv/keepalived-1.1.17/keepalived/core'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/srv/keepalived-1.1.17/keepalived'
make: *** [all] Error 2
/***************************************************************/
请高手看一下.... |
|