I'm trying to update my VirtualBox installation to
VirtualBox-7.2-7.2.12_174389_el9-1.x86_64.rpm on my Almalinux-9.8
machine, but the kernel modules fail to build. Here is the tail of the
log file:
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:1968: /usr/src/vboxhost/vboxdrv] Error 2
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?
--
-John (JohnDThompson(a)gmail.com)
Appleton, WI USA