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@gmail.com) Appleton, WI USA
A new VirtualBox build has solved the problem with kernel modules failing to build. This is what works on my Almalinux-9.8 machine: Name : VirtualBox-7.2 Version : 7.2.15_174675_el9 Release : 1 Architecture: x86_64 Install Date: Mon 03 Aug 2026 10:48:44 AM CDT Group : Applications/System Size : 282205458 License : GPLv3 Signature : (none) Source RPM : VirtualBox-7.2-7.2.15_174675_el9-1.src.rpm Build Date : Fri 31 Jul 2026 08:21:13 AM CDT Build Host : 1036ff880c6c Vendor : Oracle Corporation URL : http://www.virtualbox.org/ Summary : Oracle VirtualBox https://www.virtualbox.org/download/testcase/VirtualBox-7.2-7.2.15_174675_el... -- -John (JohnDThompson@gmail.com) Appleton, WI USA
participants (1)
-
John Thompson