博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
pgpool3.2.9中编译 pgpool-walrecrunning函数出错
阅读量:4078 次
发布时间:2019-05-25

本文共 1004 字,大约阅读时间需要 3 分钟。

在做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或者直接忽略掉就可以了,不去编译这个函数。

转载地址:http://pbsni.baihongyu.com/

你可能感兴趣的文章
ping 报name or service not known
查看>>
FTP 常见问题
查看>>
zookeeper单机集群安装
查看>>
do_generic_file_read()函数
查看>>
Python学习笔记之数据类型
查看>>
Python学习笔记之特点
查看>>
shell 快捷键
查看>>
VIM滚屏操作
查看>>
EMC 2014存储布局及十大新技术要点
查看>>
linux内核内存管理(zone_dma zone_normal zone_highmem)
查看>>
将file文件内容转成字符串
查看>>
循环队列---数据结构和算法
查看>>
优先级队列-数据结构和算法
查看>>
链接点--数据结构和算法
查看>>
servlet中请求转发(forword)与重定向(sendredirect)的区别
查看>>
Spring4的IoC和DI的区别
查看>>
springcloud 的eureka服务注册demo
查看>>
eureka-client.properties文件配置
查看>>
MODULE_DEVICE_TABLE的理解
查看>>
platform_device与platform_driver
查看>>