[Pkg-virtualbox-devel] Bug#707094: [virtualbox-dkms] Fails to build the kernel module for kernel 3.8-1-686-pae

Yohann Lorant yohann.lorant at gmail.com
Wed May 8 16:15:26 UTC 2013

I've experienced the same error. I found a patch correcting this bug for 
kernel 3.7+, but then I got an error on linux-headers included file 
(include/linux/iommu.h) :

iommu.h:272:2: error: implicit declaration of function ‘ERR_PTR’ 

This bug isn't strictly on virtualbox-dkms, but to resolve it, you just 
have to add

#include "err.h"

to /usr/src/linux-headers-<version>-common/include/linux/iommu.h, at 
line 25 (after 2 other #include).
I joined the patch file, but i don't think it's in Debian standards (I 
found it on another distro mailing list), but it works if you apply it 
from /var/lib/dkms/virtualbox/<version_of_virtualbox>/source.

I'm sorry if this report is bad or something, as it's my first. I hope 
this could be useful to anyone.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-3.7.patch
Type: text/x-patch
Size: 1012 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-virtualbox-devel/attachments/20130508/3a4320ab/attachment.bin>

More information about the Pkg-virtualbox-devel mailing list