Re: make olddefconfig cmd failing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Alex,

Thanks a lot for the quick response.

I installed flex and bison. Now the errors have gone away but there are still some warnings:

sumitsum@sumit-personal:~/Documents/linux_kernel/git/kernels/staging$ make olddefconfig
  YACC    scripts/kconfig/zconf.tab.c
  LEX     scripts/kconfig/zconf.lex.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --olddefconfig Kconfig
#
# using defaults found in /boot/config-4.13.0-37-generic
#
/boot/config-4.13.0-37-generic:1125:warning: symbol value 'm' invalid for NF_TABLES_INET /boot/config-4.13.0-37-generic:1126:warning: symbol value 'm' invalid for NF_TABLES_NETDEV /boot/config-4.13.0-37-generic:1308:warning: symbol value 'm' invalid for NF_TABLES_IPV4 /boot/config-4.13.0-37-generic:1313:warning: symbol value 'm' invalid for NF_TABLES_ARP /boot/config-4.13.0-37-generic:1355:warning: symbol value 'm' invalid for NF_TABLES_IPV6 /boot/config-4.13.0-37-generic:1393:warning: symbol value 'm' invalid for NF_TABLES_BRIDGE /boot/config-4.13.0-37-generic:3986:warning: symbol value 'm' invalid for HW_RANDOM_TPM /boot/config-4.13.0-37-generic:4760:warning: symbol value 'm' invalid for INTEL_SOC_PMIC_CHTWC /boot/config-4.13.0-37-generic:4976:warning: symbol value 'm' invalid for LIRC /boot/config-4.13.0-37-generic:7712:warning: symbol value 'm' invalid for HWSPINLOCK
#
# configuration written to .config
#


--

Thanks and Regards,

Sumit


On Saturday 21 April 2018 05:18 PM, Alex Arvelaez wrote:

On Apr 21, 2018 7:11 AM, Sumit Kumar <sumit686215@xxxxxxxxx> 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@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



_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux