How to generate kernel header files like Ubuntu prebuilt standard kernel header files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ubuntu-12.0.4-lts with virtualbox installed building with latest linux kernel tree.
When make install, it always spits below error when build virtualbox modules

run-parts: executing /etc/kernel/postinst.d/dkms 3.12.0+ /boot/vmlinuz-3.12.0+
ERROR (dkms apport): kernel package linux-headers-3.12.0+ is not supported

The Ubuntu system prebuilt kernel header is as below:

#ls /usr/src/linux-headers-3.2.0-23
arch  block  crypto  Documentation  drivers  firmware  fs  include
init  ipc  Kbuild  Kconfig  kernel  lib  Makefile  mm  net  samples
scripts  security  sound  tools  ubuntu  usr  virt

But the latest kernel headers looks like this, and building virtualbox modules
still bad
# cd linux-3.12.0 && make headers_install
# cat usr/include/
include

Can I ask how to generate kernel headers with latest linux kernel tree to successfully
build virtualbox modules?

thanks



-- 
八百里秦川尘土飞扬,三千万老陕齐吼秦腔。

--bill

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies





[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux