Make on SCO Open Server

From: Roger While <RogerWhile(at)sim-basis(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Make on SCO Open Server
Date: 2001-05-23 09:48:42
Message-ID: 4.3.2.7.2.20010523114018.00d0fa20@192.168.6.1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,
Re. Making Pgsql on SCO Open Server
Version 7.1.1

Firstly, "make" blows with undefined symbol "NOFILE" in
"src/backend/storage/file/fd.c". I temporarily changed this
to a hard-coded value.
After correcting this the Make actually completes; however; without
creating
any shared libraries, so that the "make install" blows.
What's missing is the follwing in "src/Makefile.shlib"

ifeq ($(PORTNAME), sco)
shlib :=
lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
ifndef cplusplus
ifeq ($(GCC), yes)
LINK.shared = $(CC) -shared
else
LINK.shared = $(CC) -G
endif
else
ifeq ($(GXX), yes)
LINK.shared = $(CXX) -shared
else
LINK.shared = $(CXX) -G
endif
endif
LINK.shared += -Wl,-z,text -Wl,-h,$(soname)
endif

Regards

Roger While

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2001-05-23 14:11:18 Re: psql dumps core when entering invalid backslash command
Previous Message Brent Ewing 2001-05-22 22:57:08 repeated pointless memmove() calls in pqReadData()