Re: [HACKERS] [GENERAL] aix build question re: duplicate symbol warning

2005-10-30 Thread Kevin Murphy
Andrew Dunstan wrote: Kevin Murphy wrote: Would you try the attached patch and see if it gets rid of the warnings? Also check that regression tests and contrib build/regression tests still work. Tom, That patch worked, as far as eliminating those duplicate symbol warnings. I have some

Re: [HACKERS] [GENERAL] aix build question re: duplicate symbol warning

2005-10-28 Thread Kevin Murphy
Tom Lane wrote: I wrote: Hmm. pqStrerror is defined in libpgport (which is linked into the backend) as well as libpq. ISTM that libpq should not be linked with -Wl,-bI:../../../src/backend/postgres.imp, since it's not intended to be loaded into the backend. Without having looked at the

Re: [HACKERS] [GENERAL] aix build question re: duplicate symbol warning

2005-10-28 Thread Andrew Dunstan
Kevin Murphy wrote: It seems that the right place to put this is BE_DLLLIBS, which is a macro that probably didn't exist when the AIX support was last looked at. But both Windows and Darwin ports use it now, so we may as well bring AIX up to speed. Would you try the attached patch and see

Re: [HACKERS] [GENERAL] aix build question re: duplicate symbol warning

2005-10-28 Thread Zeugswetter Andreas DAZ SD
Hmm. pqStrerror is defined in libpgport (which is linked into the backend) as well as libpq. ISTM that libpq should not be linked with -Wl,-bI:../../../src/backend/postgres.imp, since it's not intended to be loaded into the backend. Without having looked at the code, I'm

Re: [HACKERS] [GENERAL] aix build question re: duplicate symbol warning

2005-10-28 Thread Tom Lane
Zeugswetter Andreas DAZ SD [EMAIL PROTECTED] writes: Thank you for the work, please apply. Done. Thanks for testing it. regards, tom lane ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your

Re: [HACKERS] [GENERAL] aix build question re: duplicate symbol warning

2005-10-27 Thread Tom Lane
Kevin Murphy [EMAIL PROTECTED] writes: I'm trying to build PG 8.1 beta on an AIX server. The 'make' finishes without errors, but I'm getting lots of duplicate symbol warnings like the following one. What am I to make of these? gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline

Re: [HACKERS] [GENERAL] aix build question re: duplicate symbol warning

2005-10-27 Thread Tom Lane
I wrote: Hmm. pqStrerror is defined in libpgport (which is linked into the backend) as well as libpq. ISTM that libpq should not be linked with -Wl,-bI:../../../src/backend/postgres.imp, since it's not intended to be loaded into the backend. Without having looked at the code, I'm wondering