Opened 3 years ago

Closed 3 years ago

#20307 closed defect (fixed)

Issue with vboxconfig and "linux_bool" type

Reported by: Yann ILAS Owned by:
Component: other Version: VirtualBox 6.1.18
Keywords: Cc:
Guest type: all Host type: Linux


The command vboxconfig finishes in error : Stopping VirtualBox services. Starting VirtualBox services. Building VirtualBox kernel modules. failed: Look at /var/log/vbox-setup.log to find out what went wrong.

There were problems setting up VirtualBox.  To re-start the set-up process, run
as root.  If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.

Linux version :

$ lsb_release -a                          
LSB Version:	:core-4.1-amd64:core-4.1-noarch
Distributor ID:	Fedora
Description:	Fedora release 33 (Thirty Three)
Release:	33
Codename:	ThirtyThree

Kernel :

$ uname -a
Linux localhost.localdomain 5.11.14-200.fc33.x86_64 #1 SMP Wed Apr 14 15:25:53 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

The error seems to come from the type linux_bool which is not defined (more details in attachment)

   38 | #define bool linux_bool
/tmp/vbox.0/r0drv/linux/the-linux-kernel.h:38:14: error: unknown type name ??linux_bool??

Attachments (1)

vboxconfig-compile-error.txt (61.9 KB ) - added by Yann ILAS 3 years ago.
Log generated by vboxconfig (/var/log/vbox-setup.log)

Download all attachments as: .zip

Change History (5)

by Yann ILAS, 3 years ago

Log generated by vboxconfig (/var/log/vbox-setup.log)

comment:1 by Klaus Espenlaub, 3 years ago

This is due to using Linux 5.11 which isn't supported with VirtualBox 6.1.18. Please use 6.1.20 which has been just released. BTW, there is now also a Fedora 33 RPM package now.

comment:2 by Klaus Espenlaub, 3 years ago

And there is now also a repository containing the Fedora 33 package, in the usual place. See the repo setup instructions at the bottom of Linux_Downloads.

comment:3 by Yann ILAS, 3 years ago

Thank you. I installed that version and everything is OK.

comment:4 by Klaus Espenlaub, 3 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use