[AppLoader] Use shipped PC/SC Lite smart card framework. An up-to-date "pcsc-lite-libs" or "libpcsclite1" package from your system is preferred. [AppLoader] GLib does not have GSettings support. Stopping VMware services: VMware Authentication Daemon done /etc/init.d/vmware: line 73: /sbin/lsmod: No such file or directory VM communication interface socket family done Virtual machine communication interface done Virtual machine monitor done Blocking file system done /etc/init.d/vmware: line 93: /sbin/lsmod: No such file or directory make: Entering directory '/tmp/modconfig-SAUUuv/vmmon-only' Using kernel build system. /usr/bin/make -C /lib/modules/5.4.6-calculate/build/include/.. M=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[1]: Entering directory '/usr/src/linux-5.4.6-calculate' CC [M] /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.o CC [M] /tmp/modconfig-SAUUuv/vmmon-only/linux/hostif.o CC [M] /tmp/modconfig-SAUUuv/vmmon-only/linux/driverLog.o CC [M] /tmp/modconfig-SAUUuv/vmmon-only/common/memtrack.o CC [M] /tmp/modconfig-SAUUuv/vmmon-only/common/apic.o CC [M] /tmp/modconfig-SAUUuv/vmmon-only/common/statVarsVmmon.o CC [M] /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.o CC [M] /tmp/modconfig-SAUUuv/vmmon-only/common/sharedAreaVmmon.o CC [M] /tmp/modconfig-SAUUuv/vmmon-only/common/cpuid.o CC [M] /tmp/modconfig-SAUUuv/vmmon-only/common/task.o CC [M] /tmp/modconfig-SAUUuv/vmmon-only/common/comport.o CC [M] /tmp/modconfig-SAUUuv/vmmon-only/common/phystrack.o CC [M] /tmp/modconfig-SAUUuv/vmmon-only/vmcore/moduleloop.o CC [M] /tmp/modconfig-SAUUuv/vmmon-only/bootstrap/monLoaderVmmon.o In file included from ./arch/x86/include/asm/processor.h:5, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./arch/x86/include/asm/mmu.h:5, from ./arch/x86/include/asm/desc.h:7, from /tmp/modconfig-SAUUuv/vmmon-only/common/task.c:71: ./arch/x86/include/asm/processor-flags.h:39: warning: "CR3_PCID_MASK" redefined 39 | #define CR3_PCID_MASK 0xFFFull | In file included from /tmp/modconfig-SAUUuv/vmmon-only/./include/vm_asm_x86.h:41, from /tmp/modconfig-SAUUuv/vmmon-only/./include/vm_asm.h:44, from /tmp/modconfig-SAUUuv/vmmon-only/common/task.c:53: /tmp/modconfig-SAUUuv/vmmon-only/./include/x86_basic_defs.h:78: note: this is the location of the previous definition 78 | #define CR3_PCID_MASK 0xFFF | In file included from ./arch/x86/include/asm/nospec-branch.h:11, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./arch/x86/include/asm/mmu.h:5, from ./arch/x86/include/asm/desc.h:7, from /tmp/modconfig-SAUUuv/vmmon-only/common/task.c:71: ./arch/x86/include/asm/msr-index.h:512: warning: "MSR_K7_HWCR_SMMLOCK" redefined 512 | #define MSR_K7_HWCR_SMMLOCK BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT) | In file included from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.h:32, from /tmp/modconfig-SAUUuv/vmmon-only/common/task.c:51: /tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:474: note: this is the location of the previous definition 474 | #define MSR_K7_HWCR_SMMLOCK 0x00000001ULL // Lock SMM environment | In file included from ./arch/x86/include/asm/nospec-branch.h:11, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./arch/x86/include/asm/mmu.h:5, from ./arch/x86/include/asm/desc.h:7, from /tmp/modconfig-SAUUuv/vmmon-only/common/task.c:71: ./arch/x86/include/asm/msr-index.h:700: warning: "MSR_MISC_FEATURES_ENABLES" redefined 700 | #define MSR_MISC_FEATURES_ENABLES 0x00000140 | In file included from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.h:32, from /tmp/modconfig-SAUUuv/vmmon-only/common/task.c:51: /tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:134: note: this is the location of the previous definition 134 | #define MSR_MISC_FEATURES_ENABLES 0x140 | In file included from ./arch/x86/include/asm/nospec-branch.h:11, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./arch/x86/include/asm/mmu.h:5, from ./arch/x86/include/asm/desc.h:7, from /tmp/modconfig-SAUUuv/vmmon-only/common/task.c:71: ./arch/x86/include/asm/msr-index.h:709: warning: "MSR_TSX_FORCE_ABORT" redefined 709 | #define MSR_TSX_FORCE_ABORT 0x0000010F | In file included from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.h:32, from /tmp/modconfig-SAUUuv/vmmon-only/common/task.c:51: /tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:633: note: this is the location of the previous definition 633 | #define MSR_TSX_FORCE_ABORT 0x0000010f | CC [M] /tmp/modconfig-SAUUuv/vmmon-only/bootstrap/monLoader.o In file included from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.h:32, from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.c:43: /tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:134: warning: "MSR_MISC_FEATURES_ENABLES" redefined 134 | #define MSR_MISC_FEATURES_ENABLES 0x140 | In file included from ./arch/x86/include/asm/nospec-branch.h:11, from ./arch/x86/include/asm/irqflags.h:9, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.c:31: ./arch/x86/include/asm/msr-index.h:700: note: this is the location of the previous definition 700 | #define MSR_MISC_FEATURES_ENABLES 0x00000140 | In file included from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.h:32, from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.c:43: /tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:474: warning: "MSR_K7_HWCR_SMMLOCK" redefined 474 | #define MSR_K7_HWCR_SMMLOCK 0x00000001ULL // Lock SMM environment | In file included from ./arch/x86/include/asm/nospec-branch.h:11, from ./arch/x86/include/asm/irqflags.h:9, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.c:31: ./arch/x86/include/asm/msr-index.h:512: note: this is the location of the previous definition 512 | #define MSR_K7_HWCR_SMMLOCK BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT) | In file included from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.h:32, from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.c:43: /tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:633: warning: "MSR_TSX_FORCE_ABORT" redefined 633 | #define MSR_TSX_FORCE_ABORT 0x0000010f | In file included from ./arch/x86/include/asm/nospec-branch.h:11, from ./arch/x86/include/asm/irqflags.h:9, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.c:31: ./arch/x86/include/asm/msr-index.h:709: note: this is the location of the previous definition 709 | #define MSR_TSX_FORCE_ABORT 0x0000010F | /tmp/modconfig-SAUUuv/vmmon-only/common/memtrack.o: warning: objtool: .text.__x86_indirect_thunk_rbx+0x0: unsupported intra-function call /tmp/modconfig-SAUUuv/vmmon-only/common/memtrack.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE. CC [M] /tmp/modconfig-SAUUuv/vmmon-only/bootstrap/vmmblob.o CC [M] /tmp/modconfig-SAUUuv/vmmon-only/bootstrap/bootstrap.o In file included from /tmp/modconfig-SAUUuv/vmmon-only/./include/vm_asm_x86.h:41, from /tmp/modconfig-SAUUuv/vmmon-only/./include/vm_asm.h:44, from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.c:45: /tmp/modconfig-SAUUuv/vmmon-only/./include/x86_basic_defs.h:78: warning: "CR3_PCID_MASK" redefined 78 | #define CR3_PCID_MASK 0xFFF | In file included from ./arch/x86/include/asm/irqflags.h:5, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.c:31: ./arch/x86/include/asm/processor-flags.h:39: note: this is the location of the previous definition 39 | #define CR3_PCID_MASK 0xFFFull | /tmp/modconfig-SAUUuv/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Free() falls through to next function PhysTrack_Add() /tmp/modconfig-SAUUuv/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Add() falls through to next function PhysTrack_Remove() /tmp/modconfig-SAUUuv/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove() falls through to next function PhysTrack_Test() In file included from /tmp/modconfig-SAUUuv/vmmon-only/./include/vm_asm.h:43, from /tmp/modconfig-SAUUuv/vmmon-only/linux/hostif.c:60: /tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:134: warning: "MSR_MISC_FEATURES_ENABLES" redefined 134 | #define MSR_MISC_FEATURES_ENABLES 0x140 | In file included from ./arch/x86/include/asm/nospec-branch.h:11, from ./arch/x86/include/asm/irqflags.h:9, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/binfmts.h:5, from /tmp/modconfig-SAUUuv/vmmon-only/linux/hostif.c:32: ./arch/x86/include/asm/msr-index.h:700: note: this is the location of the previous definition 700 | #define MSR_MISC_FEATURES_ENABLES 0x00000140 | In file included from /tmp/modconfig-SAUUuv/vmmon-only/./include/vm_asm.h:43, from /tmp/modconfig-SAUUuv/vmmon-only/linux/hostif.c:60: /tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:474: warning: "MSR_K7_HWCR_SMMLOCK" redefined 474 | #define MSR_K7_HWCR_SMMLOCK 0x00000001ULL // Lock SMM environment | In file included from ./arch/x86/include/asm/nospec-branch.h:11, from ./arch/x86/include/asm/irqflags.h:9, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/binfmts.h:5, from /tmp/modconfig-SAUUuv/vmmon-only/linux/hostif.c:32: ./arch/x86/include/asm/msr-index.h:512: note: this is the location of the previous definition 512 | #define MSR_K7_HWCR_SMMLOCK BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT) | In file included from /tmp/modconfig-SAUUuv/vmmon-only/./include/vm_asm.h:43, from /tmp/modconfig-SAUUuv/vmmon-only/linux/hostif.c:60: /tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:633: warning: "MSR_TSX_FORCE_ABORT" redefined 633 | #define MSR_TSX_FORCE_ABORT 0x0000010f | In file included from ./arch/x86/include/asm/nospec-branch.h:11, from ./arch/x86/include/asm/irqflags.h:9, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/binfmts.h:5, from /tmp/modconfig-SAUUuv/vmmon-only/linux/hostif.c:32: ./arch/x86/include/asm/msr-index.h:709: note: this is the location of the previous definition 709 | #define MSR_TSX_FORCE_ABORT 0x0000010F | In file included from /tmp/modconfig-SAUUuv/vmmon-only/./include/vm_asm_x86.h:41, from /tmp/modconfig-SAUUuv/vmmon-only/./include/vm_asm.h:44, from /tmp/modconfig-SAUUuv/vmmon-only/linux/hostif.c:60: /tmp/modconfig-SAUUuv/vmmon-only/./include/x86_basic_defs.h:78: warning: "CR3_PCID_MASK" redefined 78 | #define CR3_PCID_MASK 0xFFF | In file included from ./arch/x86/include/asm/irqflags.h:5, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/binfmts.h:5, from /tmp/modconfig-SAUUuv/vmmon-only/linux/hostif.c:32: ./arch/x86/include/asm/processor-flags.h:39: note: this is the location of the previous definition 39 | #define CR3_PCID_MASK 0xFFFull | In file included from /tmp/modconfig-SAUUuv/vmmon-only/./common/vmx86.h:32, from /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.h:33, from /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.c:47: /tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:134: warning: "MSR_MISC_FEATURES_ENABLES" redefined 134 | #define MSR_MISC_FEATURES_ENABLES 0x140 | In file included from ./arch/x86/include/asm/nospec-branch.h:11, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./include/linux/wait.h:9, from ./include/linux/wait_bit.h:8, from ./include/linux/fs.h:6, from ./include/linux/highmem.h:5, from /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.c:25: ./arch/x86/include/asm/msr-index.h:700: note: this is the location of the previous definition 700 | #define MSR_MISC_FEATURES_ENABLES 0x00000140 | In file included from /tmp/modconfig-SAUUuv/vmmon-only/./common/vmx86.h:32, from /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.h:33, from /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.c:47: /tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:474: warning: "MSR_K7_HWCR_SMMLOCK" redefined 474 | #define MSR_K7_HWCR_SMMLOCK 0x00000001ULL // Lock SMM environment | In file included from ./arch/x86/include/asm/nospec-branch.h:11, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./include/linux/wait.h:9, from ./include/linux/wait_bit.h:8, from ./include/linux/fs.h:6, from ./include/linux/highmem.h:5, from /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.c:25: ./arch/x86/include/asm/msr-index.h:512: note: this is the location of the previous definition 512 | #define MSR_K7_HWCR_SMMLOCK BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT) | In file included from /tmp/modconfig-SAUUuv/vmmon-only/./common/vmx86.h:32, from /tmp/modconfig-SAUUuv/vmmon-only/vmcore/moduleloop.c:35: /tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:134: warning: "MSR_MISC_FEATURES_ENABLES" redefined 134 | #define MSR_MISC_FEATURES_ENABLES 0x140 | In file included from ./arch/x86/include/asm/nospec-branch.h:11, from ./arch/x86/include/asm/irqflags.h:9, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from /tmp/modconfig-SAUUuv/vmmon-only/vmcore/moduleloop.c:31: ./arch/x86/include/asm/msr-index.h:700: note: this is the location of the previous definition 700 | #define MSR_MISC_FEATURES_ENABLES 0x00000140 | In file included from /tmp/modconfig-SAUUuv/vmmon-only/./common/vmx86.h:32, from /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.h:33, from /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.c:47: /tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:633: warning: "MSR_TSX_FORCE_ABORT" redefined 633 | #define MSR_TSX_FORCE_ABORT 0x0000010f | In file included from ./arch/x86/include/asm/nospec-branch.h:11, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./include/linux/wait.h:9, from ./include/linux/wait_bit.h:8, from ./include/linux/fs.h:6, from ./include/linux/highmem.h:5, from /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.c:25: ./arch/x86/include/asm/msr-index.h:709: note: this is the location of the previous definition 709 | #define MSR_TSX_FORCE_ABORT 0x0000010F | In file included from /tmp/modconfig-SAUUuv/vmmon-only/./common/vmx86.h:32, from /tmp/modconfig-SAUUuv/vmmon-only/vmcore/moduleloop.c:35: /tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:474: warning: "MSR_K7_HWCR_SMMLOCK" redefined 474 | #define MSR_K7_HWCR_SMMLOCK 0x00000001ULL // Lock SMM environment | In file included from ./arch/x86/include/asm/nospec-branch.h:11, from ./arch/x86/include/asm/irqflags.h:9, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from /tmp/modconfig-SAUUuv/vmmon-only/vmcore/moduleloop.c:31: ./arch/x86/include/asm/msr-index.h:512: note: this is the location of the previous definition 512 | #define MSR_K7_HWCR_SMMLOCK BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT) | In file included from /tmp/modconfig-SAUUuv/vmmon-only/./common/vmx86.h:32, from /tmp/modconfig-SAUUuv/vmmon-only/vmcore/moduleloop.c:35: /tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:633: warning: "MSR_TSX_FORCE_ABORT" redefined 633 | #define MSR_TSX_FORCE_ABORT 0x0000010f | In file included from ./arch/x86/include/asm/nospec-branch.h:11, from ./arch/x86/include/asm/irqflags.h:9, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:26, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from /tmp/modconfig-SAUUuv/vmmon-only/vmcore/moduleloop.c:31: ./arch/x86/include/asm/msr-index.h:709: note: this is the location of the previous definition 709 | #define MSR_TSX_FORCE_ABORT 0x0000010F | In file included from /tmp/modconfig-SAUUuv/vmmon-only/./include/vm_asm_x86.h:41, from /tmp/modconfig-SAUUuv/vmmon-only/./include/vm_asm.h:44, from /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.c:49: /tmp/modconfig-SAUUuv/vmmon-only/./include/x86_basic_defs.h:78: warning: "CR3_PCID_MASK" redefined 78 | #define CR3_PCID_MASK 0xFFF | In file included from ./arch/x86/include/asm/processor.h:5, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./include/linux/wait.h:9, from ./include/linux/wait_bit.h:8, from ./include/linux/fs.h:6, from ./include/linux/highmem.h:5, from /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.c:25: ./arch/x86/include/asm/processor-flags.h:39: note: this is the location of the previous definition 39 | #define CR3_PCID_MASK 0xFFFull | /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.c: In function 'LinuxDriver_Ioctl': /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.c:1536:5: warning: "VMX86_DEVEL" is not defined, evaluates to 0 [-Wundef] 1536 | #if VMX86_DEVEL | ^~~~~~~~~~~ At top level: /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.c:961:1: warning: always_inline function might not be inlinable [-Wattributes] 961 | LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min | ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE. /tmp/modconfig-SAUUuv/vmmon-only/common/task.o: warning: objtool: Task_Switch()+0x4a5: indirect call found in RETPOLINE build /tmp/modconfig-SAUUuv/vmmon-only/common/task.o: warning: objtool: .text: unexpected end of section /tmp/modconfig-SAUUuv/vmmon-only/linux/hostif.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call /tmp/modconfig-SAUUuv/vmmon-only/linux/hostif.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE. LD [M] /tmp/modconfig-SAUUuv/vmmon-only/vmmon.o Building modules, stage 2. MODPOST 1 modules CC [M] /tmp/modconfig-SAUUuv/vmmon-only/vmmon.mod.o LD [M] /tmp/modconfig-SAUUuv/vmmon-only/vmmon.ko make[1]: Leaving directory '/usr/src/linux-5.4.6-calculate' /usr/bin/make -C $PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= postbuild make[1]: Entering directory '/tmp/modconfig-SAUUuv/vmmon-only' make[1]: 'postbuild' is up to date. make[1]: Leaving directory '/tmp/modconfig-SAUUuv/vmmon-only' cp -f vmmon.ko ./../vmmon.o make: Leaving directory '/tmp/modconfig-SAUUuv/vmmon-only' make: Entering directory '/tmp/modconfig-SAUUuv/vmnet-only' Using kernel build system. /usr/bin/make -C /lib/modules/5.4.6-calculate/build/include/.. M=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[1]: Entering directory '/usr/src/linux-5.4.6-calculate' CC [M] /tmp/modconfig-SAUUuv/vmnet-only/driver.o CC [M] /tmp/modconfig-SAUUuv/vmnet-only/hub.o CC [M] /tmp/modconfig-SAUUuv/vmnet-only/userif.o CC [M] /tmp/modconfig-SAUUuv/vmnet-only/netif.o CC [M] /tmp/modconfig-SAUUuv/vmnet-only/bridge.o CC [M] /tmp/modconfig-SAUUuv/vmnet-only/procfs.o CC [M] /tmp/modconfig-SAUUuv/vmnet-only/smac_compat.o CC [M] /tmp/modconfig-SAUUuv/vmnet-only/smac.o CC [M] /tmp/modconfig-SAUUuv/vmnet-only/vnetEvent.o CC [M] /tmp/modconfig-SAUUuv/vmnet-only/vnetUserListener.o /tmp/modconfig-SAUUuv/vmnet-only/vnetEvent.o: warning: objtool: .text.__x86_indirect_thunk_r12+0x0: unsupported intra-function call /tmp/modconfig-SAUUuv/vmnet-only/vnetEvent.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE. In file included from ./include/linux/pci.h:43, from /tmp/modconfig-SAUUuv/vmnet-only/compat_netdevice.h:27, from /tmp/modconfig-SAUUuv/vmnet-only/netif.c:44: ./include/linux/pci_ids.h:2284: warning: "PCI_VENDOR_ID_VMWARE" redefined 2284 | #define PCI_VENDOR_ID_VMWARE 0x15ad | In file included from /tmp/modconfig-SAUUuv/vmnet-only/net.h:38, from /tmp/modconfig-SAUUuv/vmnet-only/vnetInt.h:26, from /tmp/modconfig-SAUUuv/vmnet-only/netif.c:43: /tmp/modconfig-SAUUuv/vmnet-only/vm_device_version.h:56: note: this is the location of the previous definition 56 | #define PCI_VENDOR_ID_VMWARE 0x15AD | In file included from ./include/linux/pci.h:43, from /tmp/modconfig-SAUUuv/vmnet-only/compat_netdevice.h:27, from /tmp/modconfig-SAUUuv/vmnet-only/netif.c:44: ./include/linux/pci_ids.h:2285: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined 2285 | #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0 | In file included from /tmp/modconfig-SAUUuv/vmnet-only/net.h:38, from /tmp/modconfig-SAUUuv/vmnet-only/vnetInt.h:26, from /tmp/modconfig-SAUUuv/vmnet-only/netif.c:43: /tmp/modconfig-SAUUuv/vmnet-only/vm_device_version.h:74: note: this is the location of the previous definition 74 | #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0 | /tmp/modconfig-SAUUuv/vmnet-only/vnetUserListener.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call /tmp/modconfig-SAUUuv/vmnet-only/vnetUserListener.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE. /tmp/modconfig-SAUUuv/vmnet-only/userif.c: In function 'VNetCsumCopyDatagram': /tmp/modconfig-SAUUuv/vmnet-only/userif.c:571:15: error: 'skb_frag_t' {aka 'const struct bio_vec'} has no member named 'size' 571 | if (frag->size > 0) { | ^~ /tmp/modconfig-SAUUuv/vmnet-only/userif.c:575:29: error: 'skb_frag_t' {aka 'const struct bio_vec'} has no member named 'page'; did you mean 'bv_page'? 575 | vaddr = compat_kmap(frag->page); | ^~~~ /tmp/modconfig-SAUUuv/vmnet-only/userif.c:84:36: note: in definition of macro 'compat_kmap' 84 | # define compat_kmap(page) kmap((page).p) | ^~~~ /tmp/modconfig-SAUUuv/vmnet-only/userif.c:576:49: error: 'skb_frag_t' {aka 'const struct bio_vec'} has no member named 'page_offset'; did you mean 'bv_offset'? 576 | tmpCsum = csum_and_copy_to_user(vaddr + frag->page_offset, | ^~~~~~~~~~~ | bv_offset /tmp/modconfig-SAUUuv/vmnet-only/userif.c:577:17: error: 'skb_frag_t' {aka 'const struct bio_vec'} has no member named 'size' 577 | curr, frag->size, 0, &err); | ^~ /tmp/modconfig-SAUUuv/vmnet-only/userif.c:578:23: error: 'skb_frag_t' {aka 'const struct bio_vec'} has no member named 'page'; did you mean 'bv_page'? 578 | compat_kunmap(frag->page); | ^~~~ /tmp/modconfig-SAUUuv/vmnet-only/userif.c:85:40: note: in definition of macro 'compat_kunmap' 85 | # define compat_kunmap(page) kunmap((page).p) | ^~~~ /tmp/modconfig-SAUUuv/vmnet-only/userif.c:584:15: error: 'skb_frag_t' {aka 'const struct bio_vec'} has no member named 'size' 584 | curr += frag->size; | ^~ /tmp/modconfig-SAUUuv/vmnet-only/procfs.o: warning: objtool: .text.__x86_indirect_thunk_r10+0x0: unsupported intra-function call /tmp/modconfig-SAUUuv/vmnet-only/procfs.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE. make[2]: *** [scripts/Makefile.build:265: /tmp/modconfig-SAUUuv/vmnet-only/userif.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /tmp/modconfig-SAUUuv/vmnet-only/net.h:38, from /tmp/modconfig-SAUUuv/vmnet-only/vnetInt.h:26, from /tmp/modconfig-SAUUuv/vmnet-only/bridge.c:53: /tmp/modconfig-SAUUuv/vmnet-only/vm_device_version.h:56: warning: "PCI_VENDOR_ID_VMWARE" redefined 56 | #define PCI_VENDOR_ID_VMWARE 0x15AD | In file included from ./include/linux/pci.h:43, from /tmp/modconfig-SAUUuv/vmnet-only/compat_netdevice.h:27, from /tmp/modconfig-SAUUuv/vmnet-only/bridge.c:52: ./include/linux/pci_ids.h:2284: note: this is the location of the previous definition 2284 | #define PCI_VENDOR_ID_VMWARE 0x15ad | In file included from /tmp/modconfig-SAUUuv/vmnet-only/net.h:38, from /tmp/modconfig-SAUUuv/vmnet-only/vnetInt.h:26, from /tmp/modconfig-SAUUuv/vmnet-only/bridge.c:53: /tmp/modconfig-SAUUuv/vmnet-only/vm_device_version.h:74: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined 74 | #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0 | In file included from ./include/linux/pci.h:43, from /tmp/modconfig-SAUUuv/vmnet-only/compat_netdevice.h:27, from /tmp/modconfig-SAUUuv/vmnet-only/bridge.c:52: ./include/linux/pci_ids.h:2285: note: this is the location of the previous definition 2285 | #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0 | /tmp/modconfig-SAUUuv/vmnet-only/driver.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call /tmp/modconfig-SAUUuv/vmnet-only/driver.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE. /tmp/modconfig-SAUUuv/vmnet-only/hub.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call /tmp/modconfig-SAUUuv/vmnet-only/hub.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE. /tmp/modconfig-SAUUuv/vmnet-only/bridge.o: warning: objtool: .text.__x86_indirect_thunk_rcx+0x0: unsupported intra-function call /tmp/modconfig-SAUUuv/vmnet-only/bridge.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE. make[1]: *** [Makefile:1652: /tmp/modconfig-SAUUuv/vmnet-only] Error 2 make[1]: Leaving directory '/usr/src/linux-5.4.6-calculate' make: *** [Makefile:117: vmnet.ko] Error 2 make: Leaving directory '/tmp/modconfig-SAUUuv/vmnet-only' make: Entering directory '/tmp/modconfig-SAUUuv/vmci-only' Using kernel build system. /usr/bin/make -C /lib/modules/5.4.6-calculate/build/include/.. M=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[1]: Entering directory '/usr/src/linux-5.4.6-calculate' CC [M] /tmp/modconfig-SAUUuv/vmci-only/linux/driver.o CC [M] /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.o CC [M] /tmp/modconfig-SAUUuv/vmci-only/common/vmciDriver.o CC [M] /tmp/modconfig-SAUUuv/vmci-only/common/vmciResource.o CC [M] /tmp/modconfig-SAUUuv/vmci-only/common/vmciRoute.o CC [M] /tmp/modconfig-SAUUuv/vmci-only/common/vmciContext.o CC [M] /tmp/modconfig-SAUUuv/vmci-only/common/vmciDatagram.o CC [M] /tmp/modconfig-SAUUuv/vmci-only/common/vmciHashtable.o CC [M] /tmp/modconfig-SAUUuv/vmci-only/common/vmciEvent.o CC [M] /tmp/modconfig-SAUUuv/vmci-only/common/vmciQueuePair.o CC [M] /tmp/modconfig-SAUUuv/vmci-only/common/vmciQPair.o CC [M] /tmp/modconfig-SAUUuv/vmci-only/common/vmciDoorbell.o CC [M] /tmp/modconfig-SAUUuv/vmci-only/driverLog.o /tmp/modconfig-SAUUuv/vmci-only/common/vmciResource.o: warning: objtool: .text.__x86_indirect_thunk_rdx+0x0: unsupported intra-function call /tmp/modconfig-SAUUuv/vmci-only/common/vmciResource.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE. In file included from /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:60: /tmp/modconfig-SAUUuv/vmci-only/./shared/vm_device_version.h:56: warning: "PCI_VENDOR_ID_VMWARE" redefined 56 | #define PCI_VENDOR_ID_VMWARE 0x15AD | In file included from ./include/linux/pci.h:43, from /tmp/modconfig-SAUUuv/vmci-only/./shared/compat_pci.h:27, from /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:49: ./include/linux/pci_ids.h:2284: note: this is the location of the previous definition 2284 | #define PCI_VENDOR_ID_VMWARE 0x15ad | In file included from /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:60: /tmp/modconfig-SAUUuv/vmci-only/./shared/vm_device_version.h:74: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined 74 | #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0 | In file included from ./include/linux/pci.h:43, from /tmp/modconfig-SAUUuv/vmci-only/./shared/compat_pci.h:27, from /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:49: ./include/linux/pci_ids.h:2285: note: this is the location of the previous definition 2285 | #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0 | /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c: In function 'VMCIUserVAInvalidPointer': /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:1462:53: error: macro "access_ok" passed 3 arguments, but takes just 2 1462 | return !access_ok(VERIFY_WRITE, (void *)uva, size); | ^ In file included from ./include/linux/uaccess.h:11, from ./include/linux/poll.h:12, from /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:38: ./arch/x86/include/asm/uaccess.h:93: note: macro "access_ok" defined here 93 | #define access_ok(addr, size) \ | /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:1462:12: error: 'access_ok' undeclared (first use in this function) 1462 | return !access_ok(VERIFY_WRITE, (void *)uva, size); | ^~~~~~~~~ /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:1462:12: note: each undeclared identifier is reported only once for each function it appears in /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c: In function 'VMCIUserVALockPage': /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:1492:43: error: passing argument 5 of 'get_user_pages' from incompatible pointer type [-Werror=incompatible-pointer-types] 1492 | retval = get_user_pages(addr, 1, 1, 0, &page, NULL); | ^~~~~ | | | struct page ** In file included from ./include/linux/highmem.h:8, from /tmp/modconfig-SAUUuv/vmci-only/./shared/compat_highmem.h:22, from /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:41: ./include/linux/mm.h:1526:32: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **' 1526 | struct vm_area_struct **vmas); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:1492:13: error: too many arguments to function 'get_user_pages' 1492 | retval = get_user_pages(addr, 1, 1, 0, &page, NULL); | ^~~~~~~~~~~~~~ In file included from ./include/linux/highmem.h:8, from /tmp/modconfig-SAUUuv/vmci-only/./shared/compat_highmem.h:22, from /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:41: ./include/linux/mm.h:1524:6: note: declared here 1524 | long get_user_pages(unsigned long start, unsigned long nr_pages, | ^~~~~~~~~~~~~~ /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c: In function 'vmci_enable_msix': /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:1747:13: error: implicit declaration of function 'pci_enable_msix'; did you mean 'pci_enable_msi'? [-Werror=implicit-function-declaration] 1747 | result = pci_enable_msix(pdev, vmci_dev.msix_entries, VMCI_MAX_INTRS); | ^~~~~~~~~~~~~~~ | pci_enable_msi /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c: In function 'vmci_exit': /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:2521:14: error: void value not ignored as it ought to be 2521 | retval = misc_deregister(&linuxState.misc); | ^ /tmp/modconfig-SAUUuv/vmci-only/common/vmciDatagram.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call /tmp/modconfig-SAUUuv/vmci-only/common/vmciDatagram.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE. /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c: In function 'VMCIHost_WaitForCallLocked': /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:378:8: error: implicit declaration of function 'signal_pending' [-Werror=implicit-function-declaration] 378 | if (signal_pending(current)) { | ^~~~~~~~~~~~~~ /tmp/modconfig-SAUUuv/vmci-only/common/vmciEvent.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call /tmp/modconfig-SAUUuv/vmci-only/common/vmciEvent.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE. /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c: In function 'VMCIUserVAInvalidPointer': /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:1463:1: warning: control reaches end of non-void function [-Wreturn-type] 1463 | } | ^ cc1: some warnings being treated as errors /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c: In function '__VMCIMemcpyToQueue': /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:1223:16: error: implicit declaration of function 'memcpy_fromiovec'; did you mean 'memcpy_fromio'? [-Werror=implicit-function-declaration] 1223 | err = memcpy_fromiovec((uint8 *)va + pageOffset, iov, toCopy); | ^~~~~~~~~~~~~~~~ | memcpy_fromio make[2]: *** [scripts/Makefile.build:265: /tmp/modconfig-SAUUuv/vmci-only/linux/driver.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c: In function '__VMCIMemcpyFromQueue': /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:1298:16: error: implicit declaration of function 'memcpy_toiovec'; did you mean 'memcpy_toio'? [-Werror=implicit-function-declaration] 1298 | err = memcpy_toiovec(iov, (uint8 *)va + pageOffset, toCopy); | ^~~~~~~~~~~~~~ | memcpy_toio /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c: In function 'VMCIReleasePages': /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:1855:7: error: implicit declaration of function 'page_cache_release'; did you mean 'pagecache_get_page'? [-Werror=implicit-function-declaration] 1855 | page_cache_release(pages[i]); | ^~~~~~~~~~~~~~~~~~ | pagecache_get_page /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c: In function 'VMCIHost_GetUserMemory': /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:2073:51: error: passing argument 5 of 'get_user_pages' from incompatible pointer type [-Werror=incompatible-pointer-types] 2073 | produceQ->kernelIf->u.h.headerPage, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | struct page ** In file included from /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:38: ./include/linux/mm.h:1526:32: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **' 1526 | struct vm_area_struct **vmas); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:2070:13: error: too many arguments to function 'get_user_pages' 2070 | retval = get_user_pages((VA)produceUVA, | ^~~~~~~~~~~~~~ In file included from /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:38: ./include/linux/mm.h:1524:6: note: declared here 1524 | long get_user_pages(unsigned long start, unsigned long nr_pages, | ^~~~~~~~~~~~~~ In file included from ./include/linux/thread_info.h:21, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./include/linux/mmzone.h:8, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:38: ./arch/x86/include/asm/current.h:18:17: warning: passing argument 1 of 'get_user_pages' makes integer from pointer without a cast [-Wint-conversion] 18 | #define current get_current() | ^~~~~~~~~~~~~ | | | struct task_struct * /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:2091:28: note: in expansion of macro 'current' 2091 | retval = get_user_pages(current, | ^~~~~~~ In file included from /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:38: ./include/linux/mm.h:1524:35: note: expected 'long unsigned int' but argument is of type 'struct task_struct *' 1524 | long get_user_pages(unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:2092:35: warning: passing argument 2 of 'get_user_pages' makes integer from pointer without a cast [-Wint-conversion] 2092 | current->mm, In file included from /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:38: ./include/linux/mm.h:1524:56: note: expected 'long unsigned int' but argument is of type 'struct mm_struct *' 1524 | long get_user_pages(unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~~~~ /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:2094:46: warning: passing argument 4 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversion] 2094 | consumeQ->kernelIf->numPages, | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | size_t {aka long unsigned int} In file included from /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:38: ./include/linux/mm.h:1525:46: note: expected 'struct page **' but argument is of type 'size_t' {aka 'long unsigned int'} 1525 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:2095:28: warning: passing argument 5 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversion] 2095 | 1, 0, | ^ | | | int In file included from /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:38: ./include/linux/mm.h:1526:32: note: expected 'struct vm_area_struct **' but argument is of type 'int' 1526 | struct vm_area_struct **vmas); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:2091:13: error: too many arguments to function 'get_user_pages' 2091 | retval = get_user_pages(current, | ^~~~~~~~~~~~~~ In file included from /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:38: ./include/linux/mm.h:1524:6: note: declared here 1524 | long get_user_pages(unsigned long start, unsigned long nr_pages, | ^~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:265: /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.o] Error 1 /tmp/modconfig-SAUUuv/vmci-only/common/vmciDoorbell.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call /tmp/modconfig-SAUUuv/vmci-only/common/vmciDoorbell.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE. /tmp/modconfig-SAUUuv/vmci-only/common/vmciQPair.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call /tmp/modconfig-SAUUuv/vmci-only/common/vmciQPair.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE. /tmp/modconfig-SAUUuv/vmci-only/common/vmciQueuePair.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call /tmp/modconfig-SAUUuv/vmci-only/common/vmciQueuePair.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE. make[1]: *** [Makefile:1652: /tmp/modconfig-SAUUuv/vmci-only] Error 2 make[1]: Leaving directory '/usr/src/linux-5.4.6-calculate' make: *** [Makefile:117: vmci.ko] Error 2 make: Leaving directory '/tmp/modconfig-SAUUuv/vmci-only' Unable to install all modules. See log for details.