If anyone come across this looking for a workaround, here's a quick fix I've found on a GitHub repo for RTL8192EU
https://github.com/Mange/rtl8192eu-linux- driver/issues/205#issuecomment-736366347 sudo wget https://raw.githubusercontent.com/torvalds/linux/master/scripts/module.lds.S -O /usr/src/linux-headers-5.10.2-051002-generic/scripts/module.lds sudo sed -i '$ d' /usr/src/linux- headers-5.10.2-051002-generic/scripts/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