Re: [HACKERS] Uh oh?

From: Vince Vielhaber <vev(at)michvhf(dot)com>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Uh oh?
Date: 1999-05-26 23:07:49
Message-ID: XFMail.990526190749.vev@michvhf.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)michvhf(dot)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
==========================================================================

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Vince Vielhaber 1999-05-26 23:55:29 Re: [HACKERS] report for Win32 port
Previous Message Vince Vielhaber 1999-05-26 22:25:27 Uh-oh II - ecpg