make olddefconfig cmd failing

Alex Arvelaez ealejandro at outlook.com
Sat Apr 21 07:48:59 EDT 2018


On Apr 21, 2018 7:11 AM, Sumit Kumar <sumit686215 at gmail.com> wrote:
>
> Hi,
>
> I was following instructions given on this web page: https://kernelnewbies.org/OutreachyfirstpatchSetup
>
> I get errors when I execute make olddefconfig cmd:
>
> sumitsum at sumit-personal:~/Documents/linux_kernel/git/kernels/staging$ make olddefconfig
>   HOSTCC  scripts/basic/fixdep
>   HOSTCC  scripts/kconfig/conf.o
>   YACC    scripts/kconfig/zconf.tab.c
> /bin/sh: 1: bison: not found

You need to install bison. Make sure to install all other build dependencies as well (there's a list in the kernel docs).

> scripts/Makefile.lib:210: recipe for target 'scripts/kconfig/zconf.tab.c' failed
> make[1]: *** [scripts/kconfig/zconf.tab.c] Error 127
> Makefile:525: recipe for target 'olddefconfig' failed
> make: *** [olddefconfig] Error 2

Regards,

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


More information about the Kernelnewbies mailing list