| 1 | Building the main Guest Additions module.
|
|---|
| 2 | make V=1 CONFIG_MODULE_SIG= -C /lib/modules/4.15.0-0.rc0.git7.2.fc28.x86_64/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j2 modules
|
|---|
| 3 | make[1]: warning: -jN forced in submake: disabling jobserver mode.
|
|---|
| 4 | test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
|
|---|
| 5 | echo >&2; \
|
|---|
| 6 | echo >&2 " ERROR: Kernel configuration is invalid."; \
|
|---|
| 7 | echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
|
|---|
| 8 | echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
|
|---|
| 9 | echo >&2 ; \
|
|---|
| 10 | /bin/false)
|
|---|
| 11 | mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
|
|---|
| 12 | make -f ./scripts/Makefile.build obj=/tmp/vbox.0
|
|---|
| 13 | gcc -Wp,-MD,/tmp/vbox.0/.VBoxGuest-linux.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/7/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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 -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fvar-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-declaration-after-statement -include /tmp/vbox.0/include/VBox/VBoxGuestMangling.h -fno-pie -I/lib/modules/4.15.0-0.rc0.git7.2.fc28.x86_64/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxguest/ -I/tmp/vbox.0/vboxguest/include -I/tmp/vbox.0/vboxguest/r0drv/linux -D__KERNEL__ -DMODULE -DVBOX -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_GUEST -DIN_GUEST_R0 -DIN_MODULE -DRT_WITH_VBOX -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -DKBUILD_BASENAME='"VBoxGuest_linux"' -DKBUILD_MODNAME='"vboxguest"' -c -o /tmp/vbox.0/VBoxGuest-linux.o /tmp/vbox.0/VBoxGuest-linux.c
|
|---|
| 14 | gcc -Wp,-MD,/tmp/vbox.0/.VBoxGuest.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/7/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -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 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -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 -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -DCC_HAVE_ASM_GOTO -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fvar-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-declaration-after-statement -include /tmp/vbox.0/include/VBox/VBoxGuestMangling.h -fno-pie -I/lib/modules/4.15.0-0.rc0.git7.2.fc28.x86_64/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxguest/ -I/tmp/vbox.0/vboxguest/include -I/tmp/vbox.0/vboxguest/r0drv/linux -D__KERNEL__ -DMODULE -DVBOX -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_GUEST -DIN_GUEST_R0 -DIN_MODULE -DRT_WITH_VBOX -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -DKBUILD_BASENAME='"VBoxGuest"' -DKBUILD_MODNAME='"vboxguest"' -c -o /tmp/vbox.0/VBoxGuest.o /tmp/vbox.0/VBoxGuest.c
|
|---|
| 15 | In file included from ./include/linux/module.h:18:0,
|
|---|
| 16 | from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:88,
|
|---|
| 17 | from /tmp/vbox.0/VBoxGuest-linux.c:36:
|
|---|
| 18 | /tmp/vbox.0/VBoxGuest-linux.c:1165:35: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
|
|---|
| 19 | module_param_call(log, vgdrvLinuxParamLogGrpSet, vgdrvLinuxParamLogGrpGet, NULL, 0664);
|
|---|
| 20 | ^
|
|---|
| 21 | ./include/linux/moduleparam.h:233:24: note: in definition of macro ‘module_param_call’
|
|---|
| 22 | { .flags = 0, .set = _set, .get = _get }; \
|
|---|
| 23 | ^~~~
|
|---|
| 24 | /tmp/vbox.0/VBoxGuest-linux.c:1165:35: note: (near initialization for ‘__param_ops_log.set’)
|
|---|
| 25 | module_param_call(log, vgdrvLinuxParamLogGrpSet, vgdrvLinuxParamLogGrpGet, NULL, 0664);
|
|---|
| 26 | ^
|
|---|
| 27 | ./include/linux/moduleparam.h:233:24: note: in definition of macro ‘module_param_call’
|
|---|
| 28 | { .flags = 0, .set = _set, .get = _get }; \
|
|---|
| 29 | ^~~~
|
|---|
| 30 | /tmp/vbox.0/VBoxGuest-linux.c:1165:63: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
|
|---|
| 31 | module_param_call(log, vgdrvLinuxParamLogGrpSet, vgdrvLinuxParamLogGrpGet, NULL, 0664);
|
|---|
| 32 | ^
|
|---|
| 33 | ./include/linux/moduleparam.h:233:37: note: in definition of macro ‘module_param_call’
|
|---|
| 34 | { .flags = 0, .set = _set, .get = _get }; \
|
|---|
| 35 | ^~~~
|
|---|
| 36 | /tmp/vbox.0/VBoxGuest-linux.c:1165:63: note: (near initialization for ‘__param_ops_log.get’)
|
|---|
| 37 | module_param_call(log, vgdrvLinuxParamLogGrpSet, vgdrvLinuxParamLogGrpGet, NULL, 0664);
|
|---|
| 38 | ^
|
|---|
| 39 | ./include/linux/moduleparam.h:233:37: note: in definition of macro ‘module_param_call’
|
|---|
| 40 | { .flags = 0, .set = _set, .get = _get }; \
|
|---|
| 41 | ^~~~
|
|---|
| 42 | /tmp/vbox.0/VBoxGuest-linux.c:1166:35: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
|
|---|
| 43 | module_param_call(log_flags, vgdrvLinuxParamLogFlagsSet, vgdrvLinuxParamLogFlagsGet, NULL, 0664);
|
|---|
| 44 | ^
|
|---|
| 45 | ./include/linux/moduleparam.h:233:24: note: in definition of macro ‘module_param_call’
|
|---|
| 46 | { .flags = 0, .set = _set, .get = _get }; \
|
|---|
| 47 | ^~~~
|
|---|
| 48 | /tmp/vbox.0/VBoxGuest-linux.c:1166:35: note: (near initialization for ‘__param_ops_log_flags.set’)
|
|---|
| 49 | module_param_call(log_flags, vgdrvLinuxParamLogFlagsSet, vgdrvLinuxParamLogFlagsGet, NULL, 0664);
|
|---|
| 50 | ^
|
|---|
| 51 | ./include/linux/moduleparam.h:233:24: note: in definition of macro ‘module_param_call’
|
|---|
| 52 | { .flags = 0, .set = _set, .get = _get }; \
|
|---|
| 53 | ^~~~
|
|---|
| 54 | /tmp/vbox.0/VBoxGuest-linux.c:1166:63: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
|
|---|
| 55 | module_param_call(log_flags, vgdrvLinuxParamLogFlagsSet, vgdrvLinuxParamLogFlagsGet, NULL, 0664);
|
|---|
| 56 | ^
|
|---|
| 57 | ./include/linux/moduleparam.h:233:37: note: in definition of macro ‘module_param_call’
|
|---|
| 58 | { .flags = 0, .set = _set, .get = _get }; \
|
|---|
| 59 | ^~~~
|
|---|
| 60 | /tmp/vbox.0/VBoxGuest-linux.c:1166:63: note: (near initialization for ‘__param_ops_log_flags.get’)
|
|---|
| 61 | module_param_call(log_flags, vgdrvLinuxParamLogFlagsSet, vgdrvLinuxParamLogFlagsGet, NULL, 0664);
|
|---|
| 62 | ^
|
|---|
| 63 | ./include/linux/moduleparam.h:233:37: note: in definition of macro ‘module_param_call’
|
|---|
| 64 | { .flags = 0, .set = _set, .get = _get }; \
|
|---|
| 65 | ^~~~
|
|---|
| 66 | /tmp/vbox.0/VBoxGuest-linux.c:1167:35: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
|
|---|
| 67 | module_param_call(log_dest, vgdrvLinuxParamLogDstSet, vgdrvLinuxParamLogDstGet, NULL, 0664);
|
|---|
| 68 | ^
|
|---|
| 69 | ./include/linux/moduleparam.h:233:24: note: in definition of macro ‘module_param_call’
|
|---|
| 70 | { .flags = 0, .set = _set, .get = _get }; \
|
|---|
| 71 | ^~~~
|
|---|
| 72 | /tmp/vbox.0/VBoxGuest-linux.c:1167:35: note: (near initialization for ‘__param_ops_log_dest.set’)
|
|---|
| 73 | module_param_call(log_dest, vgdrvLinuxParamLogDstSet, vgdrvLinuxParamLogDstGet, NULL, 0664);
|
|---|
| 74 | ^
|
|---|
| 75 | ./include/linux/moduleparam.h:233:24: note: in definition of macro ‘module_param_call’
|
|---|
| 76 | { .flags = 0, .set = _set, .get = _get }; \
|
|---|
| 77 | ^~~~
|
|---|
| 78 | /tmp/vbox.0/VBoxGuest-linux.c:1167:63: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
|
|---|
| 79 | module_param_call(log_dest, vgdrvLinuxParamLogDstSet, vgdrvLinuxParamLogDstGet, NULL, 0664);
|
|---|
| 80 | ^
|
|---|
| 81 | ./include/linux/moduleparam.h:233:37: note: in definition of macro ‘module_param_call’
|
|---|
| 82 | { .flags = 0, .set = _set, .get = _get }; \
|
|---|
| 83 | ^~~~
|
|---|
| 84 | /tmp/vbox.0/VBoxGuest-linux.c:1167:63: note: (near initialization for ‘__param_ops_log_dest.get’)
|
|---|
| 85 | module_param_call(log_dest, vgdrvLinuxParamLogDstSet, vgdrvLinuxParamLogDstGet, NULL, 0664);
|
|---|
| 86 | ^
|
|---|
| 87 | ./include/linux/moduleparam.h:233:37: note: in definition of macro ‘module_param_call’
|
|---|
| 88 | { .flags = 0, .set = _set, .get = _get }; \
|
|---|
| 89 | ^~~~
|
|---|
| 90 | /tmp/vbox.0/VBoxGuest-linux.c:1173:35: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
|
|---|
| 91 | module_param_call(r3_log_to_host, vgdrvLinuxParamR3LogToHostSet, vgdrvLinuxParamR3LogToHostGet, NULL, 0664);
|
|---|
| 92 | ^
|
|---|
| 93 | ./include/linux/moduleparam.h:233:24: note: in definition of macro ‘module_param_call’
|
|---|
| 94 | { .flags = 0, .set = _set, .get = _get }; \
|
|---|
| 95 | ^~~~
|
|---|
| 96 | /tmp/vbox.0/VBoxGuest-linux.c:1173:35: note: (near initialization for ‘__param_ops_r3_log_to_host.set’)
|
|---|
| 97 | module_param_call(r3_log_to_host, vgdrvLinuxParamR3LogToHostSet, vgdrvLinuxParamR3LogToHostGet, NULL, 0664);
|
|---|
| 98 | ^
|
|---|
| 99 | ./include/linux/moduleparam.h:233:24: note: in definition of macro ‘module_param_call’
|
|---|
| 100 | { .flags = 0, .set = _set, .get = _get }; \
|
|---|
| 101 | ^~~~
|
|---|
| 102 | /tmp/vbox.0/VBoxGuest-linux.c:1173:66: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
|
|---|
| 103 | module_param_call(r3_log_to_host, vgdrvLinuxParamR3LogToHostSet, vgdrvLinuxParamR3LogToHostGet, NULL, 0664);
|
|---|
| 104 | ^
|
|---|
| 105 | ./include/linux/moduleparam.h:233:37: note: in definition of macro ‘module_param_call’
|
|---|
| 106 | { .flags = 0, .set = _set, .get = _get }; \
|
|---|
| 107 | ^~~~
|
|---|
| 108 | /tmp/vbox.0/VBoxGuest-linux.c:1173:66: note: (near initialization for ‘__param_ops_r3_log_to_host.get’)
|
|---|
| 109 | module_param_call(r3_log_to_host, vgdrvLinuxParamR3LogToHostSet, vgdrvLinuxParamR3LogToHostGet, NULL, 0664);
|
|---|
| 110 | ^
|
|---|
| 111 | ./include/linux/moduleparam.h:233:37: note: in definition of macro ‘module_param_call’
|
|---|
| 112 | { .flags = 0, .set = _set, .get = _get }; \
|
|---|
| 113 | ^~~~
|
|---|
| 114 | cc1: some warnings being treated as errors
|
|---|
| 115 | make[2]: *** [scripts/Makefile.build:305: /tmp/vbox.0/VBoxGuest-linux.o] Error 1
|
|---|
| 116 | make[2]: *** Waiting for unfinished jobs....
|
|---|
| 117 | ./tools/objtool/objtool orc generate --no-fp "/tmp/vbox.0/VBoxGuest.o";
|
|---|
| 118 | if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/VBoxGuest.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/vbox.0/VBoxGuest.o"; fi; fi;
|
|---|
| 119 | make[1]: *** [Makefile:1505: _module_/tmp/vbox.0] Error 2
|
|---|
| 120 | make: *** [/tmp/vbox.0/Makefile.include.footer:101: vboxguest] Error 2
|
|---|
| 121 | Creating user for the Guest Additions.
|
|---|
| 122 | Creating udev rule for the Guest Additions kernel module.
|
|---|
| 123 | modprobe vboxguest failed
|
|---|