Re: postgresql-8.4.1 compile error (with Sun Studio 11) - Mailing list pgsql-general

From Tom Lane
Subject Re: postgresql-8.4.1 compile error (with Sun Studio 11)
Date
Msg-id 27692.1258467924@sss.pgh.pa.us
Whole thread Raw
In response to postgresql-8.4.1 compile error (with Sun Studio 11)  ("Maciej (Matchek) Blizinski" <maciej@opencsw.org>)
List pgsql-general
"Maciej (Matchek) Blizinski" <maciej@opencsw.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

pgsql-general by date:

Previous
From: Geoffrey
Date:
Subject: WAL file question
Next
From: Tom Lane
Date:
Subject: Re: WAL file question