Обсуждение: Uh-oh II - ecpg

Поиск
Список
Период
Сортировка

Uh-oh II - ecpg

От
Vince Vielhaber
Дата:
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
==========================================================================




Re: [HACKERS] Uh-oh II - ecpg

От
Bruce Momjian
Дата:
> 
> 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,
Pennsylvania19026
 


Re: [HACKERS] Uh-oh II - ecpg

От
Michael Meskes
Дата:
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!


Re: [HACKERS] Uh-oh II - ecpg

От
Tom Lane
Дата:
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


Re: [HACKERS] Uh-oh II - ecpg

От
Vince Vielhaber
Дата:
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
==========================================================================