Closed asluchevskiy closed 3 years ago
@asluchevskiy thanks for filing a bug report. There seems to be an issue with your headers or the configuration of the scripts in relation to your headers. Please refer to https://github.com/snuf/iomemory-vsl4/issues/29 and let me know if that resolves the issue.
Hi, I checked the module.lds
file, there was only module.lds.S.
in my header dir. I made a copy, but the error still exits.
arceny@chiahome:~/iomemory-vsl4$ uname -r
5.10.16-051016-generic
arceny@chiahome:~/iomemory-vsl4$ ls -la /usr/src/linux-headers-`uname -r`/scripts/ | grep module.lds
lrwxrwxrwx 1 root root 55 May 18 18:49 module.lds -> ../../linux-headers-5.10.16-051016/scripts/module.lds.S
lrwxrwxrwx 1 root root 55 Feb 13 13:34 module.lds.S -> ../../linux-headers-5.10.16-051016/scripts/module.lds.S
I don't think you can just make a copy because the file is broken then, and will break building, same issue here: https://github.com/snuf/iomemory-vsl/issues/89
I don't think you can just make a copy because the file is broken then, and will break building, same issue here: snuf/iomemory-vsl#89
Yes, it helps for me! I removed in the file module.lds
the last line:
#include <asm/module.lds.h>
And successfully build the package.
Thank you so much!
np! happy it worked out :)
Bug description
Failed to compile under ubuntu 20.04 with 5.10 kernel
How to reproduce
What are the steps to reproduce the reported issue.
Environment information
Information about the system the module is used on