From: | Robert Creager <robert(at)logicalchaos(dot)org> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Cc: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
Subject: | Re: [Pgbuildfarm-members] Snow Leopard bison/flex build problem |
Date: | 2009-09-07 18:59:28 |
Message-ID: | 4C1DEE54-4416-4B82-BB53-27E6E79DF000@logicalchaos.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | buildfarm-members pgsql-general pgsql-hackers |
On Sep 7, 2009, at 11:29 AM, Andrew Dunstan wrote:
>
>
> 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.
pgc.c - 161:
extern yy_size_t yyleng;
extern.h - 43 :
extern int yylineno,
yyleng;
Thanks,
Rob
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2009-09-07 19:18:26 | Re: [Pgbuildfarm-members] Snow Leopard bison/flex build problem |
Previous Message | Andrew Dunstan | 2009-09-07 17:29:33 | Re: [Pgbuildfarm-members] Snow Leopard bison/flex build problem |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2009-09-07 19:18:26 | Re: [Pgbuildfarm-members] Snow Leopard bison/flex build problem |
Previous Message | Andrew Dunstan | 2009-09-07 17:29:33 | Re: [Pgbuildfarm-members] Snow Leopard bison/flex build problem |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2009-09-07 19:18:26 | Re: [Pgbuildfarm-members] Snow Leopard bison/flex build problem |
Previous Message | Alvaro Herrera | 2009-09-07 18:20:30 | Re: Patch: update Bonjour support to the newer non-deprecated API |