Page 1 of 1

Kernel Module Compile Error

Posted: 17. Jul 2019, 11:30
by sash__
Hi,

I am getting the following errors, when I try to compile VirtualBox:

Code: Select all

ERROR: "ttm_bo_eviction_valuable" [/a/random/path/vbox/out/linux.amd64/release/obj/tstvboxvideo-src_mod/vboxvideo.ko] undefined!
ERROR: "ttm_tt_fini" [/a/random/path/vbox/out/linux.amd64/release/obj/tstvboxvideo-src_mod/vboxvideo.ko] undefined!
ERROR: "ttm_bo_put" [/a/random/path/vbox/out/linux.amd64/release/obj/tstvboxvideo-src_mod/vboxvideo.ko] undefined!
ERROR: "ttm_bo_validate" [/a/random/path/vbox/out/linux.amd64/release/obj/tstvboxvideo-src_mod/vboxvideo.ko] undefined!
ERROR: "ttm_bo_init" [/a/random/path/vbox/out/linux.amd64/release/obj/tstvboxvideo-src_mod/vboxvideo.ko] undefined!
ERROR: "ttm_bo_add_to_lru" [/a/random/path/vbox/out/linux.amd64/release/obj/tstvboxvideo-src_mod/vboxvideo.ko] undefined!
ERROR: "ttm_bo_kmap" [/a/random/path/vbox/out/linux.amd64/release/obj/tstvboxvideo-src_mod/vboxvideo.ko] undefined!
ERROR: "ttm_tt_init" [/a/random/path/vbox/out/linux.amd64/release/obj/tstvboxvideo-src_mod/vboxvideo.ko] undefined!
ERROR: "ttm_bo_dma_acc_size" [/a/random/path/vbox/out/linux.amd64/release/obj/tstvboxvideo-src_mod/vboxvideo.ko] undefined!
ERROR: "ttm_bo_init_mm" [/a/random/path/vbox/out/linux.amd64/release/obj/tstvboxvideo-src_mod/vboxvideo.ko] undefined!
ERROR: "ttm_bo_device_init" [/a/random/path/vbox/out/linux.amd64/release/obj/tstvboxvideo-src_mod/vboxvideo.ko] undefined!
ERROR: "ttm_bo_del_sub_from_lru" [/a/random/path/vbox/out/linux.amd64/release/obj/tstvboxvideo-src_mod/vboxvideo.ko] undefined!
ERROR: "ttm_bo_kunmap" [/a/random/path/vbox/out/linux.amd64/release/obj/tstvboxvideo-src_mod/vboxvideo.ko] undefined!
ERROR: "ttm_bo_device_release" [/a/random/path/vbox/out/linux.amd64/release/obj/tstvboxvideo-src_mod/vboxvideo.ko] undefined!
ERROR: "ttm_bo_manager_func" [/a/random/path/vbox/out/linux.amd64/release/obj/tstvboxvideo-src_mod/vboxvideo.ko] undefined!
ERROR: "ttm_bo_mmap" [/a/random/path/vbox/out/linux.amd64/release/obj/tstvboxvideo-src_mod/vboxvideo.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:91: __modpost] Error 1
make[1]: *** [Makefile:1599: modules] Error 2
make: *** [/a/random/path/vbox/out/linux.amd64/release/obj/tstvboxvideo-src_mod/Makefile-footer.gmk:111: vboxvideo] Error 2
kmk: *** [/a/random/path/vbox/src/VBox/Additions/linux/Makefile.kmk:362: /a/random/path/vbox/out/linux.amd64/release/obj/tstvboxvideo-src_lib_modules_5.2.0-gentoo_build_mod.run] Error 2
This is my uname output:

Code: Select all

Linux laptop 5.2.0-gentoo #1 SMP Fri Jul 12 12:35:39 CEST 2019 x86_64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz GenuineIntel GNU/Linux
Since this error occurs while compiling the kernel modules, I do not know what the reason is. Any ideas what the problem could be?

cheers
Sascha

Re: Kernel Module Compile Error

Posted: 17. Jul 2019, 20:17
by socratis
I've deleted your duplicate post from the "Linux Hosts" area. According to the forum rules, duplicate posts are not allowed.

Re: Kernel Module Compile Error

Posted: 17. Jul 2019, 23:07
by sash__
Thank you. I know that duplicate posts are not allowed. I would have moved the post to this area if I could.
Having this post in this area makes more sense.

cheers
Sascha