|
发表于 2020-9-2 20:48:19
5991 浏览 0 回复
MTK编译报错,tools/GCC/4.6.2/linux/bin/arm-none-eabi-gcc: not found
[DESCRIPTION]
在编译过程中,遇到如下编译报错:
- *******************************************
- recommended Build Environment
- *******************************************
- * [OS] : Linux
- * [PERL] : v5.10.1 or v5.14.2
- * [MAKE] : GNU Make v3.81
- * [SHELL] : GNU bash v4.1.5
- * [GCC-ARM-NONE-EABI] : v4.6.2 or above
- * [NATIVE GCC(UBUNTU)]: v4.5 or above
- *******************************************
- Start checking current Build Environment
- *******************************************
- * [PERL] : v5.14.2 [OK] !!!
- * [MAKE] : GNU Make v3.81 [OK] !!!
- * [SHELL] : GNU bash v4.2.25 [HIGHER THAN RECOMMENDED] !!!
- sh: 1: tools/GCC/4.6.2/linux/bin/arm-none-eabi-gcc: not found
- * [GCC-ARM-NONE-EABI] : [UNKNOWN VERSION] !!!
- * [NATIVE GCC(UBUNTU)]: gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 [OK] !!!
- current Build Env. is not recommendation
- To avoid unexpected errors , please install the recommended Tool Chain.
- *******************************************
- Build Environment is NOT RECOMMENDED!
- *******************************************
复制代码
[SOLUTION]
出现“tools/GCC/4.6.2/linux/bin/arm-none-eabi-gcc: not found”这样的报错,是由于系统是64bit的,而sdk是32bit的程序,需要安装ia32-libs才能使用。
需要运行如下命令:
$ sudo apt-get install ia32-libs
|
|
手机微信同号:13682654092
|
|
|
|
|
登录或注册
|