X-Original-To: pgsql-ports-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id A39679FB364 for ; Thu, 31 Aug 2006 01:04:32 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 08574-03 for ; Thu, 31 Aug 2006 01:04:27 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.236]) by postgresql.org (Postfix) with ESMTP id 2D6C19FB362 for ; Thu, 31 Aug 2006 01:04:26 -0300 (ADT) Received: by wx-out-0506.google.com with SMTP id t13so479536wxc for ; Wed, 30 Aug 2006 21:04:26 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Gcx21A7/foyaaL0dqnfCKVc7J46fGDXaCzHbFMrYObezWlz05Orbq0VzqNad3Swzipvi2G+xUO7XnFkBu96T1wbT1CFutjI276uYEBnktPP0Gp8LINTXuc/vZaCQfMy2GdPwN50ncfJgX2Ngbw7tfqZxd7gbO1M857+zFC9sQqw= Received: by 10.70.47.19 with SMTP id u19mr669198wxu; Wed, 30 Aug 2006 21:04:26 -0700 (PDT) Received: by 10.70.10.8 with HTTP; Wed, 30 Aug 2006 21:04:26 -0700 (PDT) Message-ID: <45435c1a0608302104u88c41dat6bf5da0ed84b4f61@mail.gmail.com> Date: Thu, 31 Aug 2006 14:04:26 +1000 From: "Keith Hutchison" To: pgsql-ports@postgresql.org Subject: Re: Compiling problem postgresql-8.1.4 with Mingw-5.0.2 and Msys-1.0.11 In-Reply-To: <45435c1a0608302011u3319e9ffp69c4190427fa21ca@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45435c1a0608302011u3319e9ffp69c4190427fa21ca@mail.gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.199 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, SPF_PASS X-Spam-Level: X-Archive-Number: 200608/10 X-Sequence-Number: 2472 Was able to compile Postgresql-8.1.3 with msys and mingw. On 8/31/06, Keith Hutchison 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