pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Craig Wilson <craig.wilson@hssnet.com>
To: pgsql-jdbc@postgresql.org
Subject: pljava and postgresql 8.4.4 compile errors
Date: Wed, 16 Jun 2010 15:15:58 +0100
Message-ID: <004b01cb0d5e$714c64f0$53e52ed0$@wilson@hssnet.com> (raw )
Hi,
I've got 64 bit PostgreSQL 8.4.4 installed and running on redhat5 and am
trying to get 1.4 pljava to compile.
I'm getting the following error:
make[1]: Entering directory `/opt/PostgreSQL/pg_java/build/classes/pljava'
javac -source 1.4 -target 1.4 -d . <java sources>
jar cf /opt/PostgreSQL/pg_java/build/pljava.jar .
javah -classpath . -d /opt/PostgreSQL/pg_java/build/jni <jni classes>
make[1]: Leaving directory `/opt/PostgreSQL/pg_java/build/classes/pljava'
make[1]: Entering directory `/opt/PostgreSQL/pg_java/build/classes/deploy'
javac -source 1.4 -target 1.4 -d . <java sources>
jar cmf /opt/PostgreSQL/pg_java/src/java/deploy/META-INF/manifest.txt
/opt/PostgreSQL/pg_java/build/deploy.jar .
make[1]: Leaving directory `/opt/PostgreSQL/pg_java/build/classes/deploy'
make[1]: Entering directory `/opt/PostgreSQL/pg_java/build/objs'
/opt/PostgreSQL/pg_java/src/C/pljava/Makefile:163: warning: overriding
commands for target `pljava.so'
/opt/PostgreSQL/8.4/lib/postgresql/pgxs/src/makefiles/../../src/Makefile.shl
ib:365: warning: ignoring old commands for target `pljava.so'
gcc -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
-fpic -I. -I/opt/PostgreSQL/8.4/include/postgresql/server
-I/opt/PostgreSQL/8.4/include/postgresql/internal -D_GNU_SOURCE
-I/usr/local//include/libxml2
-DPKGLIBDIR=\"/opt/PostgreSQL/8.4/lib/postgresql\"
-I/opt/PostgreSQL/pg_java/src/C/include -I/opt/PostgreSQL/pg_java/build/jni
-DPGSQL_MAJOR_VER=8 -DPGSQL_MINOR_VER=4 -DPGSQL_PATCH_VER=4
-I"/usr/java/default/include" -I"/usr/java/default/include/linux"
/opt/PostgreSQL/pg_java/src/C/pljava/SubXactListener.c -o SubXactListener.o
/opt/PostgreSQL/pg_java/src/C/pljava/SubXactListener.c:19: error: expected
')' before 'event'
/opt/PostgreSQL/pg_java/src/C/pljava/SubXactListener.c: In function
'Java_org_postgresql_pljava_internal_SubXactListener__1register':
/opt/PostgreSQL/pg_java/src/C/pljava/SubXactListener.c:80: warning: implicit
declaration of function 'RegisterSubXactCallback'
/opt/PostgreSQL/pg_java/src/C/pljava/SubXactListener.c:80: error:
'subXactCB' undeclared (first use in this function)
/opt/PostgreSQL/pg_java/src/C/pljava/SubXactListener.c:80: error: (Each
undeclared identifier is reported only once
/opt/PostgreSQL/pg_java/src/C/pljava/SubXactListener.c:80: error: for each
function it appears in.)
/opt/PostgreSQL/pg_java/src/C/pljava/SubXactListener.c: In function
'Java_org_postgresql_pljava_internal_SubXactListener__1unregister':
/opt/PostgreSQL/pg_java/src/C/pljava/SubXactListener.c:103: warning:
implicit declaration of function 'UnregisterSubXactCallback'
/opt/PostgreSQL/pg_java/src/C/pljava/SubXactListener.c:103: error:
'subXactCB' undeclared (first use in this function)
make[1]: *** [SubXactListener.o] Error 1
make[1]: Leaving directory `/opt/PostgreSQL/pg_java/build/objs'
make: *** [c_all] Error 2
Any ideas?
Thanks
Craig
view thread (2+ messages) latest in thread
Message-ID: <004b01cb0d5e$714c64f0$53e52ed0$@wilson@hssnet.com>
Permalink: ../004b01cb0d5e$714c64f0$53e52ed0$@wilson@hssnet.com/
Also on: postgresql.org/message-id/004b01cb0d5e$714c64f0$53e52ed0$@wilson@hssnet.com
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: craig.wilson@hssnet.com
Subject: Re: pljava and postgresql 8.4.4 compile errors
In-Reply-To: <004b01cb0d5e$714c64f0$53e52ed0$@wilson@hssnet.com>
References: <004b01cb0d5e$714c64f0$53e52ed0$@wilson@hssnet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox