搜索

430

主题

515

帖子

2134

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2134
QQ
发表于 2020-4-16 09:46:35 16338 浏览 2 回复

MTK android9.0 编译报错

本帖最后由 tangh 于 2020-4-16 13:33 编辑
  1. Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: /media/wanglili/workspace/work/mt6762_alps-release-p0.mp1-V5/vendor/mediatek/proprietary/bootable/bootloader/preloader/tools/emigen/MT6765/../Spreadsheet /media/wanglili/workspace/work/mt6762_alps-release-p0.mp1-V5/vendor/mediatek/proprietary/bootable/bootloader/preloader/tools/emigen/MT6765/../ /media/wanglili/workspace/work/mt6762_alps-release-p0.mp1-V5/vendor/mediatek/proprietary/bootable/bootloader/preloader/tools/emigen/MT6765 /media/wanglili/workspace/work/mt6762_alps-release-p0.mp1-V5/vendor/mediatek/proprietary/bootable/bootloader/preloader/tools/emigen/MT6765/../common /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /media/wanglili/workspace/work/mt6762_alps-release-p0.mp1-V5/vendor/mediatek/proprietary/bootable/bootloader/preloader/tools/emigen/MT6765/../common/emigen_v1.pm line 1348.
  2. BEGIN failed--compilation aborted at /media/wanglili/workspace/work/mt6762_alps-release-p0.mp1-V5/vendor/mediatek/proprietary/bootable/bootloader/preloader/tools/emigen/MT6765/../common/emigen_v1.pm line 1348.
  3. Compilation failed in require at /media/wanglili/workspace/work/mt6762_alps-release-p0.mp1-V5/vendor/mediatek/proprietary/bootable/bootloader/preloader/tools/emigen/MT6765/emigen.pl line 104.
  4. BEGIN failed--compilation aborted at /media/wanglili/workspace/work/mt6762_alps-release-p0.mp1-V5/vendor/mediatek/proprietary/bootable/bootloader/preloader/tools/emigen/MT6765/emigen.pl line 104.
  5. make: *** [/media/wanglili/workspace/work/mt6762_alps-release-p0.mp1-V5/out/target/product/k65v1_64_bsp/obj/PRELOADER_OBJ/inc/custom_emi.h] Error 2
复制代码


解决方法:sudo apt-get insatall libswitch-perl




  1. FAILED: out/host/linux-x86/obj/EXECUTABLES/dtc_intermediates/dtc-lexer.c
  2. /bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 -oout/host/linux-x86/obj/EXECUTABLES/dtc_intermediates/dtc-lexer.c external/dtc/dtc-lexer.l"
  3. flex-2.5.39: fatal internal error, exec of /usr/bin/m4 failed
复制代码
解决方法:sudo apt-get install bison
手机微信同号:13682654092
回复

使用道具 举报

0

主题

5

帖子

82

积分

注册会员

Rank: 2

积分
82
发表于 2020-4-16 09:51:19
沙发, 这是mtk哪个平台呀?
回复

使用道具 举报

430

主题

515

帖子

2134

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2134
QQ
 楼主| 发表于 2020-4-16 09:52:19
liujin 发表于 2020-4-16 09:51
沙发, 这是mtk哪个平台呀?

MTK6762,MTK6765
手机微信同号:13682654092
回复

使用道具 举报

返回列表
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则


登录或注册
快速回复 返回顶部 返回列表