[root@localhost keepalived-1.2.24]# make
Making all in lib
make[1]: Entering directory `/root/keepalived-1.2.24/lib'
make all-am
make[2]: Entering directory `/root/keepalived-1.2.24/lib'
make[2]: Leaving directory `/root/keepalived-1.2.24/lib'
make[1]: Leaving directory `/root/keepalived-1.2.24/lib'
Making all in keepalived
make[1]: Entering directory `/root/keepalived-1.2.24/keepalived'
Making all in core
make[2]: Entering directory `/root/keepalived-1.2.24/keepalived/core'
CC namespaces.o
namespaces.c: In function ‘setns’:
namespaces.c:184: error: ‘SYS_setns’ undeclared (first use in this function)
namespaces.c:184: error: (Each undeclared identifier is reported only once
namespaces.c:184: error: for each function it appears in.)
make[2]: *** [namespaces.o] Error 1
make[2]: Leaving directory `/root/keepalived-1.2.24/keepalived/core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/keepalived-1.2.24/keepalived'
make: *** [all-recursive] Error 1
该装的包都装了,请问这个报错是什么意思?
Making all in lib
make[1]: Entering directory `/root/keepalived-1.2.24/lib'
make all-am
make[2]: Entering directory `/root/keepalived-1.2.24/lib'
make[2]: Leaving directory `/root/keepalived-1.2.24/lib'
make[1]: Leaving directory `/root/keepalived-1.2.24/lib'
Making all in keepalived
make[1]: Entering directory `/root/keepalived-1.2.24/keepalived'
Making all in core
make[2]: Entering directory `/root/keepalived-1.2.24/keepalived/core'
CC namespaces.o
namespaces.c: In function ‘setns’:
namespaces.c:184: error: ‘SYS_setns’ undeclared (first use in this function)
namespaces.c:184: error: (Each undeclared identifier is reported only once
namespaces.c:184: error: for each function it appears in.)
make[2]: *** [namespaces.o] Error 1
make[2]: Leaving directory `/root/keepalived-1.2.24/keepalived/core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/keepalived-1.2.24/keepalived'
make: *** [all-recursive] Error 1
该装的包都装了,请问这个报错是什么意思?
解决方案 »
- 应用层如何调用已经注册了的驱动程序?
- ARM-LINUX修改脚本自启动用户程序之后ctrl+c无法停止,无法进入命令行
- 求解一个信号量的问题
- 需要大神帮忙翻译一下
- ubuntu16.04无法检测到外接显示器
- 程序员的电脑内存推荐几个g啊
- 为什么锁会降低程序的性能?
- 监控工具Centreon迁移的问题
- Ubuntu远程登录windows的账户输入密码后出现Permission denied
- 基于 Debian 的 Linux 中文操作系统
- 求助,sendmail服务器怎么用outlook无法登录
- ubuntu14.04下使用QDBusInterface找不到org.freedesktop.Hal服务
namespaces.c:184: 错误:‘SYS_setns’未声明(在此函数内第一次使用)
namespaces.c:184: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
namespaces.c:184: 错误:所在的函数内也只报告一次。)
make[2]: *** [namespaces.o] 错误 1
make[2]: Leaving directory `/root/keepalived-1.2.24/keepalived/core'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/keepalived-1.2.24/keepalived'
make: *** [all-recursive] 错误 1
我也是一样的。
yum update glib*
keepalived-1.2.24 、CentOS6.5升级后搞定,多谢了。
Making all in lib
make[1]: Entering directory `/ha/keepalived-1.3.9/lib'
make all-am
make[2]: Entering directory `/ha/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[2]: *** [parser.o] Error 1
make[2]: Leaving directory `/ha/keepalived-1.3.9/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/ha/keepalived-1.3.9/lib'
make: *** [all-recursive] Error 1
我这个报错怎么解,安装的是1.3.9