[vbox-dev] [PATCH] Fix new breakage from Linus

walt w41ter at gmail.com
Sat Dec 27 18:45:28 GMT 2008


The latest linux kernel headers break compilation of vbox by introducing
a new header file, swabb.h, containing definitions not needed by vbox.
Prevent the new header file from loading:

Index: src/VBox/Devices/Storage/swab.h
===================================================================
--- src/VBox/Devices/Storage/swab.h     (revision 15711)
+++ src/VBox/Devices/Storage/swab.h     (working copy)
@@ -33,6 +33,7 @@
 #define _VBOX_LINUX_SWAB_H

 # define _LINUX_BYTEORDER_SWAB_H
+# define _LINUX_BYTEORDER_SWABB_H

 #include <asm/types.h>


It's the c++ compiler that complains about the syntax in swab.h and
swabb.h, so I tried just adding extern "C" to the recipe, but it didn't
fix anything or even change the error message.  Can anyone here explain
why it doesn't work?

Thanks!






More information about the vbox-dev mailing list