X-Original-To: pgsql-ports-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id B74EA9DC883 for ; Thu, 16 Mar 2006 13:58:13 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 67078-01 for ; Thu, 16 Mar 2006 13:58:10 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 9CFDB9DC80C for ; Thu, 16 Mar 2006 13:58:08 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id k2GHw6In018238; Thu, 16 Mar 2006 12:58:07 -0500 (EST) To: "Riccardo Mottola" cc: "Seneca Cunningham" , pgsql-ports@postgresql.org Subject: Re: fails to compile with undefined symbol (FP_PLUS_INF) In-reply-to: <259a55900603160838p4a529a4l590a9baa444a5575@mail.gmail.com> References: <259a55900603160748v2646acd4l2909650eab5a4737@mail.gmail.com> <44198CBB.9070608@ca.afilias.info> <259a55900603160811h6d797ddeud9efb0b91c22a51f@mail.gmail.com> <4419912A.1070903@ca.afilias.info> <259a55900603160838p4a529a4l590a9baa444a5575@mail.gmail.com> Comments: In-reply-to "Riccardo Mottola" message dated "Thu, 16 Mar 2006 17:38:27 +0100" Date: Thu, 16 Mar 2006 12:58:06 -0500 Message-ID: <18237.1142531886@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.113 required=5 tests=[AWL=0.113] X-Spam-Score: 0.113 X-Spam-Level: X-Archive-Number: 200603/22 X-Sequence-Number: 2346 "Riccardo Mottola" writes: >> The float.h that's part of gcc doesn't contain the defines. > yes, exactly. lib/gcc/powerpc-ibm-aix4.2.1.0/3.4.5/include/float.h > and indeed, it has not those defines. Ah-hah. This probably indicates that the gcc you are using was originally generated on a different version of AIX. It's always bad news when gcc's copies of the headers don't match the real ones :-( These copies are generated during gcc build by a script called "fixincludes". You might be able to fix them up by just re-running fixincludes. My inclination would be to rebuild gcc altogether though. regards, tom lane