This is a multi-part message in MIME format.
------_=_NextPart_001_01CA19D1.13A25DE8
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
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/backen d/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
__________________________________________________
------_=_NextPart_001_01CA19D1.13A25DE8
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version 6.5.7638.1">
<TITLE>Compile Error On AIX V 5.3</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=3D2 FACE=3D"Arial">Hi All,</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">I am trying to compile some C functions fo=
r 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</=
FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Arial">gcc -O2 -Wall -Wmissing-prototypes -Wpoint=
er-arith -Winline -Wendif-labels -fno-</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">strict-aliasing -I. -I/usr/local/pg=
sql8213/include/server -I/usr/local/pgsql821</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">3/include/internal -c -o isam=
_import.o isam_import.c &nbs=
p; &=
nbsp; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">isam_import.c: In function `isam_read_fil=
e_header':  =
; &n=
bsp; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">isam_import.c:314: warning: int format, s=
ize_t arg (arg 2) &nbs=
p; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">isam_import.c:329: warning: int format, s=
ize_t arg (arg 2) &nbs=
p; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">isam_import.c:329: warning: int format, s=
ize_t arg (arg 3) &nbs=
p; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">isam_import.c: In function `isam_overflow=
_error': &=
nbsp; &nbs=
p; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">isam_import.c:387: warning: int format, s=
ize_t arg (arg 3) &nbs=
p; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">/usr/local/pgsql8213/lib/pgxs/src/makefil=
es/../../src/backend/port/aix/mkldexpor</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">t.sh isam_import.o > isam_import.exp&n=
bsp;  =
; &n=
bsp;  =
; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">gcc -L/usr/local/pgsql8213/lib -Wl,=
-blibpath:/usr/local/pgsql8213/lib:/usr/lib:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">/lib -Wl,-bnoentry -Wl,-H512 -Wl,-bM:SRE =
-o isam_import.so isam_import.o -Wl,-bE</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">:isam_import.exp -Wl,-bI:/usr/local/pgsql=
8213/bin/postgres/postgres.imp &nb=
sp; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">ld: 0706-003 Cannot find or read import f=
ile: /usr/local/pgsql8213/bin/postgres/</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">postgres.imp  =
; &n=
bsp;  =
; &n=
bsp;  =
; <=
/FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">  =
; ld:accessx(): A parameter must be a directory. &nb=
sp; =
</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">collect2: ld returned 255 exit status&nbs=
p; &=
nbsp; &nbs=
p; &=
nbsp; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">gmake: *** [isam_import.so] Error 1 =
&nb=
sp; =
&nb=
sp; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rm isam_import.o isam_import.exp &nb=
sp; </FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Any chance some one might be able to point=
me in the right direction as to where I am going wrong</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks in advance for all your help</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Francis</FONT>
</P>
</BODY>
___________________________________________________
This email is intended for the named recipient. The information conta=
ined
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
__________________________________________________
</HTML>
------_=_NextPart_001_01CA19D1.13A25DE8--
