| 1 | Building the main Guest Additions module for kernel 4.4.176-96-default.
|
|---|
| 2 | Building the shared folder support module.
|
|---|
| 3 | Error building the module. Build output follows.
|
|---|
| 4 | make V=1 CONFIG_MODULE_SIG= -C /lib/modules/4.4.176-96-default/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j1 modules
|
|---|
| 5 | make -C ../../../linux-4.4.176-96 O=/usr/src/linux-4.4.176-96-obj/x86_64/default/. modules
|
|---|
| 6 | make -C /usr/src/linux-4.4.176-96-obj/x86_64/default KBUILD_SRC=/usr/src/linux-4.4.176-96 \
|
|---|
| 7 | -f /usr/src/linux-4.4.176-96/Makefile modules
|
|---|
| 8 | test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
|
|---|
| 9 | echo >&2; \
|
|---|
| 10 | echo >&2 " ERROR: Kernel configuration is invalid."; \
|
|---|
| 11 | echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
|
|---|
| 12 | echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
|
|---|
| 13 | echo >&2 ; \
|
|---|
| 14 | /bin/false)
|
|---|
| 15 | mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
|
|---|
| 16 | make -f /usr/src/linux-4.4.176-96/scripts/Makefile.build obj=/tmp/vbox.0
|
|---|
| 17 | gcc -Wp,-MD,/tmp/vbox.0/.vfsmod.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.8/include -I/usr/src/linux-4.4.176-96/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.176-96/include -Iinclude -I/usr/src/linux-4.4.176-96/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.176-96/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.176-96/include/linux/kconfig.h -I/tmp/vbox.0 -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=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 -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Wno-declaration-after-statement -fno-pie -include /tmp/vbox.0//include/VBox/VBoxGuestMangling.h -fshort-wchar -I/lib/modules/4.4.176-96-default/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DVBOX_WITH_HGCM -DIN_MODULE -DIN_GUEST -DIN_GUEST_R0 -DRT_NO_EXPORT_SYMBOL -DVBOX_WITH_64_BITS_GUESTS -DRT_ARCH_AMD64 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(vfsmod)" -D"KBUILD_MODNAME=KBUILD_STR(vboxsf)" -c -o /tmp/vbox.0/.tmp_vfsmod.o /tmp/vbox.0/vfsmod.c
|
|---|
| 18 | if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/vfsmod.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/vbox.0/vfsmod.o"; fi; fi;
|
|---|
| 19 | gcc -Wp,-MD,/tmp/vbox.0/.dirops.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.8/include -I/usr/src/linux-4.4.176-96/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.176-96/include -Iinclude -I/usr/src/linux-4.4.176-96/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.176-96/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.176-96/include/linux/kconfig.h -I/tmp/vbox.0 -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=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 -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Wno-declaration-after-statement -fno-pie -include /tmp/vbox.0//include/VBox/VBoxGuestMangling.h -fshort-wchar -I/lib/modules/4.4.176-96-default/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DVBOX_WITH_HGCM -DIN_MODULE -DIN_GUEST -DIN_GUEST_R0 -DRT_NO_EXPORT_SYMBOL -DVBOX_WITH_64_BITS_GUESTS -DRT_ARCH_AMD64 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(dirops)" -D"KBUILD_MODNAME=KBUILD_STR(vboxsf)" -c -o /tmp/vbox.0/.tmp_dirops.o /tmp/vbox.0/dirops.c
|
|---|
| 20 | if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/dirops.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/vbox.0/dirops.o"; fi; fi;
|
|---|
| 21 | gcc -Wp,-MD,/tmp/vbox.0/.lnkops.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.8/include -I/usr/src/linux-4.4.176-96/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.176-96/include -Iinclude -I/usr/src/linux-4.4.176-96/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.176-96/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.176-96/include/linux/kconfig.h -I/tmp/vbox.0 -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=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 -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Wno-declaration-after-statement -fno-pie -include /tmp/vbox.0//include/VBox/VBoxGuestMangling.h -fshort-wchar -I/lib/modules/4.4.176-96-default/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DVBOX_WITH_HGCM -DIN_MODULE -DIN_GUEST -DIN_GUEST_R0 -DRT_NO_EXPORT_SYMBOL -DVBOX_WITH_64_BITS_GUESTS -DRT_ARCH_AMD64 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lnkops)" -D"KBUILD_MODNAME=KBUILD_STR(vboxsf)" -c -o /tmp/vbox.0/.tmp_lnkops.o /tmp/vbox.0/lnkops.c
|
|---|
| 22 | if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/lnkops.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/vbox.0/lnkops.o"; fi; fi;
|
|---|
| 23 | gcc -Wp,-MD,/tmp/vbox.0/.regops.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.8/include -I/usr/src/linux-4.4.176-96/arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -I/usr/src/linux-4.4.176-96/include -Iinclude -I/usr/src/linux-4.4.176-96/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-4.4.176-96/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-4.4.176-96/include/linux/kconfig.h -I/tmp/vbox.0 -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=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 -mindirect-branch=thunk-extern -mindirect-branch-register -DRETPOLINE -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -fno-var-tracking-assignments -fasynchronous-unwind-tables -g -gdwarf-4 -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Wno-declaration-after-statement -fno-pie -include /tmp/vbox.0//include/VBox/VBoxGuestMangling.h -fshort-wchar -I/lib/modules/4.4.176-96-default/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DVBOX_WITH_HGCM -DIN_MODULE -DIN_GUEST -DIN_GUEST_R0 -DRT_NO_EXPORT_SYMBOL -DVBOX_WITH_64_BITS_GUESTS -DRT_ARCH_AMD64 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(regops)" -D"KBUILD_MODNAME=KBUILD_STR(vboxsf)" -c -o /tmp/vbox.0/.tmp_regops.o /tmp/vbox.0/regops.c
|
|---|
| 24 | /tmp/vbox.0/regops.c: In function ‘vbsf_lock_user_pages’:
|
|---|
| 25 | /tmp/vbox.0/regops.c:1440:52: warning: passing argument 1 of ‘get_user_pages_unlocked’ makes integer from pointer without a cast [enabled by default]
|
|---|
| 26 | fWrite ? FOLL_WRITE | FOLL_FORCE : FOLL_FORCE);
|
|---|
| 27 | ^
|
|---|
| 28 | In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:101:0,
|
|---|
| 29 | from /tmp/vbox.0/vfsmod.h:43,
|
|---|
| 30 | from /tmp/vbox.0/regops.c:35:
|
|---|
| 31 | /usr/src/linux-4.4.176-96/include/linux/mm.h:1269:6: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’
|
|---|
| 32 | long get_user_pages_unlocked(unsigned long start, unsigned long nr_pages,
|
|---|
| 33 | ^
|
|---|
| 34 | /tmp/vbox.0/regops.c:1440:52: warning: passing argument 2 of ‘get_user_pages_unlocked’ makes integer from pointer without a cast [enabled by default]
|
|---|
| 35 | fWrite ? FOLL_WRITE | FOLL_FORCE : FOLL_FORCE);
|
|---|
| 36 | ^
|
|---|
| 37 | In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:101:0,
|
|---|
| 38 | from /tmp/vbox.0/vfsmod.h:43,
|
|---|
| 39 | from /tmp/vbox.0/regops.c:35:
|
|---|
| 40 | /usr/src/linux-4.4.176-96/include/linux/mm.h:1269:6: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
|
|---|
| 41 | long get_user_pages_unlocked(unsigned long start, unsigned long nr_pages,
|
|---|
| 42 | ^
|
|---|
| 43 | /tmp/vbox.0/regops.c:1440:52: warning: passing argument 3 of ‘get_user_pages_unlocked’ makes pointer from integer without a cast [enabled by default]
|
|---|
| 44 | fWrite ? FOLL_WRITE | FOLL_FORCE : FOLL_FORCE);
|
|---|
| 45 | ^
|
|---|
| 46 | In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:101:0,
|
|---|
| 47 | from /tmp/vbox.0/vfsmod.h:43,
|
|---|
| 48 | from /tmp/vbox.0/regops.c:35:
|
|---|
| 49 | /usr/src/linux-4.4.176-96/include/linux/mm.h:1269:6: note: expected ‘struct page **’ but argument is of type ‘uintptr_t’
|
|---|
| 50 | long get_user_pages_unlocked(unsigned long start, unsigned long nr_pages,
|
|---|
| 51 | ^
|
|---|
| 52 | /tmp/vbox.0/regops.c:1440:52: error: too many arguments to function ‘get_user_pages_unlocked’
|
|---|
| 53 | fWrite ? FOLL_WRITE | FOLL_FORCE : FOLL_FORCE);
|
|---|
| 54 | ^
|
|---|
| 55 | In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:101:0,
|
|---|
| 56 | from /tmp/vbox.0/vfsmod.h:43,
|
|---|
| 57 | from /tmp/vbox.0/regops.c:35:
|
|---|
| 58 | /usr/src/linux-4.4.176-96/include/linux/mm.h:1269:6: note: declared here
|
|---|
| 59 | long get_user_pages_unlocked(unsigned long start, unsigned long nr_pages,
|
|---|
| 60 | ^
|
|---|
| 61 | /tmp/vbox.0/regops.c: At top level:
|
|---|
| 62 | /tmp/vbox.0/regops.c:3767:5: warning: initialization from incompatible pointer type [enabled by default]
|
|---|
| 63 | .direct_IO = vbsf_direct_IO,
|
|---|
| 64 | ^
|
|---|
| 65 | /tmp/vbox.0/regops.c:3767:5: warning: (near initialization for ‘vbsf_reg_aops.direct_IO’) [enabled by default]
|
|---|
| 66 | /usr/src/linux-4.4.176-96/scripts/Makefile.build:278: recipe for target '/tmp/vbox.0/regops.o' failed
|
|---|
| 67 | make[4]: *** [/tmp/vbox.0/regops.o] Error 1
|
|---|
| 68 | /usr/src/linux-4.4.176-96/Makefile:1462: recipe for target '_module_/tmp/vbox.0' failed
|
|---|
| 69 | make[3]: *** [_module_/tmp/vbox.0] Error 2
|
|---|
| 70 | Makefile:152: recipe for target 'sub-make' failed
|
|---|
| 71 | make[2]: *** [sub-make] Error 2
|
|---|
| 72 | Makefile:24: recipe for target '__sub-make' failed
|
|---|
| 73 | make[1]: *** [__sub-make] Error 2
|
|---|
| 74 | /tmp/vbox.0/Makefile-footer.gmk:107: recipe for target 'vboxsf' failed
|
|---|
| 75 | make: *** [vboxsf] Error 2
|
|---|
| 76 | Installing X.Org Server 1.18 modules
|
|---|
| 77 | You may need to restart the Window System (or just restart the guest system)
|
|---|
| 78 | to enable the Guest Additions.
|
|---|