Hi Peter,

I got the output from the cc verbose (-#).
Looks like there is a "-hread" towards the end.

Thanks.

Gan

/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.
### Note: NLSPATH = /opt/SUNWspro6.2/SUNWspro/bin/../WS6U2/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/opt/SUNWspro6.2/SUNWspro/bin/../WS6U2/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat
### command line files and options (expanded):
### -p -Xa -G 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 -t -R/platdb/lib -o libecpg.so.4.0
### Note: LD_LIBRARY_PATH = <null>
### Note: LD_RUN_PATH = <null>
/usr/ccs/bin/ld /opt/SUNWspro6.2/SUNWspro/WS6U2/lib/crti.o /opt/SUNWspro6.2/SUNWspro/WS6U2/lib/values-xa.o -o libecpg.so.4.0 -G 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 -t -R/platdb/lib -hread -Y "P,/opt/SUNWspro6.2/SUNWspro/WS6U2/lib/libp:/usr/ccs/lib/libp:/usr/lib/libp:/opt/SUNWspro6.2/SUNWspro/WS6U2/lib:/usr/ccs/lib:/usr/lib" -Qy /opt/SUNWspro6.2/SUNWspro/WS6U2/lib/crtn.o
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




At 8:32 pm +0100 2003/11/24, Peter Eisentraut wrote:
Seum-Lim Gan writes:

 >make[4]: Entering directory
 >`/n/DBMS/edbteam/src/sol8/sparc64/postgresql-7.4/src/interfaces/ecpg/ecpglib'
 >/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

Could you try to set your compiler into some kind of verbose mode, where it prints out the commands it executes internally? I suspect that the addition of the -pthread option results in side effects that interfere with the -h option.

--
Peter Eisentraut   [EMAIL PROTECTED]


--
+--------------------------------------------------------+
| Seum-Lim GAN                 email : [EMAIL PROTECTED]  |
| Lucent Technologies                                    |
| 2000 N. Naperville Road, 6B-403F  tel : (630)-713-6665 |
| Naperville, IL 60566, USA.        fax : (630)-713-7272 |
|       web : http://inuweb.ih.lucent.com/~slgan         |
+--------------------------------------------------------+

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Reply via email to