pgpool3.2.9中编译 pgpool-walrecrunning函数出错
来源:互联网 发布:照片打马赛克软件 编辑:程序博客网 时间:2024/06/07 17:42
在做pgpool的时候选择了一个相对较老的版本3.2.9在pg9.4上做实验出现以下错误
[postgres@barman pgpool-walrecrunning]$ make
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -fpic -I. -I./ -I/home/highgo/hgdb/include/postgresql/server -I/home/highgo/hgdb/include/postgresql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o pgpool-walrecrunning.o pgpool-walrecrunning.c
pgpool-walrecrunning.c: In function ‘pgpool_walrecrunning’:
pgpool-walrecrunning.c:49: error: ‘WALRCV_RUNNING’ undeclared (first use in this function)
pgpool-walrecrunning.c:49: error: (Each undeclared identifier is reported only once
pgpool-walrecrunning.c:49: error: for each function it appears in.)
make: *** [pgpool-walrecrunning.o] Error 1
显示函数的问题,后经测试,在9.2上可以执行,没有出现错误,9.4以上的版本就不行(9.3没测试过,有兴趣自己来试试),原因是在pg本来是有这个函数的,在pg内部升级的过程中,把这个函数去掉了,结果出现了这个错误, 而且在高版本的pgpool中已经将pgpool_walrecrunning这个东西去掉了,如果出现了这个错误,你可以去下载高版本的pgpool或者直接忽略掉就可以了,不去编译这个函数。
[postgres@barman pgpool-walrecrunning]$ make
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -O2 -fpic -I. -I./ -I/home/highgo/hgdb/include/postgresql/server -I/home/highgo/hgdb/include/postgresql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o pgpool-walrecrunning.o pgpool-walrecrunning.c
pgpool-walrecrunning.c: In function ‘pgpool_walrecrunning’:
pgpool-walrecrunning.c:49: error: ‘WALRCV_RUNNING’ undeclared (first use in this function)
pgpool-walrecrunning.c:49: error: (Each undeclared identifier is reported only once
pgpool-walrecrunning.c:49: error: for each function it appears in.)
make: *** [pgpool-walrecrunning.o] Error 1
显示函数的问题,后经测试,在9.2上可以执行,没有出现错误,9.4以上的版本就不行(9.3没测试过,有兴趣自己来试试),原因是在pg本来是有这个函数的,在pg内部升级的过程中,把这个函数去掉了,结果出现了这个错误, 而且在高版本的pgpool中已经将pgpool_walrecrunning这个东西去掉了,如果出现了这个错误,你可以去下载高版本的pgpool或者直接忽略掉就可以了,不去编译这个函数。
0 0
- pgpool3.2.9中编译 pgpool-walrecrunning函数出错
- pgpool3.2.9中编译 pgpool-walrecrunning函数出错
- pgpool
- ros中编译moveit_tutorials出错
- pgpool使用中遇到的坑总结
- 0.11内核编译出错 kernel/kernel.o:在函数‘copy_process’中:对'memcpy'未定义的引用。
- 关于QT中自动添加槽函数编译出错的问题
- 自定义消息相应函数 编译出错 vs2010
- wengophone 编译出错 SVN研究中
- 龙芯系统中编译ksymoops出错
- linux 多线程编程中 pthread_create编译出错
- InsightApplication-3.20.0 中ImageViewer 编译出错
- Qt中使用数据库时编译出错
- Linux中编译squash文件系统出错
- GCC编译过程中出错问题总结
- Xcode8中CoreData编译出错的解决方法
- fast-rcnn中编译cudnn出错解决方法
- idea中maven编译出错问题
- php 检索
- Oracle之表分区,经典之作
- iOS,利用URL Schemes跳转到设置wifi、蜂窝移动网络页面
- 实体查询的默认值处理问题
- 数字转换为整数数字
- pgpool3.2.9中编译 pgpool-walrecrunning函数出错
- 前台到后台Java时data日期类型的转化,java到数据库data日期格式转化
- php 数组遍历
- 回调机制引发的调用思考
- 直接插入排序解剖
- 启动另外的一个应用程序的Activity(三种方式)
- springboot的组装特性(依赖默认组装,有依赖就有组装)
- DataFrame和schema
- 机器人操作系统ROS笔记--从仿真开始