problems compiling on solaris

Поиск
Список
Период
Сортировка
От Alan Stange
Тема problems compiling on solaris
Дата
Msg-id 4060F905.5010004@rentec.com
обсуждение исходный текст
Ответы Re: problems compiling on solaris
Список pgsql-ports
Hello all,

I'm trying to compile pg7.4.1 on Solaris using the Sun compilers.   All
works fine except that I get this error in tuptoaster.c:

cc -Xa -fast -I../../../../src/include -I/usr/local/ren/prod/include/
-c -o tuptoaster.o tuptoaster.c
cc: Warning: -xarch=native has been explicitly specified, or implicitly
specified by a macro option, -xarch=native on this architecture implies
-xarch=v8plusb which generates code that does not run on pre UltraSPARC
III processors
"tuptoaster.c", line 831: member can not have variably modified type: data
cc: acomp failed for tuptoaster.c
gmake: *** [tuptoaster.o] Error 2


What am I missing?  This happens when simply doing a
CC=cc ./configure; gmake

Thanks!

-- Alan

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

Предыдущее
От: raymond.siebert@mobilcom.de
Дата:
Сообщение: Buggy make files for Solaris 9 64bit builds: version 7.4.1 and 7.4.2
Следующее
От: Tom Lane
Дата:
Сообщение: Re: problems compiling on solaris