Skip to content

Postgres9.5 build error #196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sangli00 opened this issue Apr 22, 2019 · 2 comments
Closed

Postgres9.5 build error #196

sangli00 opened this issue Apr 22, 2019 · 2 comments

Comments

@sangli00
Copy link

error detail log:

gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -O0 -fpic -I/data/sangli/pg_pathman-1.5.3/src/include -I. -I./ -I/usr/local/pipelinedb/include/pipelinedb/server -I/usr/local/pipelinedb/include/pipelinedb/internal -D_GNU_SOURCE   -c -o src/debug_print.o src/debug_print.c
src/debug_print.c:31:1: error: conflicting types for ‘bms_print’
 bms_print(Bitmapset *bms)
 ^
In file included from src/debug_print.c:17:0:
/usr/local/pipelinedb/include/pipelinedb/server/nodes/bitmapset.h:103:14: note: previous declaration of ‘bms_print’ was here
 extern char *bms_print(const Bitmapset *a);
              ^
make: *** [src/debug_print.o] Error 1

How to fix this problem?

@zilder
Copy link
Collaborator

zilder commented Apr 22, 2019

Hi @sangli00,

looks like you are using a fork of postgres, so no guarantees that pg_pathman will compile or work properly. For this particular issue you can safely remove bms_print function (which is only intended to be used for debugging) from src/debug_print.c to resolve conflict.

@sangli00
Copy link
Author

@zilder Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants