VirtualBox

Ticket #8676 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Unable to build vbox kernel modules 2.6.38.x on Debian

Reported by: wesleys Owned by:
Priority: major Component: installer
Version: VirtualBox 3.2.12 Keywords: kernel
Cc: Guest type: other
Host type: Linux

Description

Building virtualbox 3.2.12 on Debian testing/unstable will fail with kernel 2.6.38.x. This is because Debian has changed the location of the autoconf.h file. It used to be located at:

./linux-headers-$(uname -r)/include/linux/autoconf.h

But from 2.6.38 it is located in:

./linux-headers-$(uname -r)/include/generated/autoconf.h

I made a symlink to be able to build the modules, which then builds correctly.

I'm not sure wheter the bug should be filed here or at Debian, so you got it first :)

virtualbox-3.2:
  Installed: 3.2.12-68302~Debian~squeeze
  Candidate: 3.2.12-68302~Debian~squeeze
  Version table:
 *** 3.2.12-68302~Debian~squeeze 0
        500 http://download.virtualbox.org/virtualbox/debian/ squeeze/non-free i386 Packages
        100 /var/lib/dpkg/status
     3.2.12-68302~Debian~lenny 0
        500 http://download.virtualbox.org/virtualbox/debian/ lenny/non-free i386 Packages

Change History

comment:1 Changed 3 years ago by wesleys

Goes without saying that the absolute path of the autoconf.h files are:

/usr/src/linux-headers-$(uname -r)/include/linux/autoconf.h
/usr/src/linux-headers-$(uname -r)/include/generated/autoconf.h

comment:2 Changed 3 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

That one is already fixed in VBox 4.0.4, see r35647, r35662 and r36269. And r35294 is required if CONFIG_DEBUG_SET_MODULE_RONX is enabled.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use