On Mon, 23 Jul 2018 11:29:13 +0200, Takashi Iwai wrote:
BTW, this also leads to another question: why flex and bison aren't needed. I thought they are also converted at compile time.
I checked this again: flex and bison *are* needed as well as bc for building a kernel from kernel-source. % zypper in kernel-source % cd /somewhere % zcat /proc/config.gz > .config % export KBUILD_OUTPUT=$PWD % make -C /usr/src/linux .... CHK include/generated/timeconst.h /bin/sh: bc: command not found make[2]: *** [/usr/src/linux-4.17.6-1/./Kbuild:42: include/generated/timeconst.h] Error 127 % zypper in bc % make -C /usr/src/linux .... HOSTCC scripts/genksyms/genksyms.o YACC scripts/genksyms/parse.tab.c /bin/sh: bison: command not found make[3]: *** [/usr/src/linux-4.17.6-1/scripts/genksyms/Makefile:22: scripts/genksyms/parse.tab.c] Error 127 % zypper in bison % make -C /usr/src/linux .... YACC scripts/genksyms/parse.tab.c HOSTCC scripts/genksyms/parse.tab.o LEX scripts/genksyms/lex.lex.c /bin/sh: flex: command not found make[3]: *** [scripts/Makefile.lib:188: scripts/genksyms/lex.lex.c] Error 127 So we'd need some dependency on all bc, bison and flex. Takashi -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org