﻿id	summary	reporter	owner	description	type	status	component	version	resolution	keywords	cc	guest	host
11586	VBoxGuestAdditions fails to compile vboxvideo_drm.c on CentOS 6.4 => Fixed in SVN	h-w		"From log:


{{{
/tmp/vbox.0/vboxvideo_drm.c:110: error: unknown field ‘reclaim_buffers’ specified in initializer
/tmp/vbox.0/vboxvideo_drm.c:110: warning: initialization from incompatible pointer type
make[2]: *** [/tmp/vbox.0/vboxvideo_drm.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxvideo] Error 2
}}}


Looking at vboxvideo_drm.c:110 shows:

{{{
109 #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 6, 0)
110     .reclaim_buffers = drm_core_reclaim_buffers,
111 #endif
}}}


Make the following change:


{{{
109 #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 6, 0)
110     // .reclaim_buffers = drm_core_reclaim_buffers,
111 #endif
}}}


fixes problem. Now vboxvideo kernel module is compiled, loads, and appears to work.

Virtual Box: 4.2.8 r83876[[BR]]
Host: Vista Home 64-bit[[BR]]
Client: CentOS 6.4 (Final)[[BR]]
Kernel: 2.6.32-358.0.1.el6.i686[[BR]]

Best Rgds,
-H-"	defect	closed	guest additions	VirtualBox 4.2.8	fixed	CentOS vboxvideo		Linux	Windows
