平台整编报错

2020-12-25  本文已影响0人  陌上枯草风絮烟雨凉

高通平台编译报错:

  LEX    scripts/kconfig/lexer.lex.c

/bin/sh: 1: flex: not found

make[2]: *** [scripts/Makefile.host:9:scripts/kconfig/lexer.lex.c] 错误 127

make[1]: *** [/media/ubuntu/YAO/19/h-r-19-dev/kernel/msm-5.4/Makefile:597:vendor/19-qgki-debug_defconfig] 错误 2

make[1]: 离开目录“/media/ubuntu/YAO/19/hq-r-19-dev/out/target/product/19/obj/kernel/msm-5.4”

make: *** [Makefile:179:sub-make] 错误 2

linux内核导入配置lexer.lex.c报错:

解决方法:

sudo apt-get install bison

sudo apt-get install flex

上一篇下一篇

猜你喜欢

热点阅读