Tom Lane escreveu:
=?ISO-8859-1?Q?Andr=E9_Volpato?= <andre.volp...@ecomtecnologia.com.br> writes:
First I tryed to configure with no options, and then make throw this:
float.c:74: error: static declaration of 'cbrt' follows non-static declaration
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),
Instead, try putting back the "#define cbrt my_cbrt" line.
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.
--
[]´s, ACV
|