CC [M] /usr/src/vboxhost/vboxdrv/combined-os-specific.o
In file included from /usr/src/vboxhost/vboxdrv/combined-os-specific.c:43:
/usr/src/vboxhost/vboxdrv/r0drv/linux/fileio-r0drv-linux.c: In function ‘VBoxHost_RTFileOpen’:
/usr/src/vboxhost/vboxdrv/r0drv/linux/fileio-r0drv-linux.c:162:30: error: implicit declaration of function ‘open_with_fake_path’ [-Werror=implicit-function-declaration]
162 | struct file *pFile = open_with_fake_path(&Path, fOpenMode, d_inode(Path.dentry), current_cred());
| ^~~~~~~~~~~~~~~~~~~
/usr/src/vboxhost/vboxdrv/r0drv/linux/fileio-r0drv-linux.c:162:30: warning: initialization of ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:250: /usr/src/vboxhost/vboxdrv/combined-os-specific.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile
make[2]: Leaving directory '/usr/src/kernels/5.14.0-687.20.1.el9_8.x86_64'
make[1]: *** [/usr/src/vboxhost/vboxdrv/Makefile-footer.gmk:146: vboxdrv] Error 2
make[1]: Leaving directory '/usr/src/vboxhost/vboxdrv'
make: *** [Makefile:78: vboxdrv] Error 2
Any ideas?
I have been unable to revert to my previous installation as those modules have apparently been deleted when I updated.