Subject: Re: build.sh tools stops at # compile compat/pw_scan.lo
To: Ryan Moe <ryan@say-10.net>
From: Konrad Schroder <perseant@hhhh.org>
List: current-users
Date: 06/17/2004 11:44:19
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.)

Hope this helps,
						Konrad Schroder
						perseant@hhhh.org