pg.ddx.io  pljava-dev@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Errors building SO
Date: Fri, 10 Jan 2014 12:57:37 -0800
Message-ID: <398EF45C-1741-41DB-8B02-DCD629A38A10@me.com> (raw)
In-Reply-To: <20140110213324.f641c8d1c0ed60ccbd015f5f@unex.es>
References: <53D88E97-0A59-44A5-A477-208F800176C8@me.com>
	<49D2416F-1812-4858-9934-0131C8139169@me.com>
	<20140110213324.f641c8d1c0ed60ccbd015f5f@unex.es>

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>



view thread (27+ messages)  latest in thread

Message-ID: <398EF45C-1741-41DB-8B02-DCD629A38A10@me.com>
Permalink:  ../398EF45C-1741-41DB-8B02-DCD629A38A10@me.com/
Also on:    postgresql.org/message-id/398EF45C-1741-41DB-8B02-DCD629A38A10@me.com

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] Errors building SO
  In-Reply-To: <398EF45C-1741-41DB-8B02-DCD629A38A10@me.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