Sorry guys, I've noticed that since some kernel releases, there are compilation issues when building a custom kernel. Every time I try to do so, it stops at a certain point and gives me this error:
Makefile:2025: .] error 2
debian/rules:7: build-arch error2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
makefile:1671: bindeb-pkg error 2
I've reported the most important things it says, but in any case, it still won't compile. I've tried both Debian and Ubuntu, which is a Debian derivative. I've even tried a server version of Debian 12, but nothing. There must be some file that needs to be modified with these new kernels that have changed something. Any idea what's going on?