Skip site navigation (1) Skip section navigation (2)

Re: fails to compile with undefined symbol (FP_PLUS_INF)

From: Seneca Cunningham <scunning(at)ca(dot)afilias(dot)info>
To: Riccardo Mottola <multix(at)gmail(dot)com>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: fails to compile with undefined symbol (FP_PLUS_INF)
Date: 2006-03-16 16:05:15
Message-ID: 44198CBB.9070608@ca.afilias.info (view raw or flat)
Thread:
Lists: pgsql-ports
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

pgsql-ports by date

Next:From: Riccardo MottolaDate: 2006-03-16 16:11:45
Subject: Re: fails to compile with undefined symbol (FP_PLUS_INF)
Previous:From: Riccardo MottolaDate: 2006-03-16 15:48:54
Subject: fails to compile with undefined symbol (FP_PLUS_INF)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group