Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 May 2026 14:47:24 -0400
From:      Michael Butler <imb@protected-networks.net>
To:        freebsd-current@freebsd.org
Subject:   Re: vnode_if.h not found / make buildkernel on FreeBSD/HEAD-16
Message-ID:  <c1fc9b45-afd3-49c6-8c8c-fba2266dc2a8@protected-networks.net>
In-Reply-To: <agioK8Xavc91VxwG@alien>

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

[-- Attachment #1 --]
I see a similar failure (missing vnode_* includes) when trying to build 
/usr/ports/emulators/virtualbox-ose-kmod-72 :-(


On 5/16/26 13:23, Thierry Thomas wrote:
> Hello,
>
> When building a kernel for -CURRENT, with fresh source from today at
> 2574974648c68c738aec3ff96644d888d7913a37, it fails with this error:
>
> cc -target x86_64-unknown-freebsd16.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasing -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depend.genassym.o -MTgenassym.o -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -fdebug-prefix-map=./i386=/usr/src/sys/i386/include -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-4 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wswitch -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx -std=gnu17  -fcommon /usr/src/sys/amd64/amd64/genassym.c
> 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
>
> Stop.
> make[2]: stopped making "all" in /usr/obj/usr/src/amd64.amd64/sys/GENERIC
>          1,00 real         0,86 user         0,15 sys
>
> Note: the same error was reported 3 days ago on the forums:
> https://forums.freebsd.org/threads/vnode_if-h-not-found-make-buildkernel-on-freebsd-head-16.102681/
>
> Any ideas?


[-- Attachment #2 --]
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">I see a similar failure (missing
      vnode_* includes) when trying to build  
      <span style="font-family:monospace"><span
          style="color:#000000;background-color:#ffffff;">/usr/ports/emulators/virtualbox-ose-kmod-72
          :-(</span><br>
      </span>
      <br>
      <br>
      On 5/16/26 13:23, Thierry Thomas wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:agioK8Xavc91VxwG@alien">
      <pre wrap="" class="moz-quote-pre">Hello,

When building a kernel for -CURRENT, with fresh source from today at
2574974648c68c738aec3ff96644d888d7913a37, it fails with this error:

cc -target x86_64-unknown-freebsd16.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasing -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depend.genassym.o -MTgenassym.o -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -fdebug-prefix-map=./i386=/usr/src/sys/i386/include -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-4 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wswitch -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx -std=gnu17  -fcommon /usr/src/sys/amd64/amd64/genassym.c
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

Stop.
make[2]: stopped making "all" in /usr/obj/usr/src/amd64.amd64/sys/GENERIC
        1,00 real         0,86 user         0,15 sys

Note: the same error was reported 3 days ago on the forums:
<a class="moz-txt-link-freetext" href="https://forums.freebsd.org/threads/vnode_if-h-not-found-make-buildkernel-on-freebsd-head-16.102681/">https://forums.freebsd.org/threads/vnode_if-h-not-found-make-buildkernel-on-freebsd-head-16.102681/</a>;

Any ideas?
</pre>
    </blockquote>
    <br>
  </body>
</html>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c1fc9b45-afd3-49c6-8c8c-fba2266dc2a8>