Robert Treat wrote:
On Wednesday 05 September 2007 12:01, Tom Lane wrote:
Robert Treat <[EMAIL PROTECTED]> writes:
On Wednesday 05 September 2007 00:06, Tom Lane wrote:
BTW, on re-reading that, it seems a tad surprising to get an error right
there --- if postgres_fe.h or anything it includes were broken, then the
build should have failed earlier.  Is the failure reproducible in
repeated tries?
Yes.  Just for giggles I played with the configure flags as well, but it
always errors in that spot.
Hmph.  I checked the CVS logs and there haven't been any recent changes
that seem like they could be related.

It might be worth getting gcc -E output and looking to see what that
part of netdb.h looks like after macro expansion.


Sorry, my C-fu is lacking. My makefile claims it uses gcc -E, but I'm not sure how to get a look at results after macro expansion However... I looked again at the output of the make command on some ubuntu buildfarm members, and the results were different enough that I got suspicous of the flex/bison derived files in the snapshot, so I decided to build from cvs and that works fine. FWIW I am using flex 2.5.31 and bison 2.1, not sure what is used to produce the snapshots...

scan.c in snapshot says:

#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5


gram.c in snapshot says:

/* A Bison parser, made by GNU Bison 1.875.  */

cheers

andrew



---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to