dpkg-buildpackage error when builing Linux Kernel

3.6k views Asked by At

I'm trying to build Linux Kernel ffor Ubuntu 20.04 with GCC 9.3.0.

There are instructions out there https://wiki.ubuntu.com/KernelTeam/GitKernelBuild

make -j $(getconf _NPROCESSORS_ONLN) deb-pkg LOCALVERSION=-custom

After long running compiling C source files process I got the error:

make[2]: *** [debian/rules:7: build-arch] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
make[1]: *** [scripts/Makefile.package:77: deb-pkg] Error 2
make: *** [Makefile:1559: deb-pkg] Error 2

What this error could be about?

0

There are 0 answers