Opened 5 years ago
Closed 5 years ago
#18917 closed defect (fixed)
VBox 6.0.10 GAs fail to compile on Red Hat/CentOS/OL 7.7; also Red Hat 8.1 Beta => fixed in SVN/6.0.x/5.2.x
Reported by: | paulson | Owned by: | paulson |
---|---|---|---|
Component: | guest additions | Version: | VirtualBox 6.0.12 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | all |
Description
As discussed in the forums:
Guest Additions 6.0.10 will not compile in RHEL 7.7 https://forums.virtualbox.org/viewtopic.php?f=3&t=94218&start=15
The VirtualBox Guest Additions require further updates to accommodate the latest kernel changes specific to Red Hat 7.7 and 8.1 Beta.
Change History (4)
comment:1 by , 5 years ago
Status: | new → accepted |
---|
comment:2 by , 5 years ago
comment:3 by , 5 years ago
The additional errors from Red Hat 8.1 Beta are primarily as follows:
=== Building 'vboxguest' module === make[1]: Entering directory '/opt/VBoxGuestAdditions-6.0.97/src/vboxguest-6.0.97/vboxguest' make V= CONFIG_MODULE_SIG= -C /lib/modules/4.18.0-107.el8.x86_64/build M=/opt/VBoxGuestAdditions-6.0.97/src/vboxguest-6.0.97/vboxguest SRCROOT=/opt/VBoxGuestAdditions-6.0.97/src/vboxguest-6.0.97/vboxguest -j4 modules make[2]: Entering directory '/usr/src/kernels/4.18.0-107.el8.x86_64' CC [M] /opt/VBoxGuestAdditions-6.0.97/src/vboxguest-6.0.97/vboxguest/combined-os-specific.o In file included from /opt/VBoxGuestAdditions-6.0.97/src/vboxguest-6.0.97/vboxguest/combined-os-specific.c:34: /opt/VBoxGuestAdditions-6.0.97/src/vboxguest-6.0.97/vboxguest/r0drv/linux/memuserkernel-r0drv-linux.c: In function ‘VBoxGuest_RTR0MemUserIsValidAddr’: /opt/VBoxGuestAdditions-6.0.97/src/vboxguest-6.0.97/vboxguest/r0drv/linux/memuserkernel-r0drv-linux.c:72:55: error: macro "access_ok" passed 3 arguments, but takes just 2 bool fRc = access_ok(VERIFY_READ, (void *)R3Ptr, 1); ^ /opt/VBoxGuestAdditions-6.0.97/src/vboxguest-6.0.97/vboxguest/r0drv/linux/memuserkernel-r0drv-linux.c:72:16: error: ‘access_ok’ undeclared (first use in this function) bool fRc = access_ok(VERIFY_READ, (void *)R3Ptr, 1); ^~~~~~~~~ CC [M] /opt/VBoxGuestAdditions-6.0.97/src/vboxguest-6.0.97/vboxvideo/vbox_mode.o /opt/VBoxGuestAdditions-6.0.97/src/vboxguest-6.0.97/vboxvideo/vbox_drv.c: At top level: /opt/VBoxGuestAdditions-6.0.97/src/vboxguest-6.0.97/vboxvideo/vbox_drv.c:307:6: error: ‘DRIVER_IRQ_SHARED’ undeclared here (not in a function); did you mean ‘TIMER_IRQSAFE’? #endif ^ TIMER_IRQSAFE
comment:4 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Summary: | VBox 6.0.10 GAs fail to compile on Red Hat/CentOS/OL 7.7; also Red Hat 8.1 Beta → VBox 6.0.10 GAs fail to compile on Red Hat/CentOS/OL 7.7; also Red Hat 8.1 Beta => fixed in SVN/6.0.x/5.2.x |
This has been fixed in trunk and the fix has also been backported to VirtualBox 6.0.x (x > 12) and 5.2.x (x > 32). The fix is also available in any 6.0.x Testbuilds with a revision >= r133264 or any 5.2.x Testbuilds with a revision >= r133285.
The Guest Additions build failures as seen on OL 7.7: