Welcome to the Linux Foundation Forum!

This error pops up while compiling linux kernel

Options

make[1]: *** [/linux_kernel/Makefile:1911: .] Error 2
make: *** [Makefile:234: __sub-make] Error 2

Answers

  • naman2608
    Options

    This also worked for me

    1. sudo apt install linux-buildinfo-`uname -r`
    
    2. mkdir debian
    
    3. cp /usr/lib/linux/`uname -r`/*.pem debian/
    

Categories

Upcoming Training