Date: Sun, 5 Jul 1998 23:46:26 +0200 (MET DST) From: Willem Jan Withagen <wjw@surf.IAE.nl> To: tlambert@primenet.com Cc: hackers@FreeBSD.ORG Subject: Re: adding to sysctl env. Message-ID: <199807052146.XAA23454@surf.IAE.nl> In-Reply-To: <199807051913.MAA27026@usr08.primenet.com> References: <199807042215.AAA00277@hobby.digiware.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <199807051913.MAA27026@usr08.primenet.com> you write: >> make a debug.switch for the vlink module. >> So I added: >> ---- >> /* >> * For the vlink module debugging >> */ >> static int vlinkxlatedebug = 0; >> SYSCTL_INT(_debug, OID_AUTO, vlinkxlate, CTLFLAG_RW, &vlinkxlatedebug, 0, >> ""); >> ---- >> expecting to see it apear in my sysctl -a output. >> >> But guess what: I didn't. :-{ > >You are using "options DEBUG", right? > >Also: you are staticaly linking this driver, not loading it as an LKM, >right? Problem was even simpler: sys/sysctl.h require to include sys/kernel.h Which I didn't, so I've started to donate a first attempt man page. --WjW -- Internet Access Eindhoven BV., voice: +31-40-2 393 393, data: +31-40-2 606 606 P.O. 928, 5600 AX Eindhoven, The Netherlands Full Internet connectivity for only fl 12.95 a month. Call now, and login as 'new'. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807052146.XAA23454>