Re: cbrt() broken in AIX

From: Thomas Pundt <mlists(at)rp-online(dot)de>
To: André Volpato <andre(dot)volpato(at)ecomtecnologia(dot)com(dot)br>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: cbrt() broken in AIX
Date: 2009-03-04 20:57:27
Message-ID: 49AEEB37.90009@rp-online.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

André Volpato schrieb:
> I´m trying to install postgres 8.3.6 at AIX 5.3, and I got a declaration
> error that I presume its related to this [1] thread.
[...]
> After some googling, I find Bruce´s path back on 7.4, that removed
> my_cbrt trick. So, I changed float.c to the old code (the whole
> HAVE_CBRT stuff),
> and the declaration error was gone, but now I got this :
[...]
> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
[...]
> utils/SUBSYS.o ../../src/timezone/SUBSYS.o ../../src/port/libpgport_srv.a
> -Wl,-bE:../../src/backend/postgres.imp -lld -o postgres
> ld: 0711-317 ERROR: Undefined symbol: .lrint
> ld: 0711-317 ERROR: Undefined symbol: ._isnan
> ld: 0711-317 ERROR: Undefined symbol: ._isinff
> ld: 0711-317 ERROR: Undefined symbol: .sqrt
> ld: 0711-317 ERROR: Undefined symbol: .tan
> ld: 0711-317 ERROR: Undefined symbol: .sin
> ld: 0711-317 ERROR: Undefined symbol: .cos
[...]
>
> What can I do next ?

I don't have a clue about AIX, but that certainly looks like it's
missing a -lm now.

Ciao,
Thomas

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2009-03-04 21:01:53 Re: Prepping to break every past release...
Previous Message Andrew Dunstan 2009-03-04 20:50:54 Re: Prepping to break every past release...