ok, here's hoping this isn't another dumb question.  i have a 64-bit
ubuntu 11.10 system, but i have a hand-rolled kernel (uname -r =
3.4.0-rc3) for reasons that have nothing to do with vbox -- just some
kernel work i'm doing.

  given that this isn't the official 11.10 kernel, trying to install
the "official" ubuntu vbox packages fails since the modules can't be
built -- the kernel source is too new and there's at least one
incompatibility in a header file.

  no problem, though, i'm not scared to build vbox from source so i
checked it out via "svn", did the configure, then tried to build:

$ kmk all
... snip ...
In file included from /home/rpjday/k/git/include/linux/unistd.h:7:0,
                 from /home/rpjday/k/git/arch/x86/include/asm/seccomp_64.h:4,
                 from /home/rpjday/k/git/arch/x86/include/asm/seccomp.h:4,
                 from /home/rpjday/k/git/include/linux/seccomp.h:8,
                 from /home/rpjday/k/git/include/linux/sched.h:79,
                 from 
/home/rpjday/vbox/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h:92,
                 from 
/home/rpjday/vbox/src/VBox/Runtime/r0drv/linux/memuserkernel-r0drv-linux.c:31:
/home/rpjday/k/git/arch/x86/include/asm/unistd.h:27:33: fatal error:
asm/unistd_64_x32.h: No such file or directory
compilation terminated.
... snip ...

  i'm *guessing* this is because i chose to configure and build my new
kernel *outside* of the source tree using the "O=" make option, so
while my kernel source is in ~/k/git, the build itself is in
~/k/build, and it looks like the vbox build is looking only in the
source directory, or at the very least isn't checking the build
directory, since there is definitely a version of that allegedly
missing header file there:

  build/arch/x86/include/generated/asm/unistd_64_x32.h

am i just missing the appropriate configure option to point at that
header file?  the symlink under /lib/modules would certainly identify
where to find that header file:

$ ls -l /lib/modules/3.4.0-rc3/build
... /lib/modules/3.4.0-rc3/build -> /home/rpjday/k/build

  what have i done wrong?  thanks.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community

Reply via email to