Thread: Uh oh?

Uh oh?

From
Vince Vielhaber
Date:
FreeBSD 2.2.8.  cvsup a half hour ago.  (blew away my changes in the doc directory
too - grrrr)  I'm getting this.  Don't recall seeing it from a snapshot I tried a 
few days ago.  It normally compiles without incident.  gcc 2.7.2.1

------
gmake[3]: Entering directory `/usr/local/src/pgsql/pgsql/src/interfaces/ecpg/preproc
'
/usr/bin/bison -y -d preproc.y
mv y.tab.c preproc.c
mv y.tab.h preproc.h
gcc -I../../../include -I../../../backend   -O2 -m486 -pipe -Wall -Wmissing-prototyp
es -I../include -DMAJOR_VERSION=2 -DMINOR_VERSION=6 -DPATCHLEVEL=0 -DINCLUDE_PATH=\"
/usr/local/pgsql/include\"   -c preproc.c -o preproc.o
preproc.y:5824: parse error before character 026
/usr/share/misc/bison.simple: In function `yyparse':
/usr/share/misc/bison.simple:387: warning: implicit declaration of function `yylex'
gmake[3]: *** [preproc.o] Error 1
gmake[3]: Leaving directory `/usr/local/src/pgsql/pgsql/src/interfaces/ecpg/preproc'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/local/src/pgsql/pgsql/src/interfaces/ecpg'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/local/src/pgsql/pgsql/src/interfaces'
gmake: *** [all] Error 2

$ 
------

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH   email: vev@michvhf.com   flame-mail: /dev/null      # include <std/disclaimers.h>
       TEAM-OS2       Online Campground Directory    http://www.camping-usa.com      Online Giftshop Superstore
http://www.cloudninegifts.com
==========================================================================




Re: [HACKERS] Uh oh?

