I am using Windows 7 as a host system and VBox 4.3.4 r91027.
After updating from CentOS 6.4 to 6.5 I tried to reinstall VBox Guest Additions and faced a problem:
Code: Select all
...
Building OpenGL support module ... failed
...
Code: Select all
gcc -Wp,-MD,/tmp/vbox.0/.vboxvideo_drm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.4.7/include -Iinclude -I/usr/src/kernels/2.6.32-431.el6.x86_64/include/uapi -I/usr/src/kernels/2.6.32-431.el6.x86_64/arch/x86/include -include /usr/src/kernels/2.6.32-431.el6.x86_64/include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_AVX=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -fshort-wchar -include /tmp/vbox.0/include/VBox/VBoxGuestMangling.h -I/lib/modules/2.6.32-431.el6.x86_64/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxvideo/ -I/tmp/vbox.0/vboxvideo/include -I/tmp/vbox.0/vboxvideo/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DVBOX_WITH_HGCM -DLOG_TO_BACKDOOR -DIN_MODULE -DIN_GUEST_R0 -DRT_NO_EXPORT_SYMBOL -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(vboxvideo_drm)" -D"KBUILD_MODNAME=KBUILD_STR(vboxvideo)" -D"DEBUG_HASH=7" -D"DEBUG_HASH2=50" -c -o /tmp/vbox.0/.tmp_vboxvideo_drm.o /tmp/vbox.0/vboxvideo_drm.c
In file included from /tmp/vbox.0/vboxvideo_drm.c:79:
include/drm/drmP.h:76:21: error: drm/drm.h: No such file or directory
include/drm/drmP.h:77:27: error: drm/drm_sarea.h: No such file or directory
In file included from /tmp/vbox.0/vboxvideo_drm.c:79:
include/drm/drmP.h:438: error: expected specifier-qualifier-list before ‘drm_magic_t’
include/drm/drmP.h:484: error: field ‘flags’ has incomplete type
include/drm/drmP.h:509: error: ‘DRM_MAX_ORDER’ undeclared here (not in a function)
include/drm/drmP.h:577: error: field ‘type’ has incomplete type
include/drm/drmP.h:578: error: field ‘flags’ has incomplete type
include/drm/drmP.h:603: error: expected specifier-qualifier-list before ‘drm_context_t’
In file included from include/drm/drmP.h:693,
from /tmp/vbox.0/vboxvideo_drm.c:79:
include/drm/drm_crtc.h:35:26: error: drm/drm_mode.h: No such file or directory
include/drm/drm_crtc.h:37:28: error: drm/drm_fourcc.h: No such file or directory
In file included from include/drm/drmP.h:693,
from /tmp/vbox.0/vboxvideo_drm.c:79:
include/drm/drm_crtc.h:135: error: ‘DRM_DISPLAY_MODE_LEN’ undeclared here (not in a function)
include/drm/drm_crtc.h:206: error: ‘DRM_DISPLAY_INFO_LEN’ undeclared here (not in a function)
include/drm/drm_crtc.h:291: error: ‘DRM_PROP_NAME_LEN’ undeclared here (not in a function)
include/drm/drm_crtc.h:732: warning: ‘struct drm_mode_fb_cmd2’ declared inside parameter list
include/drm/drm_crtc.h:732: warning: its scope is only this definition or declaration, which is probably not what you want
In file included from /tmp/vbox.0/vboxvideo_drm.c:79:
include/drm/drmP.h:741: warning: ‘struct drm_unique’ declared inside parameter list
include/drm/drmP.h:742: warning: ‘struct drm_irq_busid’ declared inside parameter list
include/drm/drmP.h:894: warning: ‘struct drm_set_version’ declared inside parameter list
include/drm/drmP.h:951: warning: ‘struct drm_mode_create_dumb’ declared inside parameter list
include/drm/drmP.h:1073: error: field ‘event’ has incomplete type
include/drm/drmP.h:1103: error: array type has incomplete element type
In file included from /tmp/vbox.0/vboxvideo_drm.c:79:
include/drm/drmP.h:1394: error: expected declaration specifiers or ‘...’ before ‘drm_magic_t’
include/drm/drmP.h:1418: warning: ‘struct drm_buf_desc’ declared inside parameter list
include/drm/drmP.h:1419: warning: ‘struct drm_buf_desc’ declared inside parameter list
include/drm/drmP.h:1506: warning: ‘struct drm_agp_mode’ declared inside parameter list
include/drm/drmP.h:1509: warning: ‘struct drm_agp_info’ declared inside parameter list
include/drm/drmP.h:1512: warning: ‘struct drm_agp_buffer’ declared inside parameter list
include/drm/drmP.h:1515: warning: ‘struct drm_agp_buffer’ declared inside parameter list
include/drm/drmP.h:1518: warning: ‘struct drm_agp_binding’ declared inside parameter list
include/drm/drmP.h:1521: warning: ‘struct drm_agp_binding’ declared inside parameter list
include/drm/drmP.h:1614: warning: ‘struct drm_scatter_gather’ declared inside parameter list
make[2]: *** [/tmp/vbox.0/vboxvideo_drm.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxvideo] Error 2
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
Code: Select all
$ yum whatprovides "*drm/drm.h"
kernel-devel installed
kernel-headers installed
libdrm-devel installed
Thanks in advance.