Which was resolved by removing the check for kernel version 5.8.0 in mmap_lock.h
#if LINUX_VERSION_CODE < KERNEL_VERSION(5,8,0)
Another error that pops up is:
error: macro "kvm_for_each_memslot" requires 3 arguments, but only 2 given kvm_for_each_memslot2(slot, bkt, slots)
Which was resolved by removing the check for kernel version 5.17.0 in vmtools.c
#if LINUX_VERSION_CODE < KERNEL_VERSION(5,17,0)
It seems these kernel features are being found in much older kernels than expected, but this also causes issues with pre-built installation using dkms.
I'm no kernel expert but the checks for
LINUX_VERSION_CODE
appear to not account for some functions being available much earlier than stated.For example I get
Which was resolved by removing the check for kernel version 5.8.0 in mmap_lock.h
Another error that pops up is:
Which was resolved by removing the check for kernel version 5.17.0 in vmtools.c
It seems these kernel features are being found in much older kernels than expected, but this also causes issues with pre-built installation using dkms.