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