problems compiling on solaris

From: Alan Stange <stange(at)rentec(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: problems compiling on solaris
Date: 2004-03-24 02:57:09
Message-ID: 4060F905.5010004@rentec.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Tom Lane 2004-03-26 17:49:19 Re: Buggy make files for Solaris 9 64bit builds: version 7.4.1 and 7.4.2
Previous Message raymond.siebert 2004-03-23 16:33:58 Buggy make files for Solaris 9 64bit builds: version 7.4.1 and 7.4.2