Compile Error for postgresql-8.0.3

From: "Vishal Kashyap (at) [SaiHertz]" <vishalonlist(at)gmail(dot)com>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Compile Error for postgresql-8.0.3
Date: 2005-05-12 17:26:14
Message-ID: 77b69d210505121026242e174c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Dear all ,

Got compile error for
postgresql-8.0.3

error is following
<code>
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wold-style-definition -Wendif-labels
-fno-strict-aliasing -Wno-error -pthread -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS -I./../include -I.
-I../../../../src/include -D_GNU_SOURCE -DMAJOR_VERSION=4
-DMINOR_VERSION=0 -DPATCHLEVEL=1 -c -o preproc.o preproc.c
In file included from preproc.y:6409:
pgc.l: In function `yylex':
pgc.l:920: error: `xsoip' undeclared (first use in this function)
pgc.l:920: error: (Each undeclared identifier is reported only once
pgc.l:920: error: for each function it appears in.)
pgc.l:920: error: syntax error before '{' token
pgc.l:929: error: case label not within a switch statement
pgc.l:931: error: case label not within a switch statement
pgc.l:963: error: case label not within a switch statement
pgc.l:969: error: case label not within a switch statement
pgc.l:995: error: case label not within a switch statement
pgc.l:996: error: case label not within a switch statement
pgc.l:998: error: case label not within a switch statement
pgc.l:999: error: case label not within a switch statement
pgc.l:1000: error: case label not within a switch statement
pgc.l:1001: error: case label not within a switch statement
pgc.l:1002: error: case label not within a switch statement
pgc.l:1003: error: case label not within a switch statement
pgc.l:1004: error: case label not within a switch statement
pgc.l:1005: error: case label not within a switch statement
pgc.l:1006: error: case label not within a switch statement
pgc.l:1007: error: case label not within a switch statement
pgc.l:1008: error: case label not within a switch statement
pgc.l:1045: error: case label not within a switch statement
pgc.c:2691: error: case label not within a switch statement
pgc.c:2813: error: `default' label not within a switch statement
pgc.c:1487: warning: label `find_rule' defined but not used
pgc.c: At top level:
pgc.c:2818: error: syntax error before '}' token
pgc.c: In function `yy_get_next_buffer':
pgc.c:2830: warning: old-style parameter declaration
pgc.c: In function `yy_get_previous_state':
pgc.c:2962: warning: old-style parameter declaration
pgc.c: In function `input':
pgc.c:3070: warning: old-style parameter declaration
preproc.y: At top level:
pgc.c:3543: warning: 'yy_flex_realloc' defined but not used
gmake[4]: *** [preproc.o] Error 1
gmake[4]: Leaving directory
`/usr/local/src/postgresql-8.0.3/src/interfaces/ecpg/preproc'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory
`/usr/local/src/postgresql-8.0.3/src/interfaces/ecpg'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/local/src/postgresql-8.0.3/src/interfaces'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/local/src/postgresql-8.0.3/src'
gmake: *** [all] Error 2
</code>

Other details
FC-3
uname -a
Linux niituna.sai 2.6.10-1.766_FC3 #1 Wed Feb 9 23:06:42 EST 2005 i686
i686 i386 GNU/Linux

gcc --version
gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)

The configuration Script was

./configure \--bindir=/usr/bin \--prefix=/saihertzA/sai
\--libdir=/usr/lib/pgsql \--sysconfdir=/etc/sysconfig/pgsql
\--datadir=/DIR \--enable-syslog \--with-CXX \--without-tcl
\--with-pgport=5432 \--enable-thread-safety \--without-tk
\--without-multibyte \--without-tk

--
With Best Regards,
Vishal Kashyap.
Lead Software Developer,
http://saihertz.com,
http://vishalkashyap.tk

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Kavan, Dan (IMS) 2005-05-12 17:46:27 Re: memory allocation ; postgresql-8.0
Previous Message Prasanth 2005-05-12 16:44:02 Re: Query Plan - Index Scan & Seq Scan