pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Keith Hutchison <keith.kjtl.hutchison@gmail.com>
To: pgsql-ports@postgresql.org
Subject: Re: Compiling problem postgresql-8.1.4 with Mingw-5.0.2 and Msys-1.0.11
Date: Thu, 31 Aug 2006 14:04:26 +1000
Message-ID: <45435c1a0608302104u88c41dat6bf5da0ed84b4f61@mail.gmail.com> (raw)
In-Reply-To: <45435c1a0608302011u3319e9ffp69c4190427fa21ca@mail.gmail.com>
References: <45435c1a0608302011u3319e9ffp69c4190427fa21ca@mail.gmail.com>

Was able to compile Postgresql-8.1.3 with msys and mingw.

On 8/31/06, Keith Hutchison <keith.kjtl.hutchison@gmail.com> wrote:
> G'day
>
> I'm having problems with the compliing complaining about conflicting
> types for strerror.c.
> Any pointers on how to resolve it?
>
> Extract of compile.
>
> make[2]: Entering directory `/c/usr/src/postgresql-8.1.4/src/port'
> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
> -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
> -I../../src/port -DFRONTEND -I../../src/include
> -I./src/include/port/win32 -DEXEC_BACKEND
> "-I../../src/include/port/win32"  -c -o strerror.o strerror.c
> strerror.c:15: error: conflicting types for '_sys_errlist'
> c:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/stdlib.h:197:
> error: previous declaration of '_sys_errlist' was here
>
> [snipped]
>
> Thanks in advance
>
> --
> Keith Hutchison
> http://balance-infosystems.com http://realopen.org
>


-- 
Keith Hutchison
http://balance-infosystems.com http://realopen.org
http://www.kasamba.com/Keith-Hutchison



view thread (2+ messages)

Message-ID: <45435c1a0608302104u88c41dat6bf5da0ed84b4f61@mail.gmail.com>
Permalink:  ../45435c1a0608302104u88c41dat6bf5da0ed84b4f61@mail.gmail.com/
Also on:    postgresql.org/message-id/45435c1a0608302104u88c41dat6bf5da0ed84b4f61@mail.gmail.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-ports@postgresql.org
  Cc: keith.kjtl.hutchison@gmail.com
  Subject: Re: Compiling problem postgresql-8.1.4 with Mingw-5.0.2 and Msys-1.0.11
  In-Reply-To: <45435c1a0608302104u88c41dat6bf5da0ed84b4f61@mail.gmail.com>
  References: <45435c1a0608302011u3319e9ffp69c4190427fa21ca@mail.gmail.com> <45435c1a0608302104u88c41dat6bf5da0ed84b4f61@mail.gmail.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