Unable to build VirtualBox kernel modules from source

Discussions related to using the OSE version of VirtualBox.

Unable to build VirtualBox kernel modules from source

Postby hopeful1 » 27. Nov 2017, 04:04

I ran ./configure from my VirtualBox-5.2.2 and here is my terminal output:
Checking for environment: Determined build machine: linux.amd64, target machine: linux.amd64, OK.
...
Checking for Linux kernel sources: found version 4.13.8, OK.
Detected Linux >= 4.8 -- disabling compiling of Linux kernel modules.
Checking for ALSA: found version 1.1.3, OK.
Checking for libdevmapper: found version 1.02.137 (2016-11-30), OK.
Checking for libcap library: found, OK.
Checking for compiler.h: compiler.h not found, OK.
Checking for 32-bit support: OK.
Checking for makeself: found version 2.3.0, OK.


I followed the build instructions from the VirtualBox website and the source code is from the official website.
'./configure' command runs ok but for the "Detected Linux >= 4.8 -- disabling compiling of Linux kernel modules." line shown above.
The 'kmk all' command appears to have run fine.
I go to the 'out/linux.amd64/release/bin/src', run 'make'. No errors but no modules after 'make install'
'./VirtualBox' runs from the 'out/linux.amd64/release/bin' directory


How do I build the kernel modules for kernel > 4.8 ?
This is my first post, please pardon any errors.
Thanks for your help.
hopeful1
 
Posts: 2
Joined: 27. Nov 2017, 03:35
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Kali Linux

Re: Unable to build VirtualBox kernel modules from source

Postby hopeful1 » 28. Nov 2017, 19:27

Issue resolved.
Had to disable secure boot.
hopeful1
 
Posts: 2
Joined: 27. Nov 2017, 03:35
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Kali Linux


Return to VirtualBox OSE

Who is online

Users browsing this forum: No registered users and 4 guests