Re: [Pgbuildfarm-members] Snow Leopard bison/flex build problem
- From: Andrew Dunstan <andrew(at)dunslane(dot)net>
- To: Robert Creager <robert(at)logicalchaos(dot)org>
- Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
- Subject: Re: [Pgbuildfarm-members] Snow Leopard bison/flex build problem
- Date: Mon, 07 Sep 2009 13:29:33 -0400
- Message-id: <4AA542FD.4070004@dunslane.net> <text/plain>
Robert Creager wrote:
Upgraded to Snow Leopard Saturday, and am having problems building now.
The build logs are here
http://buildfarm.postgresql.org/cgi-bin/show_status.pl?member=polecat
And the failing part is here:
make -C preproc all
make -C ../../../../src/port all
make[5]: Nothing to be done for `all'.
"/usr/bin/perl" ./parse.pl . < ../../../backend/parser/gram.y > preproc.y
/usr/bin/bison -d -o preproc.c preproc.y
/usr/bin/flex -o'pgc.c' pgc.l
/opt/local/bin/ccache gcc -no-cpp-precomp -I/opt/local/include -Wall
-Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Wendif-labels -fno-strict-aliasing -fwrapv -g -DECPG_COMPILE
-I../include -I../../../../src/interfaces/ecpg/include -I. -I.
-DMAJOR_VERSION=4 -DMINOR_VERSION=6 -DPATCHLEVEL=0
-I../../../../src/include -I/usr/include/libxml2 -c -o preproc.o
preproc.c
In file included from preproc.y:12065:
pgc.c:161: error: conflicting types for 'yyleng'
extern.h:43: error: previous declaration of 'yyleng' was here
pgc.c:288: error: conflicting types for 'yyleng'
extern.h:43: error: previous declaration of 'yyleng' was here
make[4]: *** [preproc.o] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
Please try building by hand and examine the files to find out what the
conflict is between these declarations.
This is really a -hackers question.
cheers
andrew
Home |
Main Index |
Thread Index