#11564 closed defect (worksforme)
vboxdrv build fail on 3.8.x
Reported by: | mfortini | Owned by: | |
---|---|---|---|
Component: | host support | Version: | VirtualBox 4.2.8 |
Keywords: | vboxdrv dkms driver setup linux 3.8.x | Cc: | |
Guest type: | Linux | Host type: | Linux |
Description
I cannot build host drivers on Linux 3.8.x
Attachments (1)
Change History (8)
by , 12 years ago
Attachment: | vbox-install.log added |
---|
comment:2 by , 12 years ago
comment:3 by , 12 years ago
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
/usr/src/vboxhost-4.2.8$ sudo make V=1 *** Building 'vboxdrv' module *** make[1]: Entering directory `/usr/share/virtualbox/src/vboxhost/vboxdrv' make KBUILD_VERBOSE= SUBDIRS=/usr/share/virtualbox/src/vboxhost/vboxdrv SRCROOT=/usr/share/virtualbox/src/vboxhost/vboxdrv CONFIG_MODULE_SIG= -C /lib/modules/3.8.2/build modules make[2]: Entering directory `/usr/src/linux-headers-3.8.2' CC [M] /usr/share/virtualbox/src/vboxhost/vboxdrv/r0drv/linux/memobj-r0drv-linux.o /usr/share/virtualbox/src/vboxhost/vboxdrv/r0drv/linux/memobj-r0drv-linux.c: In function ‘rtR0MemObjNativeMapUser’: /usr/share/virtualbox/src/vboxhost/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1465:38: error: ‘VM_RESERVED’ undeclared (first use in this function) /usr/share/virtualbox/src/vboxhost/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1465:38: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [/usr/share/virtualbox/src/vboxhost/vboxdrv/r0drv/linux/memobj-r0drv-linux.o] Error 1 make[2]: *** [_module_/usr/share/virtualbox/src/vboxhost/vboxdrv] Error 2 make[2]: Leaving directory `/usr/src/linux-headers-3.8.2' make[1]: *** [vboxdrv] Error 2 make[1]: Leaving directory `/usr/share/virtualbox/src/vboxhost/vboxdrv' make: *** [all] Error 2
follow-up: 5 comment:4 by , 12 years ago
PLEASE: Could you do what is explained in the comment I pointed you to?
comment:5 by , 12 years ago
Replying to frank:
PLEASE: Could you do what is explained in the comment I pointed you to?
Thank you. It does build by deleting /usr/src/linux-headers-3.8.2/include/linux/version.h
I don't see this as a Virtualbox fix, though.
It's your call to close this report.
Regards
comment:6 by , 12 years ago
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
This is not a VirtualBox bug. Download the vanilla 3.8.2 kernel sources and you will observe that this file does not exist.
comment:7 by , 12 years ago
You're right. Just switching branches left it there *and* it got packaged by the make deb-pkg command.
Thank you
build log