Re: [HACKERS] Compiling tsearch2 on AIX

2005-06-21 Thread Tom Lane
Mag Gam <[EMAIL PROTECTED]> writes: > I had to modify this line in the tsearch2 Makefile > from > SHLIB_LINK := -lm > to > SHLIB_LINK := -lm -lpgport Hmm, that's annoying. I was about to commit this change but it actively fails on my machine: /usr/ccs/bin/ld: DP relative code in file ../../src

Re: [HACKERS] Compiling tsearch2 on AIX

2005-06-21 Thread Mag Gam
Tom: Got it working! I had to modify this line in the tsearch2 Makefile from SHLIB_LINK := -lm to SHLIB_LINK := -lm -lpgport it works like a charm! thanks for your help! On 5/18/05, Mag Gam <[EMAIL PROTECTED]> wrote: > Thanks for the reply Tom! > > I managed to get the cvs version and I m

Re: [HACKERS] Compiling tsearch2 on AIX

2005-05-18 Thread Mag Gam
Thanks for the reply Tom! I managed to get the cvs version and I made more progress compiling tsearch2 Here is where it errors out. touch libtsearch2.a ../../src/backend/port/aix/mkldexport.sh libtsearch2.a > libtsearch2.exp gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fn

Re: [HACKERS] Compiling tsearch2 on AIX

2005-05-17 Thread Tom Lane
Mag Gam <[EMAIL PROTECTED]> writes: > I am trying to compile PostgreSQL 8.0.3/tsearch2 contrib module on AIX 5.2 ML > 3 > /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/include/stdio.h:484: > error: conflicting types for `fgetpos64' > /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2