Open Illusion-1404 opened 3 years ago
Hi, this is a bug in Ubuntu https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1906131 Check the comments to see if any fix works in your system.
Hello, Not « only » an Ubuntu bug but a >5.10 kernel change. Got this same error (module.lds related) on a RaspberryPi running Gentoo.
Solved it by somehow following hints given in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1906131.
What we did :
Everything seems to be okay.
@PyBonnetainNesterenko this is not helping for Odroid Armbian (5.10.102)
make olddefconfig && make modules_prepare output:
scripts/Makefile.build:415: warning: overriding recipe for target 'modules.order'
Makefile:1422: warning: ignoring old recipe for target 'modules.order'
make[1]: *** No rule to make target 'arch/arm64/kernel/vdso/vdso.lds', needed by 'arch/arm64/kernel/vdso/vdso.so.dbg'. Stop.
make: *** [arch/arm64/Makefile:186: vdso_prepare] Error 2
Workaround - switching to unstable kernel 5.17.5
Hi, I am getting this error, while trying to build the driver:-
My kernel version is : 5.11.5, kernel headers are installed.
ld:scripts/module.lds:6: ignoring invalid character `#' in expression ld:scripts/module.lds:6: syntax error scripts/Makefile.modfinal:58: recipe for target '/home/octo-ws/rtl8812au-5.9.3.2/8812au.ko' failed make[3]: [/home/octo-ws/rtl8812au-5.9.3.2/8812au.ko] Error 1 scripts/Makefile.modpost:117: recipe for target '__modpost' failed make[2]: [__modpost] Error 2 Makefile:1710: recipe for target 'modules' failed make[1]: [modules] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.11.5-051105-generic' Makefile:2362: recipe for target 'modules' failed make: [modules] Error 2