8.2bet2 failed build on Solaris 10 / x86-64 / SUN Studio 11

Поиск
Список
Период
Сортировка
От Andreas Lange
Тема 8.2bet2 failed build on Solaris 10 / x86-64 / SUN Studio 11
Дата
Msg-id 454B45DA.7020404@ida.liu.se
обсуждение исходный текст
Ответы Re: 8.2bet2 failed build on Solaris 10 / x86-64 / SUN Studio 11
Список pgsql-bugs
Hi,

I have problems building 8.2beta2 on a Solaris 10 x86-64 machine:

gmake[4]: Entering directory
`/files/dsk1/lsw/src/postgresql/postgresql-8.2beta2/src/backend/utils/adt'
/sw/sun-studio-11/SUNWspro/bin/cc -Xa -fast -fns=no -fsimple=1
-xtarget=opteron -xarch=amd64a -I../../../../src/include   -c -o float.o
float.c
"float.c", line 113: identifier redeclared: cbrt
        current : static function(double) returning double
        previous: function(double) returning double :
"/usr/include/iso/math_c99.h", line 126
cc: acomp failed for float.c
gmake[4]: *** [float.o] Error 2

This is the code in question:

#ifndef HAVE_CBRT
static double cbrt(double x);
#endif   /* HAVE_CBRT */

And here is from configure:

checking whether gettimeofday takes only one argument... no
checking for cbrt... no
checking for dlopen... yes

8.1.5 configured and built (with slock backported) on the same machine
finds cbrt and passes the 'gmake check' just fine.

Is this a known error or due to some intentional change that I've missed?

    Regards,
       Andreas

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Marcio"
Дата:
Сообщение: Sugestion for PostgreSQL Developer´s TEAM!
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: 8.2bet2 failed build on Solaris 10 / x86-64 / SUN Studio 11