pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vishal Kashyap @ [SaiHertz] <vishalonlist@gmail.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Compile Error for postgresql-8.0.3
Date: Thu, 12 May 2005 22:56:14 +0530
Message-ID: <77b69d210505121026242e174c@mail.gmail.com> (raw)

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



view thread (3+ messages)  latest in thread

Message-ID: <77b69d210505121026242e174c@mail.gmail.com>
Permalink:  ../77b69d210505121026242e174c@mail.gmail.com/
Also on:    postgresql.org/message-id/77b69d210505121026242e174c@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: vishalonlist@gmail.com
  Subject: Re: Compile Error for postgresql-8.0.3
  In-Reply-To: <77b69d210505121026242e174c@mail.gmail.com>
  References: <77b69d210505121026242e174c@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox