I installed CentOS 6.7 amd64 in VirtualBox 4.3.12 (WIndows 7 Enterprise SP1 64-bit host) but, as many others here, I had problems building the OpenGL driver that comes with VB Guest Additions.
None of the patches that are available at https://wiki.centos.org/HowTos/Virtuali ... entOSguest worked for me, so I had to break the stone by myself. I came up with the following patch that seems to work well:
Code: Select all
--- vboxvideo_drm.c.orig 2014-05-16 08:16:17.000000000 -0400
+++ vboxvideo_drm.c 2015-11-05 11:12:01.485680441 -0500
@@ -73,6 +73,10 @@
# if RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(6, 4)
# define DRM_NO_RECLAIM_BUFFERS
# endif
+# if RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(6, 7)
+# define DRM_RHEL67
+# define DRIVER_BUS_PCI
+# endif
# endif
# endif
@@ -119,7 +123,9 @@
.open = drm_open,
.release = drm_release,
.unlocked_ioctl = drm_ioctl,
+#ifndef DRM_RHEL67
.mmap = drm_mmap,
+#endif
.poll = drm_poll,
};
#endif
Enjoy it!