Date: Sat, 16 May 2026 23:15:43 +0200 From: Thierry Thomas <thierry@freebsd.org> To: freebsd-current@freebsd.org Subject: Re: vnode_if.h not found / make buildkernel on FreeBSD/HEAD-16 Message-ID: <agjefzi9o3KPoQE3@alien> In-Reply-To: <agjGBp_ePLPaG7FT@kib.kiev.ua> References: <agioK8Xavc91VxwG@alien> <86y0hjb2ii.fsf@ltc.des.dev> <agjGBp_ePLPaG7FT@kib.kiev.ua>
index | next in thread | previous in thread | raw e-mail
Le sam. 16 mai 26 à 21:31:18 +0200, Konstantin Belousov <kostikbel@gmail.com> écrivait : > On Sat, May 16, 2026 at 09:03:33PM +0200, Dag-Erling Smørgrav wrote: > > kib's 1d5e4020e36e added #include <sys/vnode.h>, which in turn includes > > "vnode_if.h" to sys/mount.h. This shouldn't be a problem as the kernel > > build system knows how to generate vnode_if.h, but apparently it doesn't > > realize that this is needed (genassym is a build tool, so it is compiled > > very early). Presumably this was a clean build? > > I do not see why sys/mount.h is needed by genassym.c. > > commit fe0f116bd3a5115813c4c3ba4a1546d09b5e73b1 > Author: Konstantin Belousov <kib@FreeBSD.org> > Date: Sat May 16 22:27:40 2026 +0300 > > x86: remove sys/mount.h from genassym.c > > The header is not needed, and causes some issues with build because it > requires vnode_if.h generated due to transient dependency from vnode.h. > > While there, remove unneeded explicit sys/cdefs.h and sys/param.h usage. > > Fixes: 1d5e4020e36e1cc9e906200c9c3c784ef43d977e Thanks, problem fixed! -- Th. Thomas.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?agjefzi9o3KPoQE3>
