Skip site navigation (1) Skip section navigation (2)

pljava and postgresql 8.4.4 compile errors

From: "Craig Wilson" <craig(dot)wilson(at)hssnet(dot)com>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: pljava and postgresql 8.4.4 compile errors
Date: 2010-06-16 14:15:58
Message-ID: 004b01cb0d5e$714c64f0$53e52ed0$@wilson@hssnet.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
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

Responses

pgsql-jdbc by date

Next:From: Scott LangleyDate: 2010-06-16 18:07:12
Subject: Java .pgpass reader
Previous:From: Idan MillerDate: 2010-06-16 09:31:45
Subject: Connecting to postgresql using SSPI via JDBC

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group