|
From: 鈴木 幸市 <ko...@in...> - 2014-02-28 06:28:25
|
Sorry for the inconvenience. Please remove src/interfaces/ecpg/preproc/preproc.c before the build. If your environment has appropriate bison, this will solve the problem.
Best;
---
Koichi Suzuki
2014/02/28 0:57、Lin Wang <lin...@gm...<mailto:lin...@gm...>> のメール:
hi all,
when I compile the pgxc1.2 source code and execute the command "make", something wrong occures, as beblow:
make[5]: Leaving directory `/home/wln/pgxc/postgres-xc-1.2.0_beta/src/common'
gcc -DPGXC -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -DECPG_COMPILE -I../include -I../../../../src/interfaces/ecpg/include -I. -I. -DMAJOR_VERSION=4 -DMINOR_VERSION=9 -DPATCHLEVEL=0 -I../../../../src/include -D_GNU_SOURCE -c -o parser.o parser.c
parser.c:25:21: error:preproc.h:no such file or folder
parser.c:30: error:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘lookahead_yylval’
parser.c:31: error:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘lookahead_yylloc’
in the file "src/interfaces/ecpg/preproc/parser.c", I can get it:
#include "postgres_fe.h"
#include "extern.h"
#include "preproc.h"
but I can't find the file "preproc.h" in the folder of source code. at the same time, I find the file of "src/interfaces/ecpg/preproc/parser.c" in pgxc1.1 has also include the head file of "preproc.h", and I also don't find the file "preproc.h" in source code of pgxc1.1, but it is ok to run command "make" on source code of pgxc1.1.
I expect someone can explain it.
Thanks,
waln
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk_______________________________________________
Postgres-xc-general mailing list
Pos...@li...
https://lists.sourceforge.net/lists/listinfo/postgres-xc-general
|