keepalived1.2.2 make时报错解决

 

CentOS5.664位)

keepalived1.2.2 make时报2个错误(错误太长,不记录了),解决如下:

 

[root@cis libipvs-2.6]#cd /usr/local/src/keepalived-1.2.2/keepalived/libipvs-2.6

 

[root@cis libipvs-2.6]# vi ip_vs.h

把第10行的#include <linux/types.h>,放到第12#include <sys/types.h>的下面,然后编译正常通过。

你可能感兴趣的:(职场,错误,休闲,keepalived1.2.2)