| 1 | Building the main Guest Additions module.
|
|---|
| 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-957.el7.x86_64/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j2 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/lib/modules/3.10.0-957.el7.x86_64/build/include -I/tmp/vbox.0 -Iinclude/drm -D__KERNEL__ -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
|
|---|
| 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/lib/modules/3.10.0-957.el7.x86_64/build/include -I/tmp/vbox.0 -Iinclude/drm -D__KERNEL__ -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
|
|---|
| 18 | if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/modesetting.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/vbox.0/modesetting.o"; fi; fi;
|
|---|
| 19 | if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/hgsmi_base.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/vbox.0/hgsmi_base.o"; fi; fi;
|
|---|
| 20 | 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/lib/modules/3.10.0-957.el7.x86_64/build/include -I/tmp/vbox.0 -Iinclude/drm -D__KERNEL__ -DMODULE -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
|
|---|
| 21 | 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/lib/modules/3.10.0-957.el7.x86_64/build/include -I/tmp/vbox.0 -Iinclude/drm -D__KERNEL__ -DMODULE -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
|
|---|
| 22 | if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/vbox_drv.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/vbox.0/vbox_drv.o"; fi; fi;
|
|---|
| 23 | gcc -Wp,-MD,/tmp/vbox.0/.vbox_irq.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/lib/modules/3.10.0-957.el7.x86_64/build/include -I/tmp/vbox.0 -Iinclude/drm -D__KERNEL__ -DMODULE -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(vbox_irq)" -D"KBUILD_MODNAME=KBUILD_STR(vboxvideo)" -c -o /tmp/vbox.0/.tmp_vbox_irq.o /tmp/vbox.0/vbox_irq.c
|
|---|
| 24 | if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/vbox_fb.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/vbox.0/vbox_fb.o"; fi; fi;
|
|---|
| 25 | gcc -Wp,-MD,/tmp/vbox.0/.vbox_main.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/lib/modules/3.10.0-957.el7.x86_64/build/include -I/tmp/vbox.0 -Iinclude/drm -D__KERNEL__ -DMODULE -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(vbox_main)" -D"KBUILD_MODNAME=KBUILD_STR(vboxvideo)" -c -o /tmp/vbox.0/.tmp_vbox_main.o /tmp/vbox.0/vbox_main.c
|
|---|
| 26 | if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/vbox_irq.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/vbox.0/vbox_irq.o"; fi; fi;
|
|---|
| 27 | gcc -Wp,-MD,/tmp/vbox.0/.vbox_mode.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/lib/modules/3.10.0-957.el7.x86_64/build/include -I/tmp/vbox.0 -Iinclude/drm -D__KERNEL__ -DMODULE -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(vbox_mode)" -D"KBUILD_MODNAME=KBUILD_STR(vboxvideo)" -c -o /tmp/vbox.0/.tmp_vbox_mode.o /tmp/vbox.0/vbox_mode.c
|
|---|
| 28 | if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/vbox_main.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount "/tmp/vbox.0/vbox_main.o"; fi; fi;
|
|---|
| 29 | gcc -Wp,-MD,/tmp/vbox.0/.vbox_ttm.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/lib/modules/3.10.0-957.el7.x86_64/build/include -I/tmp/vbox.0 -Iinclude/drm -D__KERNEL__ -DMODULE -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(vbox_ttm)" -D"KBUILD_MODNAME=KBUILD_STR(vboxvideo)" -c -o /tmp/vbox.0/.tmp_vbox_ttm.o /tmp/vbox.0/vbox_ttm.c
|
|---|
| 30 | /tmp/vbox.0/vbox_mode.c: In function 'vbox_best_single_encoder':
|
|---|
| 31 | /tmp/vbox.0/vbox_mode.c:358:3: warning: passing argument 2 of 'drm_encoder_find' makes pointer from integer without a cast [enabled by default]
|
|---|
| 32 | return drm_encoder_find(connector->dev, enc_id);
|
|---|
| 33 | ^
|
|---|
| 34 | In file included from /tmp/vbox.0/vbox_drv.h:89:0,
|
|---|
| 35 | from /tmp/vbox.0/vbox_mode.c:35:
|
|---|
| 36 | include/drm/drm_encoder.h:221:35: note: expected 'struct drm_file *' but argument is of type 'int'
|
|---|
| 37 | static inline struct drm_encoder *drm_encoder_find(struct drm_device *dev,
|
|---|
| 38 | ^
|
|---|
| 39 | /tmp/vbox.0/vbox_mode.c:358:3: error: too few arguments to function 'drm_encoder_find'
|
|---|
| 40 | return drm_encoder_find(connector->dev, enc_id);
|
|---|
| 41 | ^
|
|---|
| 42 | In file included from /tmp/vbox.0/vbox_drv.h:89:0,
|
|---|
| 43 | from /tmp/vbox.0/vbox_mode.c:35:
|
|---|
| 44 | include/drm/drm_encoder.h:221:35: note: declared here
|
|---|
| 45 | static inline struct drm_encoder *drm_encoder_find(struct drm_device *dev,
|
|---|
| 46 | ^
|
|---|
| 47 | make[2]: *** [/tmp/vbox.0/vbox_mode.o] Error 1
|
|---|
| 48 | make[2]: *** Waiting for unfinished jobs....
|
|---|
| 49 | /tmp/vbox.0/vbox_ttm.c: In function 'vbox_ttm_tt_create':
|
|---|
| 50 | /tmp/vbox.0/vbox_ttm.c:225:2: warning: passing argument 2 of 'ttm_tt_init' from incompatible pointer type [enabled by default]
|
|---|
| 51 | if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) {
|
|---|
| 52 | ^
|
|---|
| 53 | In file included from include/drm/ttm/ttm_bo_driver.h:45:0,
|
|---|
| 54 | from /tmp/vbox.0/vbox_drv.h:93,
|
|---|
| 55 | from /tmp/vbox.0/vbox_ttm.c:31:
|
|---|
| 56 | include/drm/ttm/ttm_tt.h:161:5: note: expected 'struct ttm_buffer_object *' but argument is of type 'struct ttm_bo_device *'
|
|---|
| 57 | int ttm_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo,
|
|---|
| 58 | ^
|
|---|
| 59 | /tmp/vbox.0/vbox_ttm.c:225:2: error: too many arguments to function 'ttm_tt_init'
|
|---|
| 60 | if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) {
|
|---|
| 61 | ^
|
|---|
| 62 | In file included from include/drm/ttm/ttm_bo_driver.h:45:0,
|
|---|
| 63 | from /tmp/vbox.0/vbox_drv.h:93,
|
|---|
| 64 | from /tmp/vbox.0/vbox_ttm.c:31:
|
|---|
| 65 | include/drm/ttm/ttm_tt.h:161:5: note: declared here
|
|---|
| 66 | int ttm_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo,
|
|---|
| 67 | ^
|
|---|
| 68 | /tmp/vbox.0/vbox_ttm.c: In function 'vbox_ttm_tt_populate':
|
|---|
| 69 | /tmp/vbox.0/vbox_ttm.c:240:2: error: too few arguments to function 'ttm_pool_populate'
|
|---|
| 70 | return ttm_pool_populate(ttm);
|
|---|
| 71 | ^
|
|---|
| 72 | In file included from /tmp/vbox.0/vbox_ttm.c:32:0:
|
|---|
| 73 | include/drm/ttm/ttm_page_alloc.h:50:5: note: declared here
|
|---|
| 74 | int ttm_pool_populate(struct ttm_tt *ttm, struct ttm_operation_ctx *ctx);
|
|---|
| 75 | ^
|
|---|
| 76 | /tmp/vbox.0/vbox_ttm.c: At top level:
|
|---|
| 77 | /tmp/vbox.0/vbox_ttm.c:257:2: warning: initialization from incompatible pointer type [enabled by default]
|
|---|
| 78 | .ttm_tt_create = vbox_ttm_tt_create,
|
|---|
| 79 | ^
|
|---|
| 80 | /tmp/vbox.0/vbox_ttm.c:257:2: warning: (near initialization for 'vbox_bo_driver.ttm_tt_create') [enabled by default]
|
|---|
| 81 | /tmp/vbox.0/vbox_ttm.c:259:2: warning: initialization from incompatible pointer type [enabled by default]
|
|---|
| 82 | .ttm_tt_populate = vbox_ttm_tt_populate,
|
|---|
| 83 | ^
|
|---|
| 84 | /tmp/vbox.0/vbox_ttm.c:259:2: warning: (near initialization for 'vbox_bo_driver.ttm_tt_populate') [enabled by default]
|
|---|
| 85 | /tmp/vbox.0/vbox_ttm.c:272:16: error: 'ttm_bo_default_io_mem_pfn' undeclared here (not in a function)
|
|---|
| 86 | .io_mem_pfn = ttm_bo_default_io_mem_pfn,
|
|---|
| 87 | ^
|
|---|
| 88 | /tmp/vbox.0/vbox_ttm.c: In function 'vbox_bo_create':
|
|---|
| 89 | /tmp/vbox.0/vbox_ttm.c:417:6: warning: passing argument 8 of 'ttm_bo_init' makes integer from pointer without a cast [enabled by default]
|
|---|
| 90 | NULL, vbox_bo_ttm_destroy);
|
|---|
| 91 | ^
|
|---|
| 92 | In file included from /tmp/vbox.0/vbox_drv.h:92:0,
|
|---|
| 93 | from /tmp/vbox.0/vbox_ttm.c:31:
|
|---|
| 94 | include/drm/ttm/ttm_bo_api.h:544:5: note: expected 'size_t' but argument is of type 'void *'
|
|---|
| 95 | int ttm_bo_init(struct ttm_bo_device *bdev, struct ttm_buffer_object *bo,
|
|---|
| 96 | ^
|
|---|
| 97 | /tmp/vbox.0/vbox_ttm.c:417:6: warning: passing argument 9 of 'ttm_bo_init' makes pointer from integer without a cast [enabled by default]
|
|---|
| 98 | NULL, vbox_bo_ttm_destroy);
|
|---|
| 99 | ^
|
|---|
| 100 | In file included from /tmp/vbox.0/vbox_drv.h:92:0,
|
|---|
| 101 | from /tmp/vbox.0/vbox_ttm.c:31:
|
|---|
| 102 | include/drm/ttm/ttm_bo_api.h:544:5: note: expected 'struct sg_table *' but argument is of type 'size_t'
|
|---|
| 103 | int ttm_bo_init(struct ttm_bo_device *bdev, struct ttm_buffer_object *bo,
|
|---|
| 104 | ^
|
|---|
| 105 | /tmp/vbox.0/vbox_ttm.c:417:6: error: too many arguments to function 'ttm_bo_init'
|
|---|
| 106 | NULL, vbox_bo_ttm_destroy);
|
|---|
| 107 | ^
|
|---|
| 108 | In file included from /tmp/vbox.0/vbox_drv.h:92:0,
|
|---|
| 109 | from /tmp/vbox.0/vbox_ttm.c:31:
|
|---|
| 110 | include/drm/ttm/ttm_bo_api.h:544:5: note: declared here
|
|---|
| 111 | int ttm_bo_init(struct ttm_bo_device *bdev, struct ttm_buffer_object *bo,
|
|---|
| 112 | ^
|
|---|
| 113 | /tmp/vbox.0/vbox_ttm.c: In function 'vbox_bo_pin':
|
|---|
| 114 | /tmp/vbox.0/vbox_ttm.c:452:2: error: too many arguments to function 'ttm_bo_validate'
|
|---|
| 115 | ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false);
|
|---|
| 116 | ^
|
|---|
| 117 | In file included from /tmp/vbox.0/vbox_drv.h:92:0,
|
|---|
| 118 | from /tmp/vbox.0/vbox_ttm.c:31:
|
|---|
| 119 | include/drm/ttm/ttm_bo_api.h:344:5: note: declared here
|
|---|
| 120 | int ttm_bo_validate(struct ttm_buffer_object *bo,
|
|---|
| 121 | ^
|
|---|
| 122 | /tmp/vbox.0/vbox_ttm.c: In function 'vbox_bo_unpin':
|
|---|
| 123 | /tmp/vbox.0/vbox_ttm.c:486:2: error: too many arguments to function 'ttm_bo_validate'
|
|---|
| 124 | ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false);
|
|---|
| 125 | ^
|
|---|
| 126 | In file included from /tmp/vbox.0/vbox_drv.h:92:0,
|
|---|
| 127 | from /tmp/vbox.0/vbox_ttm.c:31:
|
|---|
| 128 | include/drm/ttm/ttm_bo_api.h:344:5: note: declared here
|
|---|
| 129 | int ttm_bo_validate(struct ttm_buffer_object *bo,
|
|---|
| 130 | ^
|
|---|
| 131 | /tmp/vbox.0/vbox_ttm.c: In function 'vbox_bo_push_sysram':
|
|---|
| 132 | /tmp/vbox.0/vbox_ttm.c:525:2: error: too many arguments to function 'ttm_bo_validate'
|
|---|
| 133 | ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false);
|
|---|
| 134 | ^
|
|---|
| 135 | In file included from /tmp/vbox.0/vbox_drv.h:92:0,
|
|---|
| 136 | from /tmp/vbox.0/vbox_ttm.c:31:
|
|---|
| 137 | include/drm/ttm/ttm_bo_api.h:344:5: note: declared here
|
|---|
| 138 | int ttm_bo_validate(struct ttm_buffer_object *bo,
|
|---|
| 139 | ^
|
|---|
| 140 | make[2]: *** [/tmp/vbox.0/vbox_ttm.o] Error 1
|
|---|
| 141 | make[1]: *** [_module_/tmp/vbox.0] Error 2
|
|---|
| 142 | make: *** [vboxvideo] Error 2
|
|---|