On 2014-01-09 22:12:53 +0800, Rugal Bernstein wrote:
> Thanks, seems it is because the first time pgc.c and others are generated,
> but [make distclean] did not clean them, which lead to this problem!
> after [rm pgc.c preproc.h preproc.c preproc.y]
> it is now successfully compiled without any war
Thanks, seems it is because the first time pgc.c and others are generated,
but [make distclean] did not clean them, which lead to this problem!
after [rm pgc.c preproc.h preproc.c preproc.y]
it is now successfully compiled without any warning! thank you!
Java Developer; Mysql/Oracle DBA; C/Java/Py
You have to rebuild the auto-generated pgc.c, preproc.c and preproc.y or simply
remove them to force a rebuild.
Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meske
and even successfully compiled PG, I got warning
preproc.y: In function ‘vmmerror’:
preproc.y:76:2: warning: enumeration value ‘ET_FATAL’ not handled in switch
[-Wswitch]
switch(type)
^
2014/1/9 Rugal Bernstein
> Hello all:
>This is my first time mail to all, yesterday I tried to comp
Hello all:
This is my first time mail to all, yesterday I tried to compile
postgresin my linux, but an error keep bother me.
env:
Ubuntu 13.10
Linux rugal-TM8473 3.11.0-15-generic #23-Ubuntu SMP Mon Dec 9 18:17:04 UTC
2013 x86_64 x86_64 x86_64 GNU/Linux
gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-1