agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Compilation error
Date: Mon, 19 Nov 2007 17:37:17 +0000
Message-ID: <BAY133-W94D1375332FA33B2D2101CC7E0@phx.gbl> (raw)


Hi,

I am trying to compile pljava on SUSE 10.3 64-bit, with PostgreSQL 8.2.5 and I get the following error:

gcc -c -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fpic  -I. -I/usr/local/pgsql/include/server -I/usr/local/pgsql/include/internal -D_GNU_SOURCE  -DPKGLIBDIR=\"/usr/local/pgsql/lib\" -I/home/dar17/downloads/pljava-1.3.0/src/C/include -I/home/dar17/downloads/pljava-1.3.0/build/jni -DPGSQL_MAJOR_VER=8 -DPGSQL_MINOR_VER=2 -DPGSQL_PATCH_VER=5 -I"/usr/java/jdk1.5.0_02/include" -I"/usr/java/jdk1.5.0_02/include/linux" /home/dar17/downloads/pljava-1.3.0/src/C/pljava/XactListener.c -o XactListener.o
/home/dar17/downloads/pljava-1.3.0/src/C/pljava/XactListener.c:24: error: expected ?)? before ?event?
/home/dar17/downloads/pljava-1.3.0/src/C/pljava/XactListener.c: In function ?Java_org_postgresql_pljava_internal_XactListener__1register?:
/home/dar17/downloads/pljava-1.3.0/src/C/pljava/XactListener.c:84: warning: implicit declaration of function ?RegisterXactCallback?
/home/dar17/downloads/pljava-1.3.0/src/C/pljava/XactListener.c:84: error: ?xactCB? undeclared (first use in this function)
/home/dar17/downloads/pljava-1.3.0/src/C/pljava/XactListener.c:84: error: (Each undeclared identifier is reported only once
/home/dar17/downloads/pljava-1.3.0/src/C/pljava/XactListener.c:84: error: for each function it appears in.)
/home/dar17/downloads/pljava-1.3.0/src/C/pljava/XactListener.c: In function ?Java_org_postgresql_pljava_internal_XactListener__1unregister?:
/home/dar17/downloads/pljava-1.3.0/src/C/pljava/XactListener.c:107: warning: implicit declaration of function ?UnregisterXactCallback?
/home/dar17/downloads/pljava-1.3.0/src/C/pljava/XactListener.c:107: error: ?xactCB? undeclared (first use in this function)
make[1]: *** [XactListener.o] Error 1
make[1]: Leaving directory `/home/dar17/downloads/pljava-1.3.0/build/objs'
make: *** [c_all] Error 2

Does anyone have any ideas what is wrong?

Thanks,

Dean.

_________________________________________________________________
Celeb spotting ? Play CelebMashup and win cool prizes
https://www.celebmashup.com



view thread (2+ messages)  latest in thread

Message-ID: <BAY133-W94D1375332FA33B2D2101CC7E0@phx.gbl>
Permalink:  ../BAY133-W94D1375332FA33B2D2101CC7E0@phx.gbl/
Also on:    postgresql.org/message-id/BAY133-W94D1375332FA33B2D2101CC7E0@phx.gbl

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 using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] Compilation error
  In-Reply-To: <BAY133-W94D1375332FA33B2D2101CC7E0@phx.gbl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox