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
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#issuecommen t-736366347
sudo wget https:/ /raw.githubuser content. 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