unable to build kernel
Sumit Kumar
sumit686215 at gmail.com
Sun Apr 22 15:58:00 EDT 2018
Hi Ivan,
Thanks a lot for the quick reply. Kernel seems to build fine after
installing flex and bison.
--
Thanks and Regards,
Sumit
On Saturday 21 April 2018 06:03 PM, Ivan Safonov wrote:
> 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