Edit and compile a kernel module
问题 I'm trying to edit one module from kernel source and compile it for kernel: 5.4.0-40-generic #44-Ubuntu . This is how i did it: git clone git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/focal git checkout -b temp Ubuntu-5.4.0-40.44 nano drivers/media/usb/siano/smsusb.c make oldconfig make prepare make modules_prepare make SUBDIRS=scripts/mod make SUBDIRS=drivers/media/usb/siano modules cd drivers/media/usb/siano/ insmod smsusb.ko I got this error: insmod: ERROR: could not