>From: walt <[EMAIL PROTECTED]>
>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                              [EMAIL PROTECTED]
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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to