X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 03FAE5368C for ; Thu, 12 May 2005 14:26:17 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 84651-10 for ; Thu, 12 May 2005 17:26:15 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.206]) by svr1.postgresql.org (Postfix) with ESMTP id 237B653635 for ; Thu, 12 May 2005 14:26:14 -0300 (ADT) Received: by zproxy.gmail.com with SMTP id 12so969417nzp for ; Thu, 12 May 2005 10:26:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=M0C2ToBBN8sawIESBY7TPF/xm1mFLduCSu7RAR3hnztfme7AgE+rQ32KAnnUCPkSlaDSfLzajinCGJjbp4HvAa1zEW5e9eZZ8Z7j9N0KEsQadMlSM+GEs4EUJx2AXQ+qwY7ULe6HIRrOKV8DUaERvd5/rAyagtf1cyPvp82xKso= Received: by 10.36.153.1 with SMTP id a1mr732765nze; Thu, 12 May 2005 10:26:14 -0700 (PDT) Received: by 10.36.67.9 with HTTP; Thu, 12 May 2005 10:26:14 -0700 (PDT) Message-ID: <77b69d210505121026242e174c@mail.gmail.com> Date: Thu, 12 May 2005 22:56:14 +0530 From: "Vishal Kashyap @ [SaiHertz]" Reply-To: "Vishal Kashyap @ [SaiHertz]" To: "pgsql-admin@postgresql.org" Subject: Compile Error for postgresql-8.0.3 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.493 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, RCVD_BY_IP, TO_ADDRESS_EQ_REAL X-Spam-Level: X-Archive-Number: 200505/161 X-Sequence-Number: 17590 Dear all , Got compile error for=20 postgresql-8.0.3 error is following=20 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=3D4 -DMINOR_VERSION=3D0 -DPATCHLEVEL=3D1 -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 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=20 ./configure \--bindir=3D/usr/bin \--prefix=3D/saihertzA/sai \--libdir=3D/usr/lib/pgsql \--sysconfdir=3D/etc/sysconfig/pgsql \--datadir=3D/DIR \--enable-syslog \--with-CXX \--without-tcl \--with-pgport=3D5432 \--enable-thread-safety \--without-tk \--without-multibyte \--without-tk --=20 With Best Regards, Vishal Kashyap. Lead Software Developer, http://saihertz.com, http://vishalkashyap.tk