Re: [HACKERS] preproc.y error

2001-02-07 Thread Tom Lane

Vince Vielhaber [EMAIL PROTECTED] writes:
 In today's (2/7/2k1) snapshot from hub, I'm getting this:

 gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
 -I../../../../src/include -I./../include -DMAJOR_VERSION=2 -DMINOR_VERSION=8 
-DPATCHLEVEL=0
 -DINCLUDE_PATH=\"/usr/local/pgsql/include\"   -c -o preproc.o preproc.c
 preproc.y:3957: syntax error at null character

Works fine here, and there's nothing visibly wrong with line 3957 and
neighbors in my copy.  Try removing preproc.c and letting the system
rebuild it.

regards, tom lane



Re: [HACKERS] preproc.y error

2001-02-07 Thread Vince Vielhaber

On Wed, 7 Feb 2001, Tom Lane wrote:

 Vince Vielhaber [EMAIL PROTECTED] writes:
  In today's (2/7/2k1) snapshot from hub, I'm getting this:

  gcc -pipe -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
  -I../../../../src/include -I./../include -DMAJOR_VERSION=2 -DMINOR_VERSION=8 
-DPATCHLEVEL=0
  -DINCLUDE_PATH=\"/usr/local/pgsql/include\"   -c -o preproc.o preproc.c
  preproc.y:3957: syntax error at null character

 Works fine here, and there's nothing visibly wrong with line 3957 and
 neighbors in my copy.  Try removing preproc.c and letting the system
 rebuild it.

Now I get:

byacc -d  preproc.y
byacc: f - maximum table size exceeded
gmake[4]: *** [preproc.c] Error 2

However it failed building a kernel, I may have some bad ram.  I'm
supposed to have 256M coming any day - actually I thought it'd be
here by now.

Vince.
-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==






Re: [HACKERS] preproc.y error

2001-02-07 Thread Tom Lane

Vince Vielhaber [EMAIL PROTECTED] writes:
 Now I get:
 byacc -d  preproc.y
 byacc: f - maximum table size exceeded
 gmake[4]: *** [preproc.c] Error 2

Better install bison if you want to work with CVS sources ...
the lack of bison probably explains why it's failing for you on
this system when it's OK on other FreeBSD boxes.

I wonder if we ought not accept byacc as a suitable yacc in configure?
Peter, what do you think?

regards, tom lane



Re: [HACKERS] preproc.y error

2001-02-07 Thread Tom Lane

BTW, I pulled down the current snapshot, and there doesn't seem to be
anything wrong with preproc.c in it.  So the lack of bison on your
machine wasn't the issue anyway; it should've compiled the preproc.c
from the snapshot without complaint.

It does sound like there may be some outright flakiness in your new
machine :-(

regards, tom lane



Re: [HACKERS] preproc.y error

2001-02-07 Thread Alfred Perlstein

* Tom Lane [EMAIL PROTECTED] [010207 17:24] wrote:
 Vince Vielhaber [EMAIL PROTECTED] writes:
  Now I get:
  byacc -d  preproc.y
  byacc: f - maximum table size exceeded
  gmake[4]: *** [preproc.c] Error 2
 
 Better install bison if you want to work with CVS sources ...
 the lack of bison probably explains why it's failing for you on
 this system when it's OK on other FreeBSD boxes.
 
 I wonder if we ought not accept byacc as a suitable yacc in configure?
 Peter, what do you think?

I think I reported this broken a couple of months ago, but it was
too late to add the check to configure for 7.0.  byacc doesn't work,
you need bison (or maybe some special flags to byacc).

-- 
-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
"I have the heart of a child; I keep it in a jar on my desk."



Re: [HACKERS] preproc.y error

2001-02-07 Thread Vince Vielhaber

On Wed, 7 Feb 2001, Tom Lane wrote:

 BTW, I pulled down the current snapshot, and there doesn't seem to be
 anything wrong with preproc.c in it.  So the lack of bison on your
 machine wasn't the issue anyway; it should've compiled the preproc.c
 from the snapshot without complaint.

 It does sound like there may be some outright flakiness in your new
 machine :-(

Hopefully the new ram will show tomorrow.  I need to build a kernel
and know enough to not bother with one built on bad ram.  Thanks for
the double check.

Vince.
-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==