Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id A88EE2E3118 for ; Mon, 7 Jan 2008 21:20:10 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 54060-04 for ; Mon, 7 Jan 2008 21:20:05 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 351902E3105 for ; Mon, 7 Jan 2008 21:20:05 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id m081K2wT028605; Mon, 7 Jan 2008 20:20:02 -0500 (EST) To: "J6M" cc: pgsql-ports@postgresql.org Subject: Re: Building 8.3 beta 4 stops on (at least) 2 errors In-reply-to: <008b01c85143$f875af60$1500020a@eden.fr> References: <008b01c85143$f875af60$1500020a@eden.fr> Comments: In-reply-to "J6M" message dated "Mon, 07 Jan 2008 16:42:48 +0100" Date: Mon, 07 Jan 2008 20:20:02 -0500 Message-ID: <28604.1199755202@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/6 X-Sequence-Number: 2597 "J6M" writes: > xlc -O2 -qmaxmem=16384 -qsrcmsg -qlonglong -qnoansialias -I../../../../src/include > -c -o tsquery.o tsquery.c > 108 | PT_CLOSE = 5, > ....................a > a - 1506-275 (S) Unexpected text ',' encountered. Some compilers are picky about extra commas in enum lists, some aren't. I guess we have not currently got any in the buildfarm that are. > xlc -O2 -qmaxmem=16384 -qsrcmsg -qlonglong -qnoansialias -I../include -I../../../../src/interfaces/ecpg/include > -I../../../../src/interfaces/libpq -I../../../../src/include/utils -I../../../../src/include > -c -o informix.o informix.c > "/usr/include/stdio.h", line 434.12: 1506-343 (S) Redeclaration of fgetpos64 > differs from previous declaration on line 274 of "/usr/include/stdio.h". > "/usr/include/stdio.h", line 434.12: 1506-377 (I) The type "long long*" of > parameter 2 differs from the previous type "long*". The problem here seems to be that informix.c was violating our coding rule that no system headers may be included before c.h (or in this case, postgres_fe.h). Please change the first few lines of the file to this ordering: #define POSTGRES_ECPG_INTERNAL #include "postgres_fe.h" #include #include #include #include ... and see if it doesn't work then. BTW, it seems we do not have any buildfarm members running xlc. If you can spare the cycles to build PG once a day or so, please consider joining the buildfarm so these types of portability issues can be caught sooner. http://www.pgbuildfarm.org/index.html regards, tom lane