7.1.3 Compile fails on SCO OpenServer 5.0.6a

From: Steve Burger <steve(at)customware(dot)aust(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: 7.1.3 Compile fails on SCO OpenServer 5.0.6a
Date: 2001-10-20 11:46:31
Message-ID: 3BD16417.9FC14754@customware.aust.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Version 7.1.3 and 7.1.2
System
=====
i686
OS = SCO OpenServer 5.0.6a
UDK 7.1.1a
Skunkware 2001

Develpement Environments
====================
Native - SCO UNIX Development System Release 5.1.2A 27Jul00
UDK 7.1.1a - Optimizing C Compilation System (CCS) 3.2 09/28/99
(santamariasbl5.1.rs1ubl7)
gcc - version 2.95.2 19991024 (release)

This gives me 3 options /usr/bin/cc, /udk/usr/ccs/bin/cc and
/usr/local/bin/gcc

gcc fails test compile at the end of configure

udk fails displays multiple warning: no SCO ELF identifying .note and
others
then fails to link
/udk/usr/ccs/bin/cc -b elf -dy -L/udk/usr/lib -L/usr/local/lib -W
l,-Bexport a
ccess/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o
commands/SUBS
YS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o
nodes/SUBSYS.o
optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o
rewrite/SUBS
YS.o storage/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o -lresolv -lPW -lgen
-lld -lns
l -lsocket -ldl -lm -o postgres
UX:ld: ERROR: access/SUBSYS.o: fatal error: cannot link OpenServer
object into I
ntel iABI target
gmake[2]: *** [postgres] Error 1
gmake[2]: Leaving directory
`/u/Download/SQL/postgresql-7.1.3/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/u/Download/SQL/postgresql-7.1.3/src'
gmake: *** [all] Error 2

/usr/bin/cc gets the closest

CC=/usr/bin/cc
export CC CCFLAGS
./configure --with-libs="/usr/lib /usr/local/lib"
--with-includes="/usr/include /usr/local/include"
gmake

gmake[4]: Entering directory
`/u/Download/SQL/postgresql-7.1.3/src/backend/stora
ge/file'
/usr/bin/cc -b elf -dy -I../../../../src/include -I/usr/include
-I/usr/local/in
clude -c -o fd.o fd.c
"fd.c", line 286: error: undefined symbol: NOFILE
gmake[4]: *** [fd.o] Error 1
gmake[4]: Leaving directory
`/u/Download/SQL/postgresql-7.1.3/src/backend/storag
e/file'
gmake[3]: *** [file-recursive] Error 2
gmake[3]: Leaving directory
`/u/Download/SQL/postgresql-7.1.3/src/backend/storag
e'
gmake[2]: *** [storage-recursive] Error 2
gmake[2]: Leaving directory
`/u/Download/SQL/postgresql-7.1.3/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/u/Download/SQL/postgresql-7.1.3/src'
gmake: *** [all] Error 2

Any help sorting this out would be appreciated.
In the mean time I'm working my way back through the available versions
to see if this is something that broke in one of the newer releases.

Attached is the config.log for the udk attempt.

Thank you Steve
===================================================
CUSTOMWARE, 27 Cookes Road, Windsor Gardens SA 5087
Phone +61 8 8369 2287 Fax +61 8 8369 1121
Email steve(at)customware(dot)aust(dot)com
===================================================

Attachment Content-Type Size
config.log application/x-unknown-content-type-txtfile 44.6 KB

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Steve Burger 2001-10-20 12:26:19 RE- Compile 7.1.3 on SCO OpenServer 5.0.6a
Previous Message Jeff Duffy 2001-10-19 16:39:55 Re: Bug Report: 7.1.3 initdb fails on FreeBSD 4.4-RELEASE/Alpha