暂无图片
make安装的报错--pg12
我来答
分享
暂无图片 匿名用户
make安装的报错--pg12

pg_rman源码安装的报错  ,pg-12.6 版本

[root@gbase8c_1 pg_rman-1.3.9-pg12]# make
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o backup.o backup.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o catalog.o catalog.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o data.o data.c
data.c: In function ‘figure_out_segno’:
data.c:1268:8: warning: variable ‘scanned’ set but not used [-Wunused-but-set-variable]
int scanned;
^
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o delete.o delete.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o dir.o dir.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o init.o init.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o parray.o parray.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o pg_rman.o pg_rman.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o restore.o restore.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o show.o show.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o util.o util.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o validate.o validate.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o xlog.o xlog.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o pgsql_src/pg_ctl.o pgsql_src/pg_ctl.c
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -I/usr/local/pg12/include -lm -I. -I./ -I/usr/local/pg12/include/postgresql/server -I/usr/local/pg12/include/postgresql/internal -D_GNU_SOURCE -c -o pgut/pgut.o pgut/pgut.c
In file included from pgut/pgut.c:10:0:
/usr/local/pg12/include/postgresql/server/libpq/pqsignal.h:40:1: error: unknown type name ‘pqsigfunc’
extern pqsigfunc pqsignal_pm(int signo, pqsigfunc func);
^
/usr/local/pg12/include/postgresql/server/libpq/pqsignal.h:40:41: error: unknown type name ‘pqsigfunc’
extern pqsigfunc pqsignal_pm(int signo, pqsigfunc func);

我来答
添加附件
收藏
分享
问题补充
3条回答
默认
最新
漫步者

去github上面找对应12的分支版本试试

暂无图片 评论
暂无图片 有用 1
唐虞之道

bg1.png

暂无图片 评论
暂无图片 有用 0
唐虞之道
上传附件:MongoBD用户手册.docx
暂无图片 评论
暂无图片 有用 0
回答交流
提交
问题信息
请登录之后查看
附件列表
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