Skip to content
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

编译的时候出现问题 #23

Open
Zhongguolin opened this issue Jan 16, 2020 · 2 comments
Open

编译的时候出现问题 #23

Zhongguolin opened this issue Jan 16, 2020 · 2 comments

Comments

@Zhongguolin
Copy link

Zhongguolin commented Jan 16, 2020

No description provided.

@Zhongguolin
Copy link
Author

[postgres@DP-SLAVE1 clickhousedb_fdw]$ make USE_PGXS=1
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX_OOM_SCORE_ADJ=0 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -fPIC -g3 -O0 -Wno-unused-function -Ilib -I. -I. -I/usr/include/pgsql/server -I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o clickhousedb_fdw.o clickhousedb_fdw.c
In file included from /usr/include/stdio.h:27:0,
from /usr/include/pgsql/server/c.h:67,
from /usr/include/pgsql/server/postgres.h:47,
from clickhousedb_fdw.c:14:
/usr/include/features.h:330:4: 警告:#warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]

warning _FORTIFY_SOURCE requires compiling with optimization (-O)

^

clickhousedb_fdw.c:22:33: 致命错误:access/htup_details.h:没有那个文件或目录
#include "access/htup_details.h"
^
编译中断。
make: *** [clickhousedb_fdw.o] 错误 1

@Zhongguolin Zhongguolin reopened this Jan 16, 2020
@liangsieng
Copy link

Same error here... What is the solution?

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