Opened 15 years ago
Closed 15 years ago
#5219 closed defect (fixed)
VirtualBox 3.0.8 host modules fail to compile on 2.6.32-rc4
Reported by: | Robert Hancock | Owned by: | |
---|---|---|---|
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>".
Note:
See TracTickets
for help on using tickets.
That has been fixed in SVN already.