Re: postgresql-8.4.1 compile error (with Sun Studio 11)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Maciej (Matchek) Blizinski" <maciej(at)opencsw(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: postgresql-8.4.1 compile error (with Sun Studio 11)
Date: 2009-11-17 14:25:24
Message-ID: 27692.1258467924@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Maciej (Matchek) Blizinski" <maciej(at)opencsw(dot)org> writes:
> "/opt/csw/postgresql/include/ecpg_config.h", line 9: warning: macro
> redefined: HAVE_LONG_LONG_INT_64
> "prepare.c", line 116: identifier redeclared: ECPGprepare
> current : function(int, pointer to const char, const char,
> pointer to const char, pointer to const char) returning char
> previous: function(int, pointer to const char, const int,
> pointer to const char, pointer to const char) returning char :
> "/opt/csw/postgresql/include/ecpglib.h", line 49

What it looks like from here is that you have old/incompatible versions
of the postgresql header files in /opt/csw/postgresql/include. Get rid
of the ill-considered -I pointing at those, and maybe it will be better.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message utsav 2009-11-17 14:41:52 Data Directory size increasing abnormally
Previous Message Geoffrey 2009-11-17 13:39:33 WAL file question