| 1 | Building the main Guest Additions 6.0.10 module for kernel 3.10.0-1062.el7.x86_64.
|
|---|
| 2 | Building the shared folder support module.
|
|---|
| 3 | Building the graphics driver module.
|
|---|
| 4 | Error building the module. Build output follows.
|
|---|
| 5 | make V=1 CONFIG_MODULE_SIG= -C /lib/modules/3.10.0-1062.el7.x86_64/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j4 modules
|
|---|
| 6 | make[1]: warning: -jN forced in submake: disabling jobserver mode.
|
|---|
| 7 | test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
|
|---|
| 8 | echo >&2; \
|
|---|
| 9 | echo >&2 " ERROR: Kernel configuration is invalid."; \
|
|---|
| 10 | echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
|
|---|
| 11 | echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
|
|---|
| 12 | echo >&2 ; \
|
|---|
| 13 | /bin/false)
|
|---|
| 14 | mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
|
|---|
| 15 | make -f scripts/Makefile.build obj=/tmp/vbox.0
|
|---|
| 16 | gcc -Wp,-MD,/tmp/vbox.0/.hgsmi_base.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./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 -std=gnu89 -O2 -m64 -mno-mmx -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 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -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./include -I/tmp/vbox.0/ -Iinclude/drm -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE -DRT_ARCH_AMD64 -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
|
|---|
| 17 | gcc -Wp,-MD,/tmp/vbox.0/.modesetting.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./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 -std=gnu89 -O2 -m64 -mno-mmx -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 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -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./include -I/tmp/vbox.0/ -Iinclude/drm -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE -DRT_ARCH_AMD64 -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
|
|---|
| 18 | gcc -Wp,-MD,/tmp/vbox.0/.vbox_drv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./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 -std=gnu89 -O2 -m64 -mno-mmx -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 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -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./include -I/tmp/vbox.0/ -Iinclude/drm -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE -DRT_ARCH_AMD64 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(vbox_drv)" -D"KBUILD_MODNAME=KBUILD_STR(vboxvideo)" -c -o /tmp/vbox.0/.tmp_vbox_drv.o /tmp/vbox.0/vbox_drv.c
|
|---|
| 19 | gcc -Wp,-MD,/tmp/vbox.0/.vbox_fb.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./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 -std=gnu89 -O2 -m64 -mno-mmx -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 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -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./include -I/tmp/vbox.0/ -Iinclude/drm -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE -DRT_ARCH_AMD64 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(vbox_fb)" -D"KBUILD_MODNAME=KBUILD_STR(vboxvideo)" -c -o /tmp/vbox.0/.tmp_vbox_fb.o /tmp/vbox.0/vbox_fb.c
|
|---|
| 20 | In file included from /tmp/vbox.0/vboxvideo_guest.h:34:0,
|
|---|
| 21 | from /tmp/vbox.0/modesetting.c:27:
|
|---|
| 22 | /tmp/vbox.0/vbox_drv.h:187:31: error: field ‘mem_global_ref’ has incomplete type
|
|---|
| 23 | struct drm_global_reference mem_global_ref;
|
|---|
| 24 | ^
|
|---|
| 25 | /tmp/vbox.0/vbox_drv.h:188:28: error: field ‘bo_global_ref’ has incomplete type
|
|---|
| 26 | struct ttm_bo_global_ref bo_global_ref;
|
|---|
| 27 | ^
|
|---|
| 28 | In file included from /tmp/vbox.0/hgsmi_base.c:27:0:
|
|---|
| 29 | /tmp/vbox.0/vbox_drv.h:187:31: error: field ‘mem_global_ref’ has incomplete type
|
|---|
| 30 | struct drm_global_reference mem_global_ref;
|
|---|
| 31 | ^
|
|---|
| 32 | /tmp/vbox.0/vbox_drv.h:188:28: error: field ‘bo_global_ref’ has incomplete type
|
|---|
| 33 | struct ttm_bo_global_ref bo_global_ref;
|
|---|
| 34 | ^
|
|---|
| 35 | In file included from /tmp/vbox.0/vbox_fb.c:46:0:
|
|---|
| 36 | /tmp/vbox.0/vbox_drv.h:187:31: error: field ‘mem_global_ref’ has incomplete type
|
|---|
| 37 | struct drm_global_reference mem_global_ref;
|
|---|
| 38 | ^
|
|---|
| 39 | /tmp/vbox.0/vbox_drv.h:188:28: error: field ‘bo_global_ref’ has incomplete type
|
|---|
| 40 | struct ttm_bo_global_ref bo_global_ref;
|
|---|
| 41 | ^
|
|---|
| 42 | In file included from /tmp/vbox.0/vbox_drv.c:38:0:
|
|---|
| 43 | /tmp/vbox.0/vbox_drv.h:187:31: error: field ‘mem_global_ref’ has incomplete type
|
|---|
| 44 | struct drm_global_reference mem_global_ref;
|
|---|
| 45 | ^
|
|---|
| 46 | /tmp/vbox.0/vbox_drv.h:188:28: error: field ‘bo_global_ref’ has incomplete type
|
|---|
| 47 | struct ttm_bo_global_ref bo_global_ref;
|
|---|
| 48 | ^
|
|---|
| 49 | make[2]: *** [/tmp/vbox.0/hgsmi_base.o] Error 1
|
|---|
| 50 | make[2]: *** Waiting for unfinished jobs....
|
|---|
| 51 | make[2]: *** [/tmp/vbox.0/modesetting.o] Error 1
|
|---|
| 52 | make[2]: *** [/tmp/vbox.0/vbox_fb.o] Error 1
|
|---|
| 53 | make[2]: *** [/tmp/vbox.0/vbox_drv.o] Error 1
|
|---|
| 54 | make[1]: *** [_module_/tmp/vbox.0] Error 2
|
|---|
| 55 | make: *** [vboxvideo] Error 2
|
|---|