============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================
Your name : John J. Boris, Sr.
Your email address : jboris@adphila.org
Category : install: compile
Severity : critical
Summary: Will not compile under SCO OSR 5.0.5
System Configuration
--------------------
Operating System : SCO OSR 5.0.5
PostgreSQL version : 6.4.2
Compiler used : SCO cc
Hardware:
---------
IBM PC Server 320 80mb RAM
SCO_SV jc 3.2 5.0.5 i386
Versions of other tools:
------------------------
--------------------------------------------------------------------------
Problem Description:
--------------------
I first do this:
jc:/usr/src/pgsql/postgresql-6.4.2/src/include$ ./configure --with-CC=cc --with
-perl --with-odbc --with-template=sco
Then I get the following error when I do:
gmake all > & make.log &
gmake[3]: Entering directory `/usr/src/pgsql/postgresql-6.4.2/src/backend/storag
e/buffer'
cc -b elf -I../../../include -I../../../backend -dy -I../.. -c s_lock.c -o
s_lock.o
"s_lock.c", line 43: error: Syntax error before or at: *
"s_lock.c", line 47: error: undefined symbol: lock
"s_lock.c", line 47: error: undefined symbol: file
"s_lock.c", line 47: error: undefined symbol: line
"s_lock.c", line 60: error: Syntax error before or at: *
"s_lock.c", line 64: error: undefined symbol: lock
"s_lock.c", line 74: error: undefined symbol: file
"s_lock.c", line 74: error: undefined symbol: line
gmake[3]: *** [s_lock.o] Error 1
--------------------------------------------------------------------------
Test Case:
----------
Do what I put in the above paragraph.
--------------------------------------------------------------------------
Solution:
---------
--------------------------------------------------------------------------