Compile Error On AIX V 5.3

From: "Thorne, Francis" <thornef(at)cromwell(dot)co(dot)uk>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: Compile Error On AIX V 5.3
Date: 2009-08-10 15:38:57
Message-ID: 81976671721DF04B9DCA6ECD87941A4004BA47E7@roundway.Cromwell-tools.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi All,

I am trying to compile some C functions for use within postgres 8.2, I
have been using these functions for many years on Red Hat Linux machines
with out an issue, however when I try to compile the function on the AIX
with the gmake command I get the following error

gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wendif-labels -fno-
strict-aliasing -I. -I/usr/local/pgsql8213/include/server
-I/usr/local/pgsql821
3/include/internal -c -o isam_import.o isam_import.c

isam_import.c: In function `isam_read_file_header':

isam_import.c:314: warning: int format, size_t arg (arg 2)

isam_import.c:329: warning: int format, size_t arg (arg 2)

isam_import.c:329: warning: int format, size_t arg (arg 3)

isam_import.c: In function `isam_overflow_error':

isam_import.c:387: warning: int format, size_t arg (arg 3)

/usr/local/pgsql8213/lib/pgxs/src/makefiles/../../src/backend/port/aix/m
kldexpor
t.sh isam_import.o > isam_import.exp

gcc -L/usr/local/pgsql8213/lib
-Wl,-blibpath:/usr/local/pgsql8213/lib:/usr/lib:
/lib -Wl,-bnoentry -Wl,-H512 -Wl,-bM:SRE -o isam_import.so isam_import.o
-Wl,-bE
:isam_import.exp -Wl,-bI:/usr/local/pgsql8213/bin/postgres/postgres.imp

ld: 0706-003 Cannot find or read import file:
/usr/local/pgsql8213/bin/postgres/
postgres.imp

ld:accessx(): A parameter must be a directory.

collect2: ld returned 255 exit status

gmake: *** [isam_import.so] Error 1

rm isam_import.o isam_import.exp

Any chance some one might be able to point me in the right direction as
to where I am going wrong

Thanks in advance for all your help

Francis

___________________________________________________

This email is intended for the named recipient. The information contained
in it is confidential. You should not copy it for any purposes, nor
disclose its contents to any other party. If you received this email
in error, please notify the sender immediately via email, and delete it from
your computer.

Any views or opinions presented are solely those of the author and do not
necessarily represent those of the company.

Cromwell Tools Limited, PO Box 14, 65 Chartwell Drive
Wigston, Leicester LE18 1AT. Tel 0116 2888000
Registered in England and Wales, Reg No 00986161
VAT GB 115 5713 87 900
__________________________________________________

Browse pgsql-admin by date

  From Date Subject
Next Message Benjamin Krajmalnik 2009-08-11 05:42:32 Max connections
Previous Message Bruce Momjian 2009-08-09 18:44:35 Re: pgsnmpd