unable to build kernel

Ivan Safonov insafonov at gmail.com
Sat Apr 21 08:33:02 EDT 2018


On 04/21/2018 02:53 PM, Sumit Kumar wrote:
> Hi,
> 
> I am unable to build kernel. Can anyone please help ?
> 
> I am following steps from here: 
> https://kernelnewbies.org/OutreachyfirstpatchSetup
> 
> sumitsum at sumit-personal:~/Documents/linux_kernel/git/kernels/staging$ 
> make -j3
>    YACC    scripts/kconfig/zconf.tab.c
> /bin/sh: 1: bison: not found

Install bison. On Debian:
apt-get install bison

> scripts/Makefile.lib:210: recipe for target 
> 'scripts/kconfig/zconf.tab.c' failed
> make[2]: *** [scripts/kconfig/zconf.tab.c] Error 127
> make[2]: *** Waiting for unfinished jobs....
>    LEX     scripts/kconfig/zconf.lex.c
> /bin/sh: 1: flex: not found

apt-get install flex

> scripts/Makefile.lib:195: recipe for target 
> 'scripts/kconfig/zconf.lex.c' failed
> make[2]: *** [scripts/kconfig/zconf.lex.c] Error 127
> Makefile:525: recipe for target 'syncconfig' failed
> make[1]: *** [syncconfig] Error 2
> make: *** No rule to make target 'include/config/auto.conf', needed by 
> 'include/config/kernel.release'.  Stop.
> make: *** Waiting for unfinished jobs....
> 
> -- 
> 
> Thanks and Regards,
> 
> Sumit
> 
> 
> 
> 
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> 

--
Ivan Safonov.



More information about the Kernelnewbies mailing list