Re: how to include vnode.h?
- Reply: YU SHANG : "ظ: how to include vnode.h?"
- In reply to: YU SHANG : "how to include vnode.h?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 19 Oct 2023 03:56:08 UTC
On Wed, Oct 18, 2023, 9:48 PM YU SHANG <yushang@outlook.com> wrote: > Hi guys, > > I am exercising a FreeBSD driver which is started by the official skeleton > (https://docs.freebsd.org/en/books/arch-handbook/driverbasics/). When I > add an include of #include <sys/vnode.h>, the kld failed to compile, > complaining that can not find the vnode_if.h. I know this file is generated > by the sys/tools/vnode_if.awk. It seems that this script is not invoked by > the build system. Any suggestion? Many thanks. > You need to include vnode_if.h in SRCS in your Makefile Warner > > 从 Windows 版邮件 <https://go.microsoft.com/fwlink/?LinkId=550986>发送 > > >