From owner-freebsd-current Tue May 8 20:10:31 2001 Delivered-To: freebsd-current@freebsd.org Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by hub.freebsd.org (Postfix) with ESMTP id A272637B422 for ; Tue, 8 May 2001 20:10:28 -0700 (PDT) (envelope-from david@catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.10.0/8.10.0) id f493AED56308; Tue, 8 May 2001 20:10:14 -0700 (PDT) Date: Tue, 8 May 2001 20:10:14 -0700 (PDT) From: David Wolfskill Message-Id: <200105090310.f493AED56308@bunrab.catwhisker.org> To: freebsd-current@FreeBSD.ORG, wsheets@att.net Subject: Re: world broken at pstat In-Reply-To: <87heyv6xfm.fsf@att.net> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >From: walt >Date: 08 May 2001 19:58:05 -0700 >cvsup'd CURRENT 5-8-2001 around 1900 PST >make buildworld stopped here: >===> usr.sbin/pstat >cc -O -pipe -I/usr/src/usr.sbin/pstat/../../sys -I/usr/obj/usr/src/i386/usr/include -c /usr/src/usr.sbin/pstat/pstat.c >/usr/src/usr.sbin/pstat/pstat.c: In function `ufs_print': >/usr/src/usr.sbin/pstat/pstat.c:494: `IN_SHLOCK' undeclared (first use in this function) >/usr/src/usr.sbin/pstat/pstat.c:494: (Each undeclared identifier is reported only once >/usr/src/usr.sbin/pstat/pstat.c:494: for each function it appears in.) >/usr/src/usr.sbin/pstat/pstat.c:496: `IN_EXLOCK' undeclared (first use in this function) >*** Error code 1 >Stop in /usr/src/usr.sbin/pstat. >*** Error code 1 Right; appears to be a side-effect of the change to src/sys/ufs/ffs/inode.h in http://docs.freebsd.org/cgi/getmsg.cgi?fetch=254086+0+current/cvs-all, which removed the symbols in question. I commented out the affected part of usr.sbin/pstat.c, thus: Index: pstat.c =================================================================== RCS file: /cvs/freebsd/src/usr.sbin/pstat/pstat.c,v retrieving revision 1.54 diff -u -u -r1.54 pstat.c --- pstat.c 2001/04/29 02:45:39 1.54 +++ pstat.c 2001/05/08 23:15:24 @@ -491,10 +491,12 @@ *flags++ = 'M'; if (flag & IN_RENAME) *flags++ = 'R'; +/* if (flag & IN_SHLOCK) *flags++ = 'S'; if (flag & IN_EXLOCK) *flags++ = 'E'; +*/ if (flag & IN_HASHED) *flags++ = 'H'; if (flag & IN_LAZYMOD) and was able to complete the buildworld, kernel, install, mergemaster, & was able to boot the resulting system. (Still had some annoyances with ssh, but I think those have been well-reported already.) If that section of pstat.c is now obsolete, I'd expect it should be excised, vs. merely commented out -- and pstat.8 ought to be similarly altered. Cheers, david -- David H. Wolfskill david@catwhisker.org As a computing professional, I believe it would be unethical for me to advise, recommend, or support the use (save possibly for personal amusement) of any product that is or depends on any Microsoft product. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message