Opened 2 years ago

Last modified 2 years ago

#20878 new defect

Building kernel module fails on CentOS8 and Kernel 5.17

Reported by: HRZ d. Universität Bielefeld Owned by:
Component: installer Version: VirtualBox 6.1.32
Keywords: Cc:
Guest type: all Host type: Linux


Had running VB6.1.32 under kernel 5.16. Reboot triggered after installing kernel 5.17. Build kernel driver failed with error.

Building the main VirtualBox module.
Error building the module:
make V=1 CONFIG_MODULE_SIG= CONFIG_MODULE_SIG_ALL= -C /lib/modules/5.17.0-1.el8.elrepo.x86_64/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j16 modules
make[1]: warning: -j16 forced in submake: resetting jobserver mode.
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `if [ "gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-10)" != ""gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4)"" ]; then \'
make[1]: *** [Makefile:1717: prepare] Error 1
make: *** [/tmp/vbox.0/Makefile-footer.gmk:117: vboxdrv] Error 2

Attachments (1)

vbox-setup.log (584 bytes ) - added by HRZ d. Universität Bielefeld 2 years ago.
vboxsetuo.log from running /sbin/vboxconfig

Download all attachments as: .zip

Change History (3)

comment:1 by galitsyn, 2 years ago

Hi HRZunibi,

We have fixes for kernel 5.17 in our Development snapshots (r150522+) on

by HRZ d. Universität Bielefeld, 2 years ago

Attachment: vbox-setup.log added

vboxsetuo.log from running /sbin/vboxconfig

comment:2 by HRZ d. Universität Bielefeld, 2 years ago


we tried VirtualBox-6.1-6.1.97_150532_el8-1.x86_64.rpm on Centos 8 Streams running kernel 5.17.1. Building the kernel module failed. Please see the attached vboxsetup.log.

With regards, Peter.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use