Return-Path: pg_adm@postgres.berkeley.edu
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA27683; Sun, 29 Dec 91 07:29:21 -0800
Date: Sun, 29 Dec 91 07:29:21 -0800
Message-Id: <9112291529.AA27683@postgres.Berkeley.EDU>
From: postgres%thumper@src.honeywell.com
Subject: problems compiling on sun3 under sunos 4.1
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu


I am having problems getting postgres to compile on a sun3 under sunos 4.1
I have tried the standard C comppiler and gcc both produce errors. The text
of trying to compile using the std sun C compiler for the first error is
included below. I assume i am doing somthing wrong but have no idea what. 
Up to this point the ./Make install worked fine with no errors.

linking headers
compiling plannodes.h
"plannodes.c", line 1039: syntax error at or near variable name "type"
"plannodes.c", line 1039: NodeTag declared as parameter to non-function
"plannodes.c", line 1039: type undefined
"plannodes.c", line 1039: outFunc undefined
"plannodes.c", line 1039: function returns illegal type
"plannodes.c", line 1039: redeclaration of IMakePlan
"plannodes.c", line 1039: redeclaration of cost
"plannodes.c", line 1039: redeclaration of plan_size
"plannodes.c", line 1039: redeclaration of plan_width
"plannodes.c", line 1039: redeclaration of fragment
"plannodes.c", line 1039: redeclaration of parallel
"plannodes.c", line 1039: redeclaration of state
"plannodes.c", line 1039: redeclaration of qptargetlist
"plannodes.c", line 1039: redeclaration of qpqual
"plannodes.c", line 1039: syntax error at or near symbol )
"plannodes.c", line 1040: illegal character: '#'
"plannodes.c", line 1052: syntax error at or near symbol {
"plannodes.c", line 1053: illegal initialization
"plannodes.c", line 1053: cannot recover from earlier errors: goodbye!


The other option is that postgres no longer works on sun3's 

Thanks for any help that someone can give. 

p.s. It was being compiled under the user postgres and the uid = 6


-larry
