Problem with modules of VirtualBox?
Slackware comes with various kernels but only one source tree. Virtual Box (I use the closed source version, I suppose the same applies to the open source) does not like that - same situation if you have custom kernel and you erased the kernel sources. What to do?
Download and extract the kernel in question. To find which kernel source you need to download use this command. uname -r. Virtualbox will search for kernel sources in /lib/modules/`uname -r`/build/.
ln -sf /usr/src/linux-`uname -r`/ /lib/modules/`uname -r`/build
cd to the kernel source tree and copy your current kernel configuration to .config (ex. from /boot)
In my system I have to unset ARCH. Probably you don't need this. unset ARCH
Now you can compile the Virtual Box modules in slackware
in 5.1.18 try
Maybe the equivelant on other systems cd /opt/VirtualBox/src/vboxhost; make; make install
Apr-2017: make oldconfig is useless. Remove.
1943_Geopoliticus Child Watching the Birth_of_a_new_man.jpg
You are here with: CCBot/2.0 (https://commoncrawl.org/faq/)
Your IP: 22.214.171.124
Made in Linux :)