Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 May 2026 21:03:33 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        Thierry Thomas <thierry@freebsd.org>
Cc:        freebsd-current@freebsd.org, kib@freebsd.org
Subject:   Re: vnode_if.h not found / make buildkernel on FreeBSD/HEAD-16
Message-ID:  <86y0hjb2ii.fsf@ltc.des.dev>
In-Reply-To: <agioK8Xavc91VxwG@alien> (Thierry Thomas's message of "Sat, 16 May 2026 19:23:55 %2B0200")
References:  <agioK8Xavc91VxwG@alien>

index | next in thread | previous in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86y0hjb2ii.fsf>