Subject: Re: pmap.c unused variable `wired' error in kernel bulid?
To: NetBSD Bob <nbsdbob@weedcon1.cropsci.ncsu.edu>
From: NetBSD Bob <nbsdbob@weedcon1.cropsci.ncsu.edu>
List: port-vax
Date: 11/24/1999 13:26:59
> I was trying to rebuild my kernel from 1.4M to the past week's tarballs
> (1.4N?), and when I walked in on the build this morning, it had stopped
> at /usr/src/sys/arch/vax/vax/pmap.c line 645 with an error, ``warning,
> unused variable `wired'''. Anyone know what that is offhand, or if
> it is fixed in current? The machine is a MV3100/20, 8M ram, KA41A box.
> It did it on GENERIC or on my kernel configurations. If it does not
> ring any bells, then I will muck around in the code tonight or over the
> weekend.
I browsed the source a bit, and that line is calling:
#ifdef PMAPDEBUG
boolean_t wired = (flags & PMAP_WIRED) != 0;
#endif
Something in the PMAPDEBUG code off or maybe something being called in
incorrectly from the include of dev/cons.h?
Any ideas or suggestions appreciated. I don't fully understand that
section of the code....(:+{{.....
What turns on or off the PMAPDEBUG code? I might try it without that
enabled and see if it will go OK.
Thanks
Bob