You are not logged in.
Pages: 1
I can't build vboxdrv module with latest kernel 2.6.32.When I run vbox_build_module, I get
Makefile:152: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
make[1]: Leaving directory `/opt/VirtualBox/src/vboxdrv'
make: *** [all] Error 2
but, when I run
KERN_DIR=/usr/src/linux-2.6.32-ARCH vbox_build_module
I get this error
Makefile:179: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again. Stop.
make[1]: Leaving directory `/opt/VirtualBox/src/vboxdrv'
make: *** [all] Error 2
What is the problem here?
Last edited by na12 (2009-12-31 09:26:34)
Offline
Had the same problem, installed vbox again and it works.
Offline
Install the headers for kernel 2.6.32 and try again.
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
Install the headers for kernel 2.6.32 and try again.
I already did that
┌─[ root @ laptop ] - [ 08:35:20 Thu Dec 31 ] - [ /home/dany ]
└─[#]> pacman -Q kernel-headers
kernel-headers 2.6.32-1
Offline
i suggest all to read the last news.
Give what you have. To someone, it may be better than you dare to think.
Offline
Yep, cheers, wonder.
na12, what does pacman -Q kernel26-headers say?
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
Also using Virtualbox here and was able to build the modules against the new kernel using this procedure:
Update kernel 31 --> 32
install kernel26-headers (seems to me you have the wrong kernel-headers package)
reboot
rebuild mkinitcpio (KMS)
reboot
rebuild vbox modules
modprobe them or reboot
Last edited by ulukai (2009-12-31 08:38:07)
Offline
I just added my vote for FS#17655 - kernel-headers and kernel26-headers too similar name.
Offline
Thanks for bug number. Will follow it
Offline
Thanks everybody,it works now. I just installed kernel26-headers,and rebuilt vboxdrv module,no need for reboot.
Last edited by na12 (2009-12-31 10:35:28)
Offline
Thanks, I'v also been struggling with this for a while.
Offline
Pages: 1