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