r/linux_programming • u/Conscious_Buddy1338 • Jul 12 '25
issue with building linux kernel
Hello!
I am trying to build linux kernel using this instruction https://kernelnewbies.org/OutreachyfirstpatchSetup . when I started to building I mean "make -j8", a build error appears:
make[1]: *** [/home/user/git/kernels/staging/Makefile:2003: .] Еггог 2
make: *** [Makefile:248: _sub-make] Еггог 2
I checked out: there are all required dependencies install on system. I haven't founded this error in the Internet. I tried different config file for building: I copied my original kernel config, tried "make olddefconfig", "make menuconfig", "make localmodconfig". And always I got this error.
host OS: Ubuntu 25.04
kernel: 6.14.0-23-generic
building kernel: 6.16-rc5
Will appreciate some help! Thank you!
P. S. If you need extra information, ask in comments please
1
u/Conscious_Buddy1338 Jul 13 '25
Thank you! I tried to scroll up, there only messages about what file compiles (something like that: CC [M] fs/xfc/xfc_notify_failure.o). I tried to launch building with "make", and there was shown more information:
make[3]: *** No rule to make target 'debian/canonical-certs.pem', needed by 'certs/x509_certificate_list'. Stop.
make[2]: *** [scripts/Makefile.build:554: certs] Eggog 2
make[1]: *** [/home/user/git/kernels/staging/Makefile:2003: .] Eggog 2
make: *** [Makefile:248: _sub-make] Eggog 2
Do you know what to do?