VirtualBox

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#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)

vbox-install.log (23.6 KB ) - added by mfortini 12 years ago.
build log

Download all attachments as: .zip

Change History (8)

by mfortini, 12 years ago

Attachment: vbox-install.log added

build log

comment:1 by Frank Mehnert, 12 years ago

Resolution: duplicate
Status: newclosed

See here.

in reply to:  1 comment:2 by mfortini, 12 years ago

Replying to frank:

See here.

Sorry but I did try with Virtualbox 4.2.8 and it may have fixed *guest* additions, but it fails for me in the *host*. The log I posted was from there.

I'm using a fresh linux 3.8.2 headers and VBox 4.2.8

comment:3 by mfortini, 12 years ago

Resolution: duplicate
Status: closedreopened
/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

comment:4 by Frank Mehnert, 12 years ago

PLEASE: Could you do what is explained in the comment I pointed you to?

in reply to:  4 comment:5 by mfortini, 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 Frank Mehnert, 12 years ago

Resolution: worksforme
Status: reopenedclosed

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 mfortini, 12 years ago

You're right. Just switching branches left it there *and* it got packaged by the make deb-pkg command.

Thank you

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette