安装 keepalived报 找不到 O_PATH
操作系统 centos6.6 keepalived-1.3.9
[root@public-protal-svr02 lib]# make && make install
make all-am
make[1]: Entering directory `/home/toor/keepalived-1.3.9/lib'
CC parser.o
parser.c: In function 'read_conf_file':
parser.c:430: error: 'O_PATH' undeclared (first use in this function)
parser.c:430: error: (Each undeclared identifier is reported only once
parser.c:430: error: for each function it appears in.)
make[1]: *** [parser.o] Error 1
make[1]: Leaving directory `/home/toor/keepalived-1.3.9/lib'
make: *** [all] Error 2
去 查了 文件parser.c 430行(O_PATH在整个文件里就这有,)
curdir_fd = open(".", O_RDONLY | O_DIRECTORY | O_PATH);
同事也查了当前目录下所有的文件的文件,也只有parser.c 430行 有O_PATH,情大神帮忙看看,是不是少了什么系统包