Re: cbrt() broken in AIX
От | André Volpato |
---|---|
Тема | Re: cbrt() broken in AIX |
Дата | |
Msg-id | 49AFB961.2030308@ecomtecnologia.com.br обсуждение исходный текст |
Ответ на | Re: cbrt() broken in AIX (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers |
<pre>Tom Lane escreveu:</pre><blockquote cite="mid:7315.1236202606@sss.pgh.pa.us" type="cite"><pre wrap="">André Volpato<a class="moz-txt-link-rfc2396E" href="mailto:andre.volpato@ecomtecnologia.com.br"><andre.volpato@ecomtecnologia.com.br></a>writes: </pre><blockquotetype="cite"><pre wrap="">First I tryed to configure with no options, and then make throw this: </pre></blockquote><prewrap=""> </pre><blockquote type="cite"><pre wrap="">float.c:74: error: static declaration of 'cbrt'follows non-static declaration </pre></blockquote><pre wrap=""> </pre><blockquote type="cite"><pre wrap="">Aftersome 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), </pre></blockquote><pre wrap=""> Instead, try putting back the "#define cbrt my_cbrt" line. </pre></blockquote><pre> You mean only this line ? What I have done is this : (I cant access the box right now, so I dont have diff output) float.c From : > #ifndef HAVE_CBRT > static double cbrt(double x); > #endif /* HAVE_CBRT */ To: > #ifndef HAVE_CBRT > #define cbrt my_cbrt > static double cbrt(double x); > #else > #if !defined(nextstep) > extern double cbrt(double x); > #endif > #endif /* HAVE_CBRT */ And that give the Undefined symbol errors. Anyway, I´ll try putting back just the my_cbrt line. </pre> <pre class="moz-signature" cols="72">-- []´s, ACV</pre>
В списке pgsql-hackers по дате отправления: