Re: vnode_if.h not found / make buildkernel on FreeBSD/HEAD-16
Date: Sat, 16 May 2026 19:03:33 UTC
Thierry Thomas <thierry@freebsd.org> writes: > When building a kernel for -CURRENT, with fresh source from today at > 2574974648c68c738aec3ff96644d888d7913a37, it fails with this error: > [...] > In file included from /usr/src/sys/amd64/amd64/genassym.c:49: > In file included from /usr/src/sys/sys/mount.h:965: > /usr/src/sys/sys/vnode.h:612:10: fatal error: 'vnode_if.h' file not found > 612 | #include "vnode_if.h" > | ^~~~~~~~~~~~ > 1 error generated. > *** Error code 1 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? DES -- Dag-Erling Smørgrav - des@FreeBSD.org