VirtualBox

Opened 6 years ago

#17645 new defect

Host modules build without dkms patch

Reported by: Willie Owned by:
Component: host support Version: VirtualBox 5.2.6
Keywords: Cc:
Guest type: Linux Host type: Linux

Description

Using VirtualBox 5.2.8 I cannot get the host modules to build. The 5.0.x modules build fine. It seems the makefile no longer functions correctly on systems without DKMS. System is LFS, GCC 5.3, QT5.10.1, kernel 4.14.29

The errors are below. I've created a patch to fix these issues, I'm not sure if this patch is the correct way to fix it though.

=== Building 'vboxdrv' module ===
make[1]: Entering directory '/mnt/data/packages/virtualbox-host-modules/1/vboxhost-5.2.8_OSE/vboxdrv'
make V= CONFIG_MODULE_SIG= -C /usr/lib/modules/4.14.29/build SUBDIRS=/mnt/data/packages/virtualbox-host-modules/1/vboxhost-5.2.8_OSE/vboxdrv SRCROOT=/mnt/data/pl/packages/virtualbox-host-modules/1/vboxhost-5.2.8_OSE/vboxdrv -j4 modules
make[2]: Entering directory '/mnt/data/packages/virtualbox-host-modules/1/vboxhost-5.2.8_OSE/vboxdrv'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
  CC [M]  /mnt/data/packages/virtualbox-host-modules/1/vboxhost-5.2.8_OSE/vboxdrv/linux/SUPDrv-linux.o
cc1: fatal error: /mnt/data/packages/virtualbox-host-modules/1/vboxhost-5.2.8_OSE/vboxdrv/vboxdrv/include/VBox/SUPDrvMangling.h: No such file or directory
compilation terminated.
  CC [M]  /mnt/data/packages/virtualbox-host-modules/1/vboxhost-5.2.8_OSE/vboxdrv/SUPDrv.o
cc1: fatal error: /mnt/data/packages/virtualbox-host-modules/1/vboxhost-5.2.8_OSE/vboxdrv/vboxdrv/include/VBox/SUPDrvMangling.h: No such file or directory
compilation terminated.
make[3]: *** [scripts/Makefile.build:329: /mnt/data/packages/virtualbox-host-modules/1/vboxhost-5.2.8_OSE/vboxdrv/linux/SUPDrv-linux.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:329: /mnt/data/packages/virtualbox-host-modules/1/vboxhost-5.2.8_OSE/vboxdrv/SUPDrv.o] Error 1
make[2]: *** [Makefile:1519: _module_/mnt/data/packages/virtualbox-host-modules/1/vboxhost-5.2.8_OSE/vboxdrv] Error 2
make[2]: Leaving directory '/usr/lib/modules/4.14.29/build'
make[1]: *** [/mnt/data/packages/virtualbox-host-modules/1/vboxhost-5.2.8_OSE/vboxdrv/Makefile.include.footer:101: vboxdrv] Error 2
make[1]: Leaving directory '/mnt/data/packages/virtualbox-host-modules/1/vboxhost-5.2.8_OSE/vboxdrv'
make: *** [Makefile:49: all] Error 2

Attachments (1)

build-without-dkms.patch (2.9 KB ) - added by Willie 6 years ago.
Patch to build host modules without DKMS

Download all attachments as: .zip

Change History (1)

by Willie, 6 years ago

Attachment: build-without-dkms.patch added

Patch to build host modules without DKMS

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use