FIXED: DRM_MODE_FLAG_3D_MASK - Centos 6.5, latest; guest...

Discussions about using Linux guests in VirtualBox.
Post Reply
andrewcooke
Posts: 5
Joined: 26. Nov 2013, 14:19

FIXED: DRM_MODE_FLAG_3D_MASK - Centos 6.5, latest; guest...

Post by andrewcooke »

FIXED - Sorry, dumb mistake (wrong kernel headers).

Hi,

Maybe this is a new issue - I've done a search for DRM_MODE_FLAG_3D_MASK and found nothing.

I just installed a new CentOS 6.5 guest and updated to the latest release from the standard repos (so am running kernel 2.6.32-504.12.2.el6.x86_64). When I try to install the guest additions I see:

Code: Select all

make -f scripts/Makefile.build obj=/tmp/vbox.0
  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-504.12.2.el6.x86_64/include/uapi -I/usr/src/kernels/2.6.32-504.12.2.el6.x86_64/arch/x86/include -Iarch/include/generated -Iinclude -include /usr/src/kernels/2.6.32-504.12.2.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 -Wno-declaration-after-statement -fshort-wchar -include /tmp/vbox.0/include/VBox/VBoxGuestMangling.h -I/lib/modules/2.6.32-504.12.2.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 -I/usr/include -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 include/drm/drmP.h:716,
                 from /tmp/vbox.0/vboxvideo_drm.c:79:
include/drm/drm_crtc.h: In function ‘drm_mode_is_stereo’:
include/drm/drm_crtc.h:190: error: ‘DRM_MODE_FLAG_3D_MASK’ undeclared (first use in this function)
include/drm/drm_crtc.h:190: error: (Each undeclared identifier is reported only once
include/drm/drm_crtc.h:190: error: for each function it appears in.)
make[2]: *** [/tmp/vbox.0/vboxvideo_drm.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxvideo] Error 2
Any pointers?

Thanks,
Andrew
Last edited by andrewcooke on 15. Apr 2015, 16:18, edited 1 time in total.
andrewcooke
Posts: 5
Joined: 26. Nov 2013, 14:19

Re: DRM_MODE_FLAG_3D_MASK - Centos 6.5, latest; guest additi

Post by andrewcooke »

PS This is with 4.3.26 (Linux (opensuse 13.1) host and guest additions).
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: DRM_MODE_FLAG_3D_MASK - Centos 6.5, latest; guest additi

Post by Perryg »

Post the guests log file ( as an attachment )
andrewcooke
Posts: 5
Joined: 26. Nov 2013, 14:19

Re: DRM_MODE_FLAG_3D_MASK - Centos 6.5, latest; guest additi

Post by andrewcooke »

Added, thanks (I had to compress it to upload).
Attachments
vboxadd-install.log.gz
(15.49 KiB) Downloaded 5 times
andrewcooke
Posts: 5
Joined: 26. Nov 2013, 14:19

Re: DRM_MODE_FLAG_3D_MASK - Centos 6.5, latest; guest additi

Post by andrewcooke »

FIXED. Sorry - my fault. The wrong kernel headers were installed (I had no idea the package manager would even allow that, but when I went though double checking everything I had the wrong version). Installing the right version fixed things.
Post Reply