Got this issue when update Ubuntu kernel to 5.10.7-051007 and got this problem 
when install rtl8821ce driver.
Seem like new Debian kernel including 5.10 > 5.11 trying to change module.lsb 
to module.lsb.S but the dkms cannot read the S file extension and trying to 
grab the lsb file and that where the problem occur.

So here the solution that I use to fix this issue. Go to usr/src/linux-
headers-[KERNEL-VERSION]-generic/scripts and copy module.lsb.S, remove
the include line, and save it as module.lsb then run dkms again. These
file will change for kernel version so you have to do it yourself.

The file that I attached here is for 5.10 kernel, if you're in 5.10, you
can use this module. Maybe I will create the issue in DKMS.


** Attachment added: "Copy to 
usr/src/linux-headers-[5.10KERNEL-VERSION]-generic/scripts"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1906131/+attachment/5452521/+files/module.lds

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1906131

Title:
  No rule to make target 'scripts/module.lds' while building out-of-tree
  modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1906131/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to