make olddefconfig cmd failing

Greg KH greg at kroah.com
Sun Apr 22 14:20:10 EDT 2018


On Sun, Apr 22, 2018 at 11:25:13PM +0530, Sumit Kumar wrote:
> 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 at 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
> #
> 

That's fine, all should be good now, have you tried to build this
configuration?

Also, 4.13 is really old and obsolete and insecure, I strongly recommend
using 4.16 at the oldest if you are starting something new like this.

good luck!

greg k-h



More information about the Kernelnewbies mailing list