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!



_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev

Reply via email to