VirtualBox

Opened 6 years ago

#17412 new defect

Installing Guest Additions 5.2.4 on CentOS 7 fails

Reported by: gbartlett Owned by:
Component: guest additions/x11/graphics Version: VirtualBox 5.2.4
Keywords: Cc:
Guest type: Linux Host type: Windows

Description

Host: Windows 7, 64-bit, VirtualBox 5.2.4 Guest: CentOS 7 with all upgrades, initially set up for VirtualBox 5.1.22

Bug: When I upgraded VirtualBox and ran the Guest Additions installer in my CentOS guest to upgrade Guest Additions, the video driver build failed. It seems to have failed on an unimportant driver, because it actually works correctly. Still, it's worth reporting the build failure. The attached is an excerpt from the log file.

Building the graphics driver module make V=1 CONFIG_MODULE_SIG= -C /lib/modules/3.10.0-327.18.2.el7.x86_64/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j2 modules make[1]: warning: -jN forced in submake: disabling jobserver mode.

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

echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/* make -f scripts/Makefile.build obj=/tmp/vbox.0

gcc -Wp,-MD,/tmp/vbox.0/.hgsmi_base.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include -I/usr/src/kernels/3.10.0-327.18.2.el7.x86_64/arch/x86/include -Iarch/x86/include/generated -Iinclude -I/usr/src/kernels/3.10.0-327.18.2.el7.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/3.10.0-327.18.2.el7.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/3.10.0-327.18.2.el7.x86_64/include/linux/kconfig.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 -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -Wframe-larger-than=2048 -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/lib/modules/3.10.0-327.18.2.el7.x86_64/build/include -I/tmp/vbox.0 -Iinclude/drm -DKERNEL -DMODULE -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(hgsmi_base)" -D"KBUILD_MODNAME=KBUILD_STR(vboxvideo)" -c -o /tmp/vbox.0/.tmp_hgsmi_base.o /tmp/vbox.0/hgsmi_base.c gcc -Wp,-MD,/tmp/vbox.0/.modesetting.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include -I/usr/src/kernels/3.10.0-327.18.2.el7.x86_64/arch/x86/include -Iarch/x86/include/generated -Iinclude -I/usr/src/kernels/3.10.0-327.18.2.el7.x86_64/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/kernels/3.10.0-327.18.2.el7.x86_64/include/uapi -Iinclude/generated/uapi -include /usr/src/kernels/3.10.0-327.18.2.el7.x86_64/include/linux/kconfig.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 -mno-sse -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -Wframe-larger-than=2048 -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/lib/modules/3.10.0-327.18.2.el7.x86_64/build/include -I/tmp/vbox.0 -Iinclude/drm -DKERNEL -DMODULE -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(modesetting)" -D"KBUILD_MODNAME=KBUILD_STR(vboxvideo)" -c -o /tmp/vbox.0/.tmp_modesetting.o /tmp/vbox.0/modesetting.c

In file included from /tmp/vbox.0/vboxvideo_guest.h:32:0,

from /tmp/vbox.0/modesetting.c:27:

/tmp/vbox.0/vbox_drv.h:256:24: error: field ‘gem’ has incomplete type

struct drm_gem_object gem;

In file included from /tmp/vbox.0/hgsmi_base.c:27:0: /tmp/vbox.0/vbox_drv.h:256:24: error: field ‘gem’ has incomplete type

struct drm_gem_object gem;

make[2]: * tmp/vbox.0/hgsmi_base.o Error 1 make[2]: * Waiting for unfinished jobs.... make[2]: * tmp/vbox.0/modesetting.o Error 1 make[1]: * [_module_/tmp/vbox.0] Error 2 make: * [vboxvideo] Error 2

Change History (0)

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use