Re: fails to compile with undefined symbol (FP_PLUS_INF)

From: "Riccardo Mottola" <multix(at)gmail(dot)com>
To: "Seneca Cunningham" <scunning(at)ca(dot)afilias(dot)info>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: fails to compile with undefined symbol (FP_PLUS_INF)
Date: 2006-03-16 16:11:45
Message-ID: 259a55900603160811h6d797ddeud9efb0b91c22a51f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Hey,

our faithful grep tool says:
bash-2.01$ grep FP_PLUS_INF *
float.h:#define FP_PLUS_INF 4
bash-2.01$ grep FP_MINUS_INF *
float.h:#define FP_MINUS_INF 5

On 3/16/06, Seneca Cunningham <scunning(at)ca(dot)afilias(dot)info> wrote:
> Riccardo Mottola wrote:
> > gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
> > -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
> > -I../../src/port -DFRONTEND -I../../src/include -I/usr/local/include
> > -c isinf.c -o isinf.o
> > isinf.c: In function `isinf':
> > isinf.c:69: error: `FP_PLUS_INF' undeclared (first use in this function)
> > isinf.c:69: error: (Each undeclared identifier is reported only once
> > isinf.c:69: error: for each function it appears in.)
> > isinf.c:71: error: `FP_MINUS_INF' undeclared (first use in this function)
> > make[2]: *** [isinf.o] Error 1
>
> Are FP_PLUS_INF and FP_MINUS_INF defined in float.h or math.h? The
> oldest docs that I found were for AIX 4.3 and what I could gather from
> them is that the code should compile.
>
> --
> Seneca Cunningham
> scunning(at)ca(dot)afilias(dot)info
>

In response to

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Tom Lane 2006-03-16 16:23:49 Re: fails to compile with undefined symbol (FP_PLUS_INF)
Previous Message Seneca Cunningham 2006-03-16 16:05:15 Re: fails to compile with undefined symbol (FP_PLUS_INF)