7.1.3 Compile fails on SCO OpenServer 5.0.6a

Поиск
Список
Период
Сортировка
От Steve Burger
Тема 7.1.3 Compile fails on SCO OpenServer 5.0.6a
Дата
Msg-id 3BD16417.9FC14754@customware.aust.com
обсуждение исходный текст
Ответы Re: 7.1.3 Compile fails on SCO OpenServer 5.0.6a
Re: 7.1.3 Compile fails on SCO OpenServer 5.0.6a
Список 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@customware.aust.com
===================================================


Вложения

В списке pgsql-ports по дате отправления:

Предыдущее
От: Raoul Callaghan
Дата:
Сообщение: Need help adding perl interface to 7.1.3 on MacOSX 10.1
Следующее
От: "Christopher C. Weis"
Дата:
Сообщение: Re: Need help adding perl interface to 7.1.3 on MacOSX 10.1