[Pljava-dev] Errors building SO

From: alberto at unex(dot)es (Alberto Cabello Sánchez )
To:
Subject: [Pljava-dev] Errors building SO
Date: 2014-01-12 20:40:14
Message-ID: 20140112214014.48485157142fba19b3942482@unex.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

I just ran the command (assuming that it is irrelevant that you are on
a 64-bit system and I am on a 32-bit one) adjusting to my paths:

gcc -Wall -Wno-long-long -Wpointer-arith -Wconversion -fPIC -c -fPIC \
'-DPKGLIBDIR="target/lib/"' -DPGSQL_MAJOR_VER=9 -DPGSQL_MINOR_VER=2 \
-DPGSQL_PATCH_VER=6 -DLinux -DGNU_GCC \
-I/home/alberto/src/pljava/pljava-so/target/nar/javah-include \
-I/opt/jdk6/include \
-I/opt/jdk6/include/linux -I/home/alberto/local/include \
-I/home/alberto/local/include/postgresql/server \
-I/home/alberto/src/pljava/pljava-so/src/main/include \
-I/home/alberto/src/pljava/pljava-so/target/nar/javah-include \
/home/alberto/src/pljava/pljava-so/src/main/c/type/Any.c \
/home/alberto/src/pljava/pljava-so/src/main/c/Backend.c \
/home/alberto/src/pljava/pljava-so/src/main/c/type/Boolean.c \
/home/alberto/src/pljava/pljava-so/src/main/c/type/Coerce.c \
/home/alberto/src/pljava/pljava-so/src/main/c/type/Date.c \
/home/alberto/src/pljava/pljava-so/src/main/c/type/ErrorData.c \
/home/alberto/src/pljava/pljava-so/src/main/c/ExecutionPlan.c \
/home/alberto/src/pljava/pljava-so/src/main/c/Function.c \
/home/alberto/src/pljava/pljava-so/src/main/c/type/HeapTupleHeader.c \
/home/alberto/src/pljava/pljava-so/src/main/c/Invocation.c \
/home/alberto/src/pljava/pljava-so/src/main/c/JNICalls.c \
/home/alberto/src/pljava/pljava-so/src/main/c/type/LargeObject.c \
/home/alberto/src/pljava/pljava-so/src/main/c/type/Oid.c \
/home/alberto/src/pljava/pljava-so/src/main/c/PgSavepoint.c \
/home/alberto/src/pljava/pljava-so/src/main/c/type/Relation.c \
/home/alberto/src/pljava/pljava-so/src/main/c/SQLInputFromChunk.c \
/home/alberto/src/pljava/pljava-so/src/main/c/SQLOutputToChunk.c \
/home/alberto/src/pljava/pljava-so/src/main/c/Session.c \
/home/alberto/src/pljava/pljava-so/src/main/c/type/String.c \
/home/alberto/src/pljava/pljava-so/src/main/c/type/Time.c \
/home/alberto/src/pljava/pljava-so/src/main/c/type/TriggerData.c \
/home/alberto/src/pljava/pljava-so/src/main/c/type/TupleDesc.c \
/home/alberto/src/pljava/pljava-so/src/main/c/type/Type.c \
/home/alberto/src/pljava/pljava-so/src/main/c/type/Void.c \
/home/alberto/src/pljava/pljava-so/src/main/c/backports.c

It gives lots of "Warning:", but no error. I wonder if you can post the
output of (or the equivalent command on your system):

find /usr/include/ -name "postgres*.h"

So we could check postgres.h and postgres_fe.h are on the right place.

--
Alberto Cabello S?nchez <alberto at unex.es>

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Hal Hildebrand 2014-01-12 22:49:36 [Pljava-dev] Errors building SO
Previous Message Hal Hildebrand 2014-01-12 19:32:03 [Pljava-dev] Errors building SO