Date: Thu, 11 Mar 2004 09:01:07 -0700 From: Scott Long <scottl@freebsd.org> To: Lukas Ertl <le@FreeBSD.org> Cc: current@FreeBSD.org Subject: Re: RELENG_5_2 doesnt compile Message-ID: <40508D43.6090802@freebsd.org> In-Reply-To: <20040311091857.W628@korben.in.tern> References: <20040310132923.GA58989@stud.fit.vutbr.cz> <404FE5A7.1070508@freebsd.org> <20040311091857.W628@korben.in.tern>
next in thread | previous in thread | raw e-mail | index | archive | help
Lukas Ertl wrote: > On Wed, 10 Mar 2004, Scott Long wrote: > > >>Divacky Roman wrote: >> >>>HI >>> >>>freshly cvsuped RELENG_5_2 doesnt compile in vinum.c >>>in function vinumattach:136,143,150,162 >>> >>>p_intr_nesting_level not being member of a structure. >>> >>>roman >> >> >>It looks like compiling vinum without VINUMDEBUG triggers this. Since >>the module uses VINUMDEBUG, and LINT uses VINUMDEBUG, and vinum isn't >>enabled in GENERIC, this wasn't detected. Hopefully one of the vinum >>maintainers can look into this and correct it. > > > I'm not quite sure what's wrong here. Did you compile vinum into the > kernel? Obviously the comment in sys/conf/NOTES is wrong, you must set > VINUMDEBUG to match the value in sys/modules/vinum/Makefile. > > regards, > le > If you try compiling vinum (either as a module or in the kernel) without setting the VINUMDEBUG option, it will fail. The 'Malloc' macro in vinumext.h gropes around in td_proc (strike 1) for a field that no longer exists (strike 2), but only does this in the non-VINUMDEBUG case (strike 3). Scott
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40508D43.6090802>