|
From: Lin W. <lin...@gm...> - 2014-02-27 15:57:59
|
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
|