
I re-cvsup'd, and now I get this:

------
gmake[3]: Entering directory `/usr/local/src/pgsql/pgsql/src/interfaces/ecpg/preproc
'
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:4609: parse error at null character
/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
$
------

Is this a required interface?  How do I build without it?  I tried eliminating
it with ./configure --without-ecpg  but that didn't work.  I'm running short on
time and want to fix the libpq++ problems (if I can duplicate them) before I go
outa town, but this is a roadblock.  :(

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
==========================================================================



Wed, 26 May 1999 18:25:27 -0400 (EDT)
Vince Vielhaber <vev@michvhf.com>
Uh-oh II - ecpg
> 
> I re-cvsup'd, and now I get this:
> 
> ------
> gmake[3]: Entering directory `/usr/local/src/pgsql/pgsql/src/interfaces/ecpg/preproc
> '
> 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:4609: parse error at null character
> /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
> $

Comment it out of interfaces/Makefile.

-- 
  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, Pennsylvania 19026

Wed, 26 May 1999 20:09:47 -0400 (EDT)
Bruce Momjian <maillist@candle.pha.pa.us>
Re: [HACKERS] Uh-oh II - ecpg
On Wed, May 26, 1999 at 06:25:27PM -0400, Vince Vielhaber wrote:
> 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:4609: parse error at null character

This certainly looks like an incomplete file.

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!

Thu, 27 May 1999 14:37:25 +0200
Michael Meskes <meskes@postgresql.org>
Re: [HACKERS] Uh-oh II - ecpg
Michael Meskes <meskes@postgreSQL.org> writes:
> On Wed, May 26, 1999 at 06:25:27PM -0400, Vince Vielhaber wrote:
>> 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:4609: parse error at null character

> This certainly looks like an incomplete file.

I'm not seeing any problem here either.  Nor are there any off-color
characters visible in that file near that line.  I've got to think
that Vince's copy got corrupted somehow...

			regards, tom lane

Thu, 27 May 1999 10:02:08 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Uh-oh II - ecpg 

On 27-May-99 Tom Lane wrote:
> Michael Meskes <meskes@postgreSQL.org> writes:
>> On Wed, May 26, 1999 at 06:25:27PM -0400, Vince Vielhaber wrote:
>>> 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:4609: parse error at null character
> 
>> This certainly looks like an incomplete file.
> 
> I'm not seeing any problem here either.  Nor are there any off-color
> characters visible in that file near that line.  I've got to think
> that Vince's copy got corrupted somehow...

That musta been it.  I deleted it and re-cvsupped and it just built 
cleanly (sans a couple of bison warnings I'm not worried about).

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
==========================================================================



Thu, 27 May 1999 10:50:15 -0400 (EDT)
Vince Vielhaber <vev@michvhf.com>
Re: [HACKERS] Uh-oh II - ecpg