VirtualBox

Ticket #10758 (closed defect: duplicate)

Opened 21 months ago

Last modified 21 months ago

Unable to compile vboxvideo on RedHat Enterprise 6.3/CentOS 6.3

Reported by: gv Owned by:
Priority: major Component: other
Version: VirtualBox 4.1.18 Keywords:
Cc: Guest type: Linux
Host type: Linux

Description

make KBUILD_VERBOSE=1 CONFIG_MODULE_SIG= -C /lib/modules/2.6.32-279.1.1.el6.x86_64/build SUBDIRS=/home/gv/vboxguest/vboxvideo SRCROOT=/home/gv/vboxguest/vboxvideo modules make[1]: Entering directory `/usr/src/kernels/2.6.32-279.1.1.el6.x86_64'

test -e include/linux/autoconf.h -a -e include/config/auto.conf
( \

echo; \ echo " ERROR: Kernel configuration is invalid."; \ echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \ echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo; \ /bin/false)

mkdir -p /home/gv/vboxguest/vboxvideo/.tmp_versions ; rm -f /home/gv/vboxguest/vboxvideo/.tmp_versions/* make -f scripts/Makefile.build obj=/home/gv/vboxguest/vboxvideo

gcc -Wp,-MD,/home/gv/vboxguest/vboxvideo/.vboxvideo_drm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.4.6/include -Iinclude -I/usr/src/kernels/2.6.32-279.1.1.el6.x86_64/arch/x86/include -include include/linux/autoconf.h -DKERNEL -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 -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 /home/gv/vboxguest/vboxvideo/include/VBox/VBoxGuestMangling.h -I/lib/modules/2.6.32-279.1.1.el6.x86_64/build/include -I/home/gv/vboxguest/vboxvideo/ -I/home/gv/vboxguest/vboxvideo/include -I/home/gv/vboxguest/vboxvideo/r0drv/linux -I/home/gv/vboxguest/vboxvideo/vboxvideo/ -I/home/gv/vboxguest/vboxvideo/vboxvideo/include -I/home/gv/vboxguest/vboxvideo/vboxvideo/r0drv/linux -DKERNEL -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=19" -D"DEBUG_HASH2=58" -c -o /home/gv/vboxguest/vboxvideo/.tmp_vboxvideo_drm.o /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c

/home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:114: warning: braces around scalar initializer /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:114: warning: (near initialization for 'driver.fops') /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:115: error: field name not in record or union initializer /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:115: error: (near initialization for 'driver.fops') /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:115: warning: initialization from incompatible pointer type /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:116: error: field name not in record or union initializer /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:116: error: (near initialization for 'driver.fops') /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:116: warning: excess elements in scalar initializer /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:116: warning: (near initialization for 'driver.fops') /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:117: error: field name not in record or union initializer /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:117: error: (near initialization for 'driver.fops') /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:117: warning: excess elements in scalar initializer /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:117: warning: (near initialization for 'driver.fops') /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:121: error: field name not in record or union initializer /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:121: error: (near initialization for 'driver.fops') /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:121: warning: excess elements in scalar initializer /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:121: warning: (near initialization for 'driver.fops') /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:125: error: field name not in record or union initializer /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:125: error: (near initialization for 'driver.fops') /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:125: warning: excess elements in scalar initializer /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:125: warning: (near initialization for 'driver.fops') /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:126: error: field name not in record or union initializer /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:126: error: (near initialization for 'driver.fops') /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:126: warning: excess elements in scalar initializer /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:126: warning: (near initialization for 'driver.fops') /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:127: error: field name not in record or union initializer /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:127: error: (near initialization for 'driver.fops') /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:127: warning: excess elements in scalar initializer /home/gv/vboxguest/vboxvideo/vboxvideo_drm.c:127: warning: (near initialization for 'driver.fops') make[2]: * home/gv/vboxguest/vboxvideo/vboxvideo_drm.o Error 1 make[1]: * [_module_/home/gv/vboxguest/vboxvideo] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.32-279.1.1.el6.x86_64' make: * [vboxvideo] Error 2

Change History

comment:1 Changed 21 months ago by profkonyn

This is the same as the ticket I've opened 7 hours ago, except for the host: https://www.virtualbox.org/ticket/10756

comment:2 Changed 21 months ago by frank

  • Status changed from new to closed
  • Resolution set to duplicate

No need to open such duplicates, only the guest matters in this case.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use