H? Everyone,

I need help about recompiling kernel source on Raspberry pi 4 Model B.

Running the command:
Code:
apt-cache search ^linux-source
I got the output:
Code:
linux-source - Linux kernel source (meta-package)
linux-source-5.9 - Linux kernel source for version 5.9 with Debian patches
So i run the command:
Code:
sudo apt install linux-source-5.9
Then i followed the kali docs https://www.kali.org/docs/developmen...-linux-kernel/ steps to recompile my kernel source.

But after running the build kernel command:
Code:
make deb-pkg
i got the following error:

Code:
find: ?Module.symvers?: No such file or directory
make[4]: *** [scripts/Makefile.package:87: intdeb-pkg] Error 1
make[3]: *** [Makefile:1535: intdeb-pkg] Error 2
make[2]: *** [debian/rules:9: binary-arch] Error 2
dpkg-buildpackage: error: fakeroot -u debian/rules binary subprocess returned exit status 2
make[1]: *** [scripts/Makefile.package:77: deb-pkg] Error 2
make: *** [Makefile:1535: deb-pkg] Error 2

Can anyone help me please ?

Thank you.