<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr" data-setdir="false">Hello, for some reasons, see [1] virtualbox doesn't build its kernel modules correctly on some configurations...</div><div dir="ltr" data-setdir="false">The following patch fixes the issue</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div>+--- virtualbox-6.0.10-dfsg.orig/src/VBox/Additions/linux/drm/vbox_ttm.c<br>++++ virtualbox-6.0.10-dfsg/src/VBox/Additions/linux/drm/vbox_ttm.c<br>+@@ -33,7 +33,7 @@<br>+  *          Michael Thayer <michael.thayer@oracle.com><br>+  */<br>+ #include "vbox_drv.h"<br>+-#include <ttm/ttm_page_alloc.h><br>++#include <drm/ttm/ttm_page_alloc.h><br>+ <br>+ #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 18, 0) && !defined(RHEL_72)<br>+ #define PLACEMENT_FLAGS(placement) (placement)<br><br></div><div><br></div><div><br></div><div dir="ltr" data-setdir="false">please apply</div><div dir="ltr" data-setdir="false">(you are not supposed to think that kernel is exporting -Iinclude/drm directory, and in all the other places it is not included that way)<br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">see for comparison:</div><div dir="ltr" data-setdir="false"><div>src/VBox/Additions/linux/drm/vbox_drv.h:#include <drm/ttm/ttm_bo_api.h><br>src/VBox/Additions/linux/drm/vbox_drv.h:#include <drm/ttm/ttm_bo_driver.h><br>src/VBox/Additions/linux/drm/vbox_drv.h:#include <drm/ttm/ttm_placement.h><br>src/VBox/Additions/linux/drm/vbox_drv.h:#include <drm/ttm/ttm_memory.h><br>src/VBox/Additions/linux/drm/vbox_drv.h:#include <drm/ttm/ttm_module.h><br><br></div><div><br></div></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">MIT licensed, as usual</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">G.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">[1] https://bugs.debian.org/934483<br><div><br></div><div><br></div></div></div></div></body></html>