Skip site navigation (1) Skip section navigation (2)

Re: Compiling problem postgresql-8.1.4 with Mingw-5.0.2 and Msys-1.0.11

From: "Keith Hutchison" <keith(dot)kjtl(dot)hutchison(at)gmail(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: Re: Compiling problem postgresql-8.1.4 with Mingw-5.0.2 and Msys-1.0.11
Date: 2006-08-31 04:04:26
Message-ID: 45435c1a0608302104u88c41dat6bf5da0ed84b4f61@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-ports
Was able to compile Postgresql-8.1.3 with msys and mingw.

On 8/31/06, Keith Hutchison <keith(dot)kjtl(dot)hutchison(at)gmail(dot)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

In response to

pgsql-ports by date

Next:From: Josh FremerDate: 2006-09-05 03:36:12
Subject: Postgres failed to compile on debian x86
Previous:From: Keith HutchisonDate: 2006-08-31 03:11:13
Subject: Compiling problem postgresql-8.1.4 with Mingw-5.0.2 and Msys-1.0.11

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group