VirtualBox

Opened 13 years ago

Closed 13 years ago

#8676 closed defect (fixed)

Unable to build vbox kernel modules 2.6.38.x on Debian

Reported by: Wesley Schwengle Owned by:
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 (2)

comment:1 by Wesley Schwengle, 13 years ago

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 by Frank Mehnert, 13 years ago

Resolution: fixed
Status: newclosed

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.

© 2023 Oracle
ContactPrivacy policyTerms of Use