* Compile your changes- Tutorial(make -j2)
@ 2018-02-14 10:02 Shreyasi Rao
2018-02-14 10:16 ` [Outreachy kernel] " Julia Lawall
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Shreyasi Rao @ 2018-02-14 10:02 UTC (permalink / raw)
To: outreachy-kernel
[-- Attachment #1: Type: text/plain, Size: 988 bytes --]
Hi,
I followed the tutorial upto modifying driver on native linux but when I
compiled my changes with the make -j2 command it gave me this:
YACC scripts/kconfig/zconf.tab.c
/bin/sh: 1: bison: not found
scripts/Makefile.lib:217: recipe for target 'scripts/kconfig/zconf.tab.c'
failed
make[2]: *** [scripts/kconfig/zconf.tab.c] Error 127
make[2]: *** Waiting for unfinished jobs....
LEX scripts/kconfig/zconf.lex.c
/bin/sh: 1: flex: not found
scripts/Makefile.lib:202: recipe for target 'scripts/kconfig/zconf.lex.c'
failed
make[2]: *** [scripts/kconfig/zconf.lex.c] Error 127
Makefile:507: recipe for target 'silentoldconfig' failed
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target 'include/config/auto.conf', needed by
'include/config/kernel.release'. Stop.
make: *** Waiting for unfinished jobs....
then I installed bison and it didn't make the error go away, now I am
stuck. If you could please tell me where the problem is.
Thanking You,
Shreyasi
[-- Attachment #2: Type: text/html, Size: 1211 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Outreachy kernel] Compile your changes- Tutorial(make -j2)
2018-02-14 10:02 Compile your changes- Tutorial(make -j2) Shreyasi Rao
@ 2018-02-14 10:16 ` Julia Lawall
2018-02-14 10:24 ` Greg KH
2018-02-14 11:19 ` Shreyasi Rao
2 siblings, 0 replies; 4+ messages in thread
From: Julia Lawall @ 2018-02-14 10:16 UTC (permalink / raw)
To: Shreyasi Rao; +Cc: outreachy-kernel
[-- Attachment #1: Type: text/plain, Size: 1791 bytes --]
On Wed, 14 Feb 2018, Shreyasi Rao wrote:
> Hi,
>
> I followed the tutorial upto modifying driver on native linux but when I
> compiled my changes with the make -j2 command it gave me this:
>
> ᅵYACCᅵᅵᅵ scripts/kconfig/zconf.tab.c
> /bin/sh: 1: bison: not found
> scripts/Makefile.lib:217: recipe for target 'scripts/kconfig/zconf.tab.c'
> failed
> make[2]: *** [scripts/kconfig/zconf.tab.c] Error 127
> make[2]: *** Waiting for unfinished jobs....
> ᅵ LEXᅵᅵᅵᅵ scripts/kconfig/zconf.lex.c
> /bin/sh: 1: flex: not found
> scripts/Makefile.lib:202: recipe for target 'scripts/kconfig/zconf.lex.c'
> failed
> make[2]: *** [scripts/kconfig/zconf.lex.c] Error 127
> Makefile:507: recipe for target 'silentoldconfig' failed
> make[1]: *** [silentoldconfig] Error 2
> make: *** No rule to make target 'include/config/auto.conf', needed by
> 'include/config/kernel.release'.ᅵ Stop.
> make: *** Waiting for unfinished jobs....
>
> then I installed bison and it didn't make the error go away, now I am stuck.
> If you could please tell me where the problem is.
It seems that you are also missing flex.
The startup of the kernel compilation process is indeed surprisingly
complicated.
julia
>
> Thanking You,
> Shreyasi
>
> --
> You received this message because you are subscribed to the Google Groups
> "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to outreachy-kernel+unsubscribe@googlegroups.com.
> To post to this group, send email to outreachy-kernel@googlegroups.com.
> To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/CABwYNcVXBFj%3Dpqj2MnbAH
> KZMHCpA9P%3DE2XgwSh5wWRTd%2BrMRmw%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Outreachy kernel] Compile your changes- Tutorial(make -j2)
2018-02-14 10:02 Compile your changes- Tutorial(make -j2) Shreyasi Rao
2018-02-14 10:16 ` [Outreachy kernel] " Julia Lawall
@ 2018-02-14 10:24 ` Greg KH
2018-02-14 11:19 ` Shreyasi Rao
2 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2018-02-14 10:24 UTC (permalink / raw)
To: Shreyasi Rao; +Cc: outreachy-kernel
On Wed, Feb 14, 2018 at 03:32:37PM +0530, Shreyasi Rao wrote:
> Hi,
>
> I followed the tutorial upto modifying driver on native linux but when I
> compiled my changes with the make -j2 command it gave me this:
>
> YACC scripts/kconfig/zconf.tab.c
> /bin/sh: 1: bison: not found
You need to install the 'bison' package on your system.
> scripts/Makefile.lib:217: recipe for target 'scripts/kconfig/zconf.tab.c'
> failed
> make[2]: *** [scripts/kconfig/zconf.tab.c] Error 127
> make[2]: *** Waiting for unfinished jobs....
> LEX scripts/kconfig/zconf.lex.c
> /bin/sh: 1: flex: not found
And install 'flex'
> scripts/Makefile.lib:202: recipe for target 'scripts/kconfig/zconf.lex.c'
> failed
> make[2]: *** [scripts/kconfig/zconf.lex.c] Error 127
> Makefile:507: recipe for target 'silentoldconfig' failed
> make[1]: *** [silentoldconfig] Error 2
> make: *** No rule to make target 'include/config/auto.conf', needed by
> 'include/config/kernel.release'. Stop.
> make: *** Waiting for unfinished jobs....
>
> then I installed bison and it didn't make the error go away, now I am
> stuck. If you could please tell me where the problem is.
It doesn't look like bison is installed.
Try just doing a 'make -j1' to ensure that you are seeing the correct
error messages.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compile your changes- Tutorial(make -j2)
2018-02-14 10:02 Compile your changes- Tutorial(make -j2) Shreyasi Rao
2018-02-14 10:16 ` [Outreachy kernel] " Julia Lawall
2018-02-14 10:24 ` Greg KH
@ 2018-02-14 11:19 ` Shreyasi Rao
2 siblings, 0 replies; 4+ messages in thread
From: Shreyasi Rao @ 2018-02-14 11:19 UTC (permalink / raw)
To: outreachy-kernel
[-- Attachment #1: Type: text/plain, Size: 1204 bytes --]
Yes, I had a problem of broken dependencies. Flex and bison weren't
installed.
Thank you!
On 14-Feb-2018 3:32 PM, "Shreyasi Rao" <shreyasirao97@gmail.com> wrote:
> Hi,
>
> I followed the tutorial upto modifying driver on native linux but when I
> compiled my changes with the make -j2 command it gave me this:
>
> YACC scripts/kconfig/zconf.tab.c
> /bin/sh: 1: bison: not found
> scripts/Makefile.lib:217: recipe for target 'scripts/kconfig/zconf.tab.c'
> failed
> make[2]: *** [scripts/kconfig/zconf.tab.c] Error 127
> make[2]: *** Waiting for unfinished jobs....
> LEX scripts/kconfig/zconf.lex.c
> /bin/sh: 1: flex: not found
> scripts/Makefile.lib:202: recipe for target 'scripts/kconfig/zconf.lex.c'
> failed
> make[2]: *** [scripts/kconfig/zconf.lex.c] Error 127
> Makefile:507: recipe for target 'silentoldconfig' failed
> make[1]: *** [silentoldconfig] Error 2
> make: *** No rule to make target 'include/config/auto.conf', needed by
> 'include/config/kernel.release'. Stop.
> make: *** Waiting for unfinished jobs....
>
> then I installed bison and it didn't make the error go away, now I am
> stuck. If you could please tell me where the problem is.
>
> Thanking You,
> Shreyasi
>
[-- Attachment #2: Type: text/html, Size: 1690 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-02-14 11:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-14 10:02 Compile your changes- Tutorial(make -j2) Shreyasi Rao
2018-02-14 10:16 ` [Outreachy kernel] " Julia Lawall
2018-02-14 10:24 ` Greg KH
2018-02-14 11:19 ` Shreyasi Rao
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.