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

From André Volpato
Subject Re: cbrt() broken in AIX
Date
Msg-id 49B02C6E.10908@ecomtecnologia.com.br
Whole thread Raw
In response to Re: cbrt() broken in AIX  ("Dickson S. Guedes" <listas@guedesoft.net>)
Responses Re: cbrt() broken in AIX  ("Dickson S. Guedes" <listas@guedesoft.net>)
List pgsql-hackers
<pre>Dickson S. Guedes escreveu:</pre><blockquote cite="mid:ae46fee10903041602x8d41379w5d724c9208c7396f@mail.gmail.com"
type="cite"><prewrap="">2009/3/4 André Volpato <a class="moz-txt-link-rfc2396E"
href="mailto:andre.volpato@ecomtecnologia.com.br"><andre.volpato@ecomtecnologia.com.br></a>:</pre><blockquote
type="cite"><prewrap="">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.

Here´s some info:
- Bladecenter IBM JS22 - PowerPC_POWER6 quad 4GHZ 64 bits
- AIX 5.3.0
- Postgresql 8.3.6
- gcc version 4.2.0
- GNU Make 3.80
(...)   </pre></blockquote><pre wrap="">
Here:

postgres@db01 $ id
uid=204(postgres) gid=1(staff)
postgres@db01 $ export CC="gcc"
postgres@db01 $ export CFLAGS="-maix64"
postgres@db01 $ export LDFLAGS="-Wl,-bbigtoc"
postgres@db01 $ export OBJECT_MODE=64
postgres@db01 $ export AR="ar -X64"
postgres@db01 $ ./configure --enable-integer-datetimes
--prefix=/srv/postgresql/8.3.6
....
postgres@db01 $ make
...
...

And all is done fine. Course, all above is for 64 bits compilling.

How you are trying that?
 </pre></blockquote><pre>
Guedes my friend, that doesnt work either.

First, I put back only the "define my_cbrt" line in float.c, and then tryed to configure with all the flags above.

The "Undefined symbols" errors keep coming.

As Thomas pointed out, I think my AIX is missing libm.

I will try to install it and post again when I have some news.

</pre> <pre class="moz-signature" cols="72">-- 

[]´s, ACV</pre>

pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Re: [BUGS] BUG #4689: Expanding the length of a VARCHAR column should not induce a table rewrite
Next
From: Tom Lane
Date:
Subject: Re: SIGHUP during recovery