Re: Solaris build of 7.4 problem

From: Joachim Gabler <joga(at)sun(dot)com>
To: Seum-Lim Gan <slgan(at)lucent(dot)com>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: Solaris build of 7.4 problem
Date: 2003-11-24 09:31:00
Message-ID: 3FC1CFD4.8060300@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Hi Gan,

do you have a chance to update your compiler?
I just tried to build PostgreSQL 7.4 on Solaris 8 x86 using the Sun ONE
Studio 8 compiler and it went through without problems.

Most probably it should also be possible to adjust the cc switches
somewhere in the makefiles or in the configure - maybe one of the
PostgreSQL developers can help?

Best regards,

Joachim

Seum-Lim Gan wrote:

> Hi,
>
> I did not get any respond to this build error.
> How should I proceed with this ?
> Is there anything in the makefile I need to change ?
>
> I did not get this build error when I way compiling the 7.4b4.
>
> Thanks.
>
> Gan
>
> At 11:45 am -0600 2003/11/20, Seum-Lim Gan wrote:
>
>> Hi,
>>
>> I tried to compile the new 7.4 in Solaris 2.9 Sparc
>> and Solaris 2.8 intel and got the same make error:
>>
>> Solaris 8 intel:
>> ================
>> /opt/SUNWspro6.2/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../pgtypeslib -lpgtypes
>> -L../../../../src/interfaces/libpq -lpq -lm -pthread -R/platdb/lib -o
>> libecpg.so.4.0
>> cc: Warning: multiple use of -h option, previous one discarded.
>> ld: fatal: recording name conflict: file
>> `../../../../src/interfaces/libpq/libpq.so' and -h option provide
>> identical dependency names: read
>> ld: fatal: File processing errors. No output written to libecpg.so.4.0
>> make[4]: *** [libecpg.so.4.0] Error 1
>> make[4]: Leaving directory
>> `/n/DBMS/edbteam/src/sol8/intel32/postgresql-7.4/src/interfaces/ecpg/ecpglib'
>>
>> make[3]: *** [all] Error 2
>> make[3]: Leaving directory
>> `/n/DBMS/edbteam/src/sol8/intel32/postgresql-7.4/src/interfaces/ecpg'
>> make[2]: *** [all] Error 2
>> make[2]: Leaving directory
>> `/n/DBMS/edbteam/src/sol8/intel32/postgresql-7.4/src/interfaces'
>> make[1]: *** [all] Error 2
>> make[1]: Leaving directory
>> `/n/DBMS/edbteam/src/sol8/intel32/postgresql-7.4/src'
>> make: *** [all] Error 2
>>
>>
>> Solaris 9 Sparc:
>> ================
>> /opt/SUNWspro6.2/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../pgtypeslib -lpgtypes
>> -L../../../../src/interfaces/libpq -lpq -lm -pthread -R/platdb/lib -o
>> libecpg.so.4.0
>> cc: Warning: multiple use of -h option, previous one discarded.
>> ld: fatal: recording name conflict: file
>> `../../../../src/interfaces/libpq/libpq.so' and -h option provide
>> identical dependency names: read
>> ld: fatal: File processing errors. No output written to libecpg.so.4.0
>> make[4]: *** [libecpg.so.4.0] Error 1
>> make[4]: Leaving directory
>> `/n/DBMS/edbteam/src/sol9/sparc64/postgresql-7.4/src/interfaces/ecpg/ecpglib'
>>
>> make[3]: *** [all] Error 2
>> make[3]: Leaving directory
>> `/n/DBMS/edbteam/src/sol9/sparc64/postgresql-7.4/src/interfaces/ecpg'
>> make[2]: *** [all] Error 2
>> make[2]: Leaving directory
>> `/n/DBMS/edbteam/src/sol9/sparc64/postgresql-7.4/src/interfaces'
>> make[1]: *** [all] Error 2
>> make[1]: Leaving directory
>> `/n/DBMS/edbteam/src/sol9/sparc64/postgresql-7.4/src'
>> make: *** [all] Error 2
>>
>>
>> Could you help ?
>>
>> Thanks.
>>
>> Gan
>
>

--
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Joachim Gabler Tel: +49 941 3075-233 (x60233)
Sun Microsystems GmbH Fax: +49 941 3075-222 (x60222)
Dr.-Leo-Ritter-Str. 7 mailto:joga(at)sun(dot)com
D-93049 Regensburg http://www.sun.de

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message root 2003-11-24 12:58:55
Previous Message Seum-Lim Gan 2003-11-21 20:44:24 Re: Solaris build of 7.4 problem