Subject: Re: build.sh tools stops at # compile compat/pw_scan.lo
To: Konrad Schroder <perseant@hhhh.org>
From: James Chacon <jmc@NetBSD.org>
List: current-users
Date: 06/17/2004 16:14:44
On Thu, Jun 17, 2004 at 11:44:19AM -0700, Konrad Schroder wrote:
> On Wed, 16 Jun 2004, Ryan Moe wrote:
> 
> > > /usr/src/tools/compat/../../lib/libc/gen/pw_scan.c
> > > /usr/src/tools/compat/../../lib/libc/gen/pw_scan.c: In function
> > > `__nbcompat_pw_scan':
> > > /usr/src/tools/compat/../../lib/libc/gen/pw_scan.c:96:
> > > `_PASSWORD_NOWARN' undeclared (first use in this function)
> 
> The problem seems to be some "#undef _NETBSD_SOURCE" lines that recently
> appeared in tools/compat/compat_defs.h .  Try backing out version 1.36 of
> that file (1.32.2.1 in my case since I was trying to compile 2.0_BETA):
> 
> 	cask# cd /usr/src-current/tools/compat
> 	cask# cvs update -j1.36 -j1.35 compat_defs.h
> 
> You may have to delete the <<<<<< ====== >>>>>> crud from the top of the
> file afterward; the "conflict" is in the version line comment.
> (Alternatively you could just comment out the #undef lines by hand.)

Or wait a day or so as some patches I'm compiling up get tested which will
remove the need to have _NETBSD_SOURCE defined in there at all.

James