X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Tue, 10 May 2011 12:07:13 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: difficulties with snapshots
Message-ID: <20110510100713.GP27739@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20110509160224.18345n4hkx2n8mpc@messagerie.si.c-s.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20110509160224.18345n4hkx2n8mpc@messagerie.si.c-s.fr>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On May  9 16:02, EXCOFFIER Denis wrote:
> Hello,
> 
> This one is a follow-up of http://cygwin.com/ml/cygwin/2011-05/msg00042.html
> 
> On 2011-05-05 11:19:56 -0400, Christopher Faylor wrote:
> >On Thu, May 05, 2011 at 10:47:39AM +0200, EXCOFFIER Denis wrote:
> >>2) More importantly, i was not able to compile snapshots since about
> >>beginning of May, with an error: wchar.h not found (in lsaauth).
> >>The snapshot 20110420 has compiled correctly at that time (say: 21/4);
> >>but i was not able to recompile it recently. You must know that
> >>i update the cygwin packages every day, therefore the problem probably
> >>comes from a recently added package.
> >
> >Snapshots are provided "as-is".  If you can't compile it then PTC.
> 
> 
> Please consider this hideous patch thoughtfully, it solves my "wchar.h not
> found" problem in lsaauth, and the full cygwin tree now compiles ok
> like before.
> 
> diff -cNr cygwin-snapshot-20110506-1/winsup/lsaauth/Makefile.in
> cygwin-snapshot-20110506-2/winsup/lsaauth/Makefile.in
> *** cygwin-snapshot-20110506-1/winsup/lsaauth/Makefile.in
> 2011-04-07 08:09:27.000000000 +0159
> --- cygwin-snapshot-20110506-2/winsup/lsaauth/Makefile.in
> 2011-05-09 15:44:13.476681300 +0159
> ***************
> *** 29,35 ****
>   CC              := @CC@
>   CC_FOR_TARGET   := $(CC)
> 
> ! override CC   := @NO_CYGWIN@ $(firstword ${CC})
> 
>   CFLAGS          := @CFLAGS@
> 
> --- 29,35 ----
>   CC              := @CC@
>   CC_FOR_TARGET   := $(CC)
> 
> ! #override CC  := @NO_CYGWIN@ $(firstword ${CC})
> 
>   CFLAGS          := @CFLAGS@

Thanks.  I applied this patch together with another patch which gets
rid of the #include <wchar.h> entirely.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

