|
发表于 2020-4-16 09:46:35
16338 浏览 2 回复
MTK android9.0 编译报错
本帖最后由 tangh 于 2020-4-16 13:33 编辑
- 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.
- 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.
- 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.
- 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.
- 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
- FAILED: out/host/linux-x86/obj/EXECUTABLES/dtc_intermediates/dtc-lexer.c
- /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"
- flex-2.5.39: fatal internal error, exec of /usr/bin/m4 failed
复制代码 解决方法:sudo apt-get install bison
|
|
手机微信同号:13682654092
|
|
|
|
|
|
发表于 2020-4-16 09:51:19
|
|
|
|
|
|
|
楼主|
发表于 2020-4-16 09:52:19
|
手机微信同号:13682654092
|
|
|
|
|
登录或注册
|