Re: cbrt() broken in AIX - Mailing list pgsql-hackers

From Thomas Pundt
Subject Re: cbrt() broken in AIX
Date
Msg-id 49AEEB37.90009@rp-online.de
Whole thread Raw
In response to cbrt() broken in AIX  (André Volpato<andre.volpato@ecomtecnologia.com.br>)
Responses Re: cbrt() broken in AIX  (André Volpato<andre.volpato@ecomtecnologia.com.br>)
List 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



pgsql-hackers by date:

Previous
From: André Volpato
Date:
Subject: cbrt() broken in AIX
Next
From: Andrew Dunstan
Date:
Subject: Re: Prepping to break every past release...