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 peter_e@gmx.net