All of lore.kernel.org
 help / color / mirror / Atom feed
* unable to build kernel
@ 2018-04-21 11:53 Sumit Kumar
  2018-04-21 12:33 ` Ivan Safonov
  0 siblings, 1 reply; 3+ messages in thread
From: Sumit Kumar @ 2018-04-21 11:53 UTC (permalink / raw)
  To: kernelnewbies

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
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
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20180421/b5b7f3c1/attachment.html>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* unable to build kernel
  2018-04-21 11:53 unable to build kernel Sumit Kumar
@ 2018-04-21 12:33 ` Ivan Safonov
  2018-04-22 19:58   ` Sumit Kumar
  0 siblings, 1 reply; 3+ messages in thread
From: Ivan Safonov @ 2018-04-21 12:33 UTC (permalink / raw)
  To: kernelnewbies

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* unable to build kernel
  2018-04-21 12:33 ` Ivan Safonov
@ 2018-04-22 19:58   ` Sumit Kumar
  0 siblings, 0 replies; 3+ messages in thread
From: Sumit Kumar @ 2018-04-22 19:58 UTC (permalink / raw)
  To: kernelnewbies

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-22 19:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-21 11:53 unable to build kernel Sumit Kumar
2018-04-21 12:33 ` Ivan Safonov
2018-04-22 19:58   ` Sumit Kumar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.