Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-ports by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group