This is a discussion on Compile Error for postgresql-8.0.3 within the pgsql Admins forums, part of the PostgreSQL category; --> 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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly |
| |||
| "Vishal Kashyap @ [SaiHertz]" <vishalonlist@gmail.com> writes: > In file included from preproc.y:6409: > pgc.l: In function `yylex': > pgc.l:920: error: `xsoip' undeclared (first use in this function) Corrupted download maybe? That line refers to "xskip" not "xsoip". regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) |
| ||||
| > > In file included from preproc.y:6409: > > pgc.l: In function `yylex': > > pgc.l:920: error: `xsoip' undeclared (first use in this function) > > Corrupted download maybe? That line refers to "xskip" not "xsoip". > Fine got a fresh download and got it through. But does 8.0.x does not support "install-all-headers" [root@niituna postgresql-8.0.3]# gmake install-all-headers gmake: *** No rule to make target `install-all-headers'. Stop. If yes then how the libraries be used for compiling PHP etc -- With Best Regards, Vishal Kashyap. Lead Software Developer, http://saihertz.com, http://vishalkashyap.tk ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly |