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

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:38:27
Message-ID: 259a55900603160838p4a529a4l590a9baa444a5575@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-ports
Hello,

> Is there a float.h in your gcc install directory?  Is it #included
> instead of /usr/include/float.h by gcc?  My faithful grep tool says:
>
> -bash-2.05b$ grep FP_MINUS_INF /usr/include/*
> /usr/include/float.h:#define FP_MINUS_INF      5
> /usr/include/math.h:#define FP_MINUS_INF      5
>
> 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.
As far as I know, the gcc includes have always precedence. Maybe you
should run a configure check?
Do you know a workaround?

-R

In response to

Responses

pgsql-ports by date

Next:From: Seneca CunninghamDate: 2006-03-16 17:16:23
Subject: Re: fails to compile with undefined symbol (FP_PLUS_INF)
Previous:From: Seneca CunninghamDate: 2006-03-16 16:24:10
Subject: Re: fails to compile with undefined symbol (FP_PLUS_INF)

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