Problems compiling on Solaris 5.7 (7) - Mailing list pgsql-ports

From Stergios Zissakis
Subject Problems compiling on Solaris 5.7 (7)
Date
Msg-id NGBBJHBHDKPNOODGDMMAEEGMCIAA.szis@intranet.gr
Whole thread Raw
List pgsql-ports
Dear PostgreSQL support,

I am trying to compile PostgreSQL 7.4 on Solaris 5.7 and came accross the
following when building the ECPG library:

/tools/WS61/SUNWspro/bin/cc -Xa -G -h libecpg.so.4 execute.o typename.o
descriptor.o data.o error.o prepare.o memory.o connect.o
misc.o -L../../../../src/port -L/var/preserve/szis/tools/lib -L/tools/suntoo
ls/lib -L../pgtypeslib -lpgtypes -L../../../../src/interfaces/libpq -lpq -lm
 -pthread -R/var/preserve/szis/export/lib -o libecpg.so.4.0
cc: Warning: multiple use of -h option, previous one discarded.
ld: fatal: file ../../../../src/interfaces/libpq/libpq.so: recording name
`read' matches that supplied with -h option
ld: fatal: File processing errors. No output written to libecpg.so.4.0
make[4]: *** [libecpg.so.4.0] Error 1

I am using the following CC version:

CC: Sun WorkShop 6 update 1 C++ 5.2 Patch 109508-08 2002/03/07

uname -a reports the following:
SunOS valhala 5.7 Generic_106541-16 sun4u sparc SUNW,Ultra-80

The configuration enviroment is:
CFLAGS=-xCC
CC=/opt/SUNWspro/bin/CC

Any ideas where it goes wrong?

Thanks in advance.

Stergios Zissakis


pgsql-ports by date:

Previous
From: Roman Zippel
Date:
Subject: Re: Build failure on m68k and ia64: inconsistent operand
Next
From: Edwin New
Date:
Subject: configure fails on solaris