Problems compiling on Solaris 5.7 (7)

From: "Stergios Zissakis" <szis(at)intranet(dot)gr>
To: <pgsql-ports(at)postgresql(dot)org>
Subject: Problems compiling on Solaris 5.7 (7)
Date: 2004-06-22 14:32:08
Message-ID: NGBBJHBHDKPNOODGDMMAEEGMCIAA.szis@intranet.gr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-ports by date

  From Date Subject
Next Message Henning Klein 2004-06-22 20:11:08 problems with installing postgres
Previous Message Roman Zippel 2004-06-13 23:06:49 Re: Build failure on m68k and ia64: inconsistent operand