[Pljava-dev] Errors building SO

From: hal(dot)hildebrand at me(dot)com (Hal Hildebrand)
To:
Subject: [Pljava-dev] Errors building SO
Date: 2014-01-12 01:37:10
Message-ID: FA8B0936-5E0F-44C6-8414-20EAEA5C02F1@me.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

Here?s the link to the output run with -X, which seems to have all the relevant information.

https://www.dropbox.com/s/imqafhfb9lflbkr/out.txt

-Hal

On Jan 10, 2014, at 12:57 PM, Hal Hildebrand <hal.hildebrand at me.com> wrote:

> I'll rerun with -X and see what I can reveal.
>
>> On Jan 10, 2014, at 12:33 PM, Alberto Cabello S?nchez <alberto at unex.es> wrote:
>>
>> That's very strange indeed:
>>
>>> [INFO] Compiling 51 native files
>>> [ERROR] In file included from /usr/include/postgresql/9.2/server/access/tupdesc.h:18:0,
>>> [ERROR] from /usr/include/postgresql/9.2/server/access/htup.h:17,
>>> [ERROR] from /usr/include/postgresql/9.2/server/utils/snapshot.h:16,
>>> [ERROR] from /usr/include/postgresql/9.2/server/utils/acl.h:29,
>>> [ERROR] from /home/pljava/git/pljava/pljava-so/src/main/c/type/AclId.c:11:
>>> [ERROR] /usr/include/postgresql/9.2/server/catalog/pg_attribute.h:57:2: error: unknown type name ?int4?
>>> [ERROR] /usr/include/postgresql/9.2/server/catalog/pg_attribute.h:63:2: error: unknown type name ?int2?
>>
>> This shouldn't happen. On my system, I just saw AclId.c contains
>>
>> #include <postgres.h>
>>
>> which, in turns, has
>>
>> #include "c.h"
>>
>> And actually, I can read in the c.h file:
>>
>> " c.h
>> Fundamental C definitions. This is included by every .c file in
>> PostgreSQL (via either postgres.h or postgres_fe.h, as appropriate)."
>>
>> Everything seems OK to me. Is a way we could see the exact compiler
>> command being executed?
>>
>> --
>> Alberto Cabello S?nchez
>> <alberto at unex.es>
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at lists.pgfoundry.org
> http://lists.pgfoundry.org/mailman/listinfo/pljava-dev

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Alberto Cabello Sánchez 2014-01-12 13:31:12 [Pljava-dev] Errors building SO
Previous Message Hal Hildebrand 2014-01-10 20:57:37 [Pljava-dev] Errors building SO