Re: make menuconfig and make j$(nproc) throwing errors

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

 



On Thu, Feb 24, 2022 at 05:40:33AM -0500, Aruna Hewapathirane wrote:
> On Thu, Feb 24, 2022 at 1:46 AM Greg KH <greg@xxxxxxxxx> wrote:
> >
> > On Wed, Feb 23, 2022 at 10:58:45PM -0500, Aruna Hewapathirane wrote:
> > > And I tried to build without make menuconfig and make is telling me I
> > > need 'bison' ? Why do I need bison ? Since when
> > > did we need bison ? See below for details.
> > >
> > > aruna@debian:/media/aruna/linux-next/home/linux-5.16.10$ make -j$(nproc)
> > >   DESCEND objtool
> > >   HOSTCC  scripts/asn1_compiler
> > >   YACC    scripts/genksyms/parse.tab.[ch]
> > > /bin/sh: 1: bison: not found
> >
> > You need bison to build the kernel, sorry, please install it.
> Oh my, you actually went through that mess ? I will do so thank you.
> >
> > > make[2]: *** [scripts/genksyms/Makefile:21:
> > > scripts/genksyms/parse.tab.c] Error 127
> > > make[1]: *** [scripts/Makefile.build:549: scripts/genksyms] Error 2
> > > make[1]: *** Waiting for unfinished jobs....
> > > <stdin>:1:10: fatal error: libelf.h: No such file or directory
> >
> > You also need libelf.
> I will install libelf-dev as well thanks.
> 
> Greg, now make complains it requires 'flex' ?

Yes, please install that.

_______________________________________________
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