linux/smp_lock.h not found
by business_kid from LinuxQuestions.org on (#5F1MC)
I'm on the 64bit Current iso of 2021-02-11 with kernel-5.10.15
VirtualBox is not able to building it's modules. Code:In file included from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
/tmp/vbox.0/r0drv/linux/the-linux-kernel.h:141:11: fatal error: linux/smp_lock.h: No such file or directory
141 | # include <linux/smp_lock.h> I haven't got that file. It wasn't in the earlier versions (VB-6.1.6? & kernel-5.4.68 supplied with Current 2020-09-28) so I imagine it's a new requirement.
I gather this was an old problem cured before 4.x kernels. Searching is throwing up 'hit and miss' stuff. Is there a workaround or fix?


VirtualBox is not able to building it's modules. Code:In file included from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
/tmp/vbox.0/r0drv/linux/the-linux-kernel.h:141:11: fatal error: linux/smp_lock.h: No such file or directory
141 | # include <linux/smp_lock.h> I haven't got that file. It wasn't in the earlier versions (VB-6.1.6? & kernel-5.4.68 supplied with Current 2020-09-28) so I imagine it's a new requirement.
I gather this was an old problem cured before 4.x kernels. Searching is throwing up 'hit and miss' stuff. Is there a workaround or fix?