Ubuntu Forums Archive Viewer

Quick fix for virtualbox-ose module build on 2.6.32 kernel

Archived thread 1313143 from Lucid Lynx Testing and Discussion (CLOSED). Markdown source: Lucid_Lynx_Testing_and_Discussion_(CLOSED)/thread_1313143_Quick_fix_for_virtualbox-ose_module_build_on_2.6.3.md

Original URL About this archive
#1

The modules fail to build with error: dereferencing pointer to incomplete type in r0drv sections for a few modules. Fix by adding the include #include <linux/sched.h>

to, /usr/src/vboxdrv-3.0.8/r0drv/linux/the-linux-kernel.h /usr/src/vboxnetadp-3.0.8/r0drv/linux/the-linux-kernel.h /usr/src/vboxnetflt-3.0.8/r0drv/linux/the-linux-kernel.h

#2

Hmm... the PUEL version compiled fine, though that is version 3.0.10. Wonder if there's a 3.0.10 OSE available?

#3

yep, 3.0.10 has

its just a quick fix for 2.0.8 is the repositories for now until an update

  • Linux hosts: fixed module compilation against Linux 2.6.32rc4 and later