From
Bruce Momjian
Date:
> 
> FreeBSD 2.2.8.  cvsup a half hour ago.  (blew away my changes in the doc directory
> too - grrrr)  I'm getting this.  Don't recall seeing it from a snapshot I tried a 
> few days ago.  It normally compiles without incident.  gcc 2.7.2.1
> 
> ------
> gmake[3]: Entering directory `/usr/local/src/pgsql/pgsql/src/interfaces/ecpg/preproc
> '
> /usr/bin/bison -y -d preproc.y
> mv y.tab.c preproc.c
> mv y.tab.h preproc.h
> gcc -I../../../include -I../../../backend   -O2 -m486 -pipe -Wall -Wmissing-prototyp
> es -I../include -DMAJOR_VERSION=2 -DMINOR_VERSION=6 -DPATCHLEVEL=0 -DINCLUDE_PATH=\"
> /usr/local/pgsql/include\"   -c preproc.c -o preproc.o
> preproc.y:5824: parse error before character 026
> /usr/share/misc/bison.simple: In function `yyparse':
> /usr/share/misc/bison.simple:387: warning: implicit declaration of function `yylex'
> gmake[3]: *** [preproc.o] Error 1
> gmake[3]: Leaving directory `/usr/local/src/pgsql/pgsql/src/interfaces/ecpg/preproc'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/usr/local/src/pgsql/pgsql/src/interfaces/ecpg'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory `/usr/local/src/pgsql/pgsql/src/interfaces'
> gmake: *** [all] Error 2

I am OK there, but have a problem with plpgsql:
gcc2 -I../../../include -I../../../backend   -I/usr/local/include/readline -O2 -m486 -pipe -g -Wall -O1
-I../../../interfaces/libpq-I../../../include -I../../../backend -fpic -c -o pl_parse.o pl_gram.cscan.l: In function
`plpgsql_yylex':Infile included from gram.y:43:scan.l:150: `plpgsql_yylineno' undeclared (first use this
function)scan.l:150:(Each undeclared identifier is reported only oncescan.l:150: for each function it appears
in.)scan.l:In function `plpgsql_setinput':
 

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


Re: [HACKERS] Uh oh?

From
Vince Vielhaber
Date:
On 26-May-99 Bruce Momjian wrote:
>> 
>> FreeBSD 2.2.8.  cvsup a half hour ago.  (blew away my changes in the doc
>> directory
>> too - grrrr)  I'm getting this.  Don't recall seeing it from a snapshot I tried
>> a 
>> few days ago.  It normally compiles without incident.  gcc 2.7.2.1
>> 
>> ------
>> gmake[3]: Entering directory
>> `/usr/local/src/pgsql/pgsql/src/interfaces/ecpg/preproc
>> '
>> /usr/bin/bison -y -d preproc.y
>> mv y.tab.c preproc.c
>> mv y.tab.h preproc.h
>> gcc -I../../../include -I../../../backend   -O2 -m486 -pipe -Wall
>> -Wmissing-prototyp
>> es -I../include -DMAJOR_VERSION=2 -DMINOR_VERSION=6 -DPATCHLEVEL=0
>> -DINCLUDE_PATH=\"
>> /usr/local/pgsql/include\"   -c preproc.c -o preproc.o
>> preproc.y:5824: parse error before character 026
>> /usr/share/misc/bison.simple: In function `yyparse':
>> /usr/share/misc/bison.simple:387: warning: implicit declaration of function
>> `yylex'
>> gmake[3]: *** [preproc.o] Error 1
>> gmake[3]: Leaving directory
>> `/usr/local/src/pgsql/pgsql/src/interfaces/ecpg/preproc'
>> gmake[2]: *** [all] Error 2
>> gmake[2]: Leaving directory `/usr/local/src/pgsql/pgsql/src/interfaces/ecpg'
>> gmake[1]: *** [all] Error 2
>> gmake[1]: Leaving directory `/usr/local/src/pgsql/pgsql/src/interfaces'
>> gmake: *** [all] Error 2
> 
> I am OK there, but have a problem with plpgsql:
> 
>       gcc2 -I../../../include -I../../../backend   -I/usr/local/include/readline -
O2 -
>       m486 -pipe -g -Wall -O1 -I../../../interfaces/libpq -I../../../include -I../
../.
>       ./backend -fpic -c -o pl_parse.o pl_gram.c
>       scan.l: In function `plpgsql_yylex':
>       In file included from gram.y:43:
>       scan.l:150: `plpgsql_yylineno' undeclared (first use this function)
>       scan.l:150: (Each undeclared identifier is reported only once
>       scan.l:150: for each function it appears in.)
>       scan.l: In function `plpgsql_setinput':

And I only had some complaints about "defined but not used".  I commented
out the ecpg line from the makefile and got past the above problem.  But
had no trouble compiling libpq++.  Not even a warning.  I'm going to try
building with 2.8.1 and see if that makes any difference.

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH   email: vev@michvhf.com   flame-mail: /dev/null      # include <std/disclaimers.h>
       TEAM-OS2       Online Campground Directory    http://www.camping-usa.com      Online Giftshop Superstore
http://www.cloudninegifts.com
==========================================================================




Re: [HACKERS] Uh oh?

From
Michael Meskes
Date:
On Wed, May 26, 1999 at 04:26:27PM -0400, Vince Vielhaber wrote:
> gcc -I../../../include -I../../../backend   -O2 -m486 -pipe -Wall -Wmissing-prototyp
> es -I../include -DMAJOR_VERSION=2 -DMINOR_VERSION=6 -DPATCHLEVEL=0 -DINCLUDE_PATH=\"
> /usr/local/pgsql/include\"   -c preproc.c -o preproc.o
> preproc.y:5824: parse error before character 026

I tried recompiling the stuff and this does not happen for me.

Michael
-- 
Michael Meskes                         | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz    | Go Rhein Fire!
Tel.: (+49) 2431/72651                 | Use Debian GNU/Linux!
Email: Michael.Meskes@gmx.net          | Use PostgreSQL!