[Pkg-virtualbox-devel] Bug#698607: Wrong include file used

Hendrik Sattler post at hendrik-sattler.de
Thu Feb 14 15:18:19 UTC 2013


Hi,

It seems that the detection of the used version.h file is wrong as it should 
find the new generated/uapi/linux/version.h before linux/version.h. However, it 
does not.

Additionally, module-assistant needs to be fixed to allow this new header 
layout. Currently, the old file must be a link to the new file to make module-
assistant and virtualbox-source happy.

Also the following line must be added to vboxpci/VBoxPciInternal.h:
 
 #ifdef VBOX_WITH_IOMMU
 #include <linux/errno.h>
+#include <linux/err.h>
 #include <linux/iommu.h>
 #endif
 

to make it compile with linux-3.7.7.

HS



More information about the Pkg-virtualbox-devel mailing list