From: | "Rajan Bhide" <rbhide(at)nulinkinc(dot)com> |
---|---|
To: | <pgsql-novice(at)postgresql(dot)org> |
Cc: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Subject: | Compilation issue with --enable-thread-safety |
Date: | 2004-02-23 12:46:54 |
Message-ID: | FF851C7EEB75954F9BCFB5CA117AB1EC674227@delta.nulinkinc.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
Hello Frds,
I am getting following error while compiling Postgres7.4 or Postgres7.4.1 with option --enable-thread-safety
Details
/configure --prefix=/usr/local/pgsql74 --enable-thread-safety cc=/export/home/uxapps/workshop/SUNWspro/bin/cc CFLAGS='-mt' --without-readline
Platform Info:
uname -m = sun4u
uname -r = 5.8
uname -s = SunOS
uname -v = Generic_108528-09
I am using gmake
GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
Built for sparc-sun-solaris2.6
cc -Xa -G -h libecpg.so.4 execute.o typename.o descriptor.o data.o error.o prepa
re.o memory.o connect.o misc.o -L../../../../src/port -L../pgtypeslib -lpgtypes
-L../../../../src/interfaces/libpq -lpq -lm -pthread -R/usr/local/pgsql74/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
gmake[4]: *** [libecpg.so.4.0] Error 1
gmake[4]: Leaving directory `/home/rbhide/utilities/postgres-7.4/src/interfaces/
ecpg/ecpglib'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/home/rbhide/utilities/postgres-7.4/src/interfaces/
ecpg'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/rbhide/utilities/postgres-7.4/src/interfaces'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/rbhide/utilities/postgres-7.4/src'
gmake: *** [all] Error 2
If I remove --enable-thread-safety I am able to compile my code properly.
Is this a BUG or I am missing somethg.
Plz do comment.
Thanks,
Rajan Bhide
From | Date | Subject | |
---|---|---|---|
Next Message | Bulatovic Natasa | 2004-02-23 12:58:45 | PlPerl + sending emails from Postgres |
Previous Message | Tom Lane | 2004-02-22 22:44:54 | Re: pg_hba.conf problem |