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.
You are here with: CCBot/2.0 (http://commoncrawl.org/faq/)
Your IP: 18.104.22.168
Made in Linux :)