build problems

Corinna Vinschen
Sat May 10 18:57:00 GMT 2008

On May 10 14:42, Christopher Faylor wrote:
> On Sat, May 10, 2008 at 10:19:22AM -0600, Eric Blake wrote:
> > I'm getting failures trying to build from CVS, after this patch:
> >
> >
> > /cygwin/config/i386 -I/usr/lib/gcc/i686-pc-cygwin/3.4.4/include -o 
> > ./_def_time.o ../../../../winsup/cygwin/libc/_def_time.c
> > ../../../../winsup/cygwin/libc/_def_time.c:13:27: sys/localedef.h: No such 
> > file or directory
> > ../../../../winsup/cygwin/libc/_def_time.c:16: error: parse error before 
> > "_DefaultTimeLocale"
> It seems to build ok if you install the NetBSD version of this file from
> here:
> ''
> into include/sys.  However, I'll leave it to Corinna to check this file
> in, assuming it is appropriate to do so.

Unfortunately it's not ok.  I added it to the repository two days ago
and removed some minutes later, when I found that the localedef.h file
is licensed under the 4-clause BSD license.  However, the only reason
to use NetBSD's strptime.c instead of the FreeBSD version was to replace
a 4-clause BSD file with a non-4-clause BSD file.  I've just checked in
a fix which just moves everything into  Unfortunately there's
no 3- or 2-clause localedef.h available :(


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

More information about the Cygwin-developers mailing list