kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: bill4carson@gmail.com (bill4carson)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How to generate kernel header files like Ubuntu prebuilt standard kernel header files?
Date: Tue, 26 Nov 2013 17:25:08 +0800	[thread overview]
Message-ID: <529468F4.9000802@gmail.com> (raw)

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

                 reply	other threads:[~2013-11-26  9:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=529468F4.9000802@gmail.com \
    --to=bill4carson@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).