VirtualBox

Ticket #5219 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

VirtualBox 3.0.8 host modules fail to compile on 2.6.32-rc4

Reported by: robhancock Owned by:
Priority: major Component: host support
Version: VirtualBox 3.0.8 Keywords:
Cc: Guest type: other
Host type: Linux

Description

VirtualBox host modules fail to compile on a 2.6.32-rc4 kernel:

/var/lib/dkms/vboxdrv/3.0.8/build/r0drv/linux/memobj-r0drv-linux.c: In function ‘rtR0MemObjNativeFree’:
/var/lib/dkms/vboxdrv/3.0.8/build/r0drv/linux/memobj-r0drv-linux.c:431: error: dereferencing pointer to incomplete type
/var/lib/dkms/vboxdrv/3.0.8/build/r0drv/linux/memobj-r0drv-linux.c:432: error: dereferencing pointer to incomplete type
/var/lib/dkms/vboxdrv/3.0.8/build/r0drv/linux/memobj-r0drv-linux.c:442: error: dereferencing pointer to incomplete type
/var/lib/dkms/vboxdrv/3.0.8/build/r0drv/linux/memobj-r0drv-linux.c:443: error: dereferencing pointer to incomplete type
/var/lib/dkms/vboxdrv/3.0.8/build/r0drv/linux/memobj-r0drv-linux.c:455: error: dereferencing pointer to incomplete type
/var/lib/dkms/vboxdrv/3.0.8/build/r0drv/linux/memobj-r0drv-linux.c:457: error: dereferencing pointer to incomplete type
/var/lib/dkms/vboxdrv/3.0.8/build/r0drv/linux/memobj-r0drv-linux.c:458: error: dereferencing pointer to incomplete type
/var/lib/dkms/vboxdrv/3.0.8/build/r0drv/linux/memobj-r0drv-linux.c:459: error: dereferencing pointer to incomplete type
/var/lib/dkms/vboxdrv/3.0.8/build/r0drv/linux/memobj-r0drv-linux.c:480: error: dereferencing pointer to incomplete type
/var/lib/dkms/vboxdrv/3.0.8/build/r0drv/linux/memobj-r0drv-linux.c:482: error: dereferencing pointer to incomplete type
/var/lib/dkms/vboxdrv/3.0.8/build/r0drv/linux/memobj-r0drv-linux.c:483: error: dereferencing pointer to incomplete type
/var/lib/dkms/vboxdrv/3.0.8/build/r0drv/linux/memobj-r0drv-linux.c:484: error: dereferencing pointer to incomplete type

etcetera.

It looks like the code is accessing struct task_struct without an "#include <linux/sched.h>".

Change History

comment:1 Changed 5 years ago by sandervl73

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

That has been fixed in SVN already.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use