编译时会报以下错误:
YACC scripts/kconfig/zconf.tab.c
scripts/kconfig/zconf.y:44 parser name defined to default :"parse"
"scripts/kconfig/zconf.y", line 97: junk after `%%' in definition section
"scripts/kconfig/zconf.y", line 97: no input grammar
free(): double free detected in tcache 2
/bin/sh: line 1: 61545 Aborted (core dumped) bison -oscripts/kconfig/zconf.tab.c -t -l scripts/kconfig/zconf.y
scripts/Makefile.lib:228: recipe for target 'scripts/kconfig/zconf.tab.c' failed
原因分析:
系统安装了bison++,需使用bison
解决办法:
apt remove bison++
apt install bison