All of lore.kernel.org
 help / color / mirror / Atom feed
* make olddefconfig cmd failing
@ 2018-04-21 11:10 Sumit Kumar
  0 siblings, 0 replies; 5+ messages in thread
From: Sumit Kumar @ 2018-04-21 11:10 UTC (permalink / raw)
  To: kernelnewbies

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

--

Thanks and Regards,

Sumit


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

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

* make olddefconfig cmd failing
@ 2018-04-21 11:48 Alex Arvelaez
  2018-04-22 17:55 ` Sumit Kumar
  0 siblings, 1 reply; 5+ messages in thread
From: Alex Arvelaez @ 2018-04-21 11:48 UTC (permalink / raw)
  To: kernelnewbies

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

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

* make olddefconfig cmd failing
  2018-04-21 11:48 make olddefconfig cmd failing Alex Arvelaez
@ 2018-04-22 17:55 ` Sumit Kumar
  2018-04-22 18:20   ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Sumit Kumar @ 2018-04-22 17:55 UTC (permalink / raw)
  To: kernelnewbies

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
#


--

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

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

* make olddefconfig cmd failing
  2018-04-22 17:55 ` Sumit Kumar
@ 2018-04-22 18:20   ` Greg KH
  2018-04-22 19:50     ` Sumit Kumar
  0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2018-04-22 18:20 UTC (permalink / raw)
  To: kernelnewbies

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

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

* make olddefconfig cmd failing
  2018-04-22 18:20   ` Greg KH
@ 2018-04-22 19:50     ` Sumit Kumar
  0 siblings, 0 replies; 5+ messages in thread
From: Sumit Kumar @ 2018-04-22 19:50 UTC (permalink / raw)
  To: kernelnewbies

Hi Greg,

Thanks a lot for the quick response.

The kernel seems to build fine with this configuration as well.


--

Thanks and Regards,

Sumit


On Sunday 22 April 2018 11:50 PM, Greg KH wrote:
> 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

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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-21 11:48 make olddefconfig cmd failing Alex Arvelaez
2018-04-22 17:55 ` Sumit Kumar
2018-04-22 18:20   ` Greg KH
2018-04-22 19:50     ` Sumit Kumar
  -- strict thread matches above, loose matches on Subject: below --
2018-04-21 11:10 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.