Re: [HACKERS] Uh oh? - Mailing list pgsql-hackers

From Vince Vielhaber
Subject Re: [HACKERS] Uh oh?
Date
Msg-id XFMail.990526190749.vev@michvhf.com
Whole thread Raw
In response to Re: [HACKERS] Uh oh?  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
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
==========================================================================




pgsql-hackers by date:

Previous
From: Vince Vielhaber
Date:
Subject: Uh-oh II - ecpg
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Uh-oh II - ecpg