|
发表于 2022-12-12 19:47:11
1796 浏览 0 回复
编译报错:Can't locate Switch.pm in @INC (you may need to install the Sw...
Android 编译报错:
- [AUTHEN] rsa.N length = 1024 bytes
- [AUTHEN] rsa.E length = 20 bytes
- CFG_MMC_ADDR_TRANS= 1
- CFG_BOOT_ARGUMENT= 1
- CFG_RAM_CONSOLE= 1
- =================================================================
- MTK_PATH_PLATFORM= /home/hxc/mt8788_v5.196/vendor/mediatek/proprietary/bootable/bootloader/preloader/platform/mt6771
- MTK_PATH_CUSTOM= /home/hxc/mt8788_v5.196/vendor/mediatek/proprietary/bootable/bootloader/preloader/custom/tb8788p1_64_bsp
- MTK_ROOT_CUSTOM= /home/hxc/mt8788_v5.196/vendor/mediatek/proprietary/bootable/bootloader/preloader/custom
- CUSTOM_PATH= /home/hxc/mt8788_v5.196/vendor/mediatek/proprietary/bootable/bootloader/preloader/custom/tb8788p1_64_bsp/security
- =================================================================
- Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: /home/hxc/mt8788_v5.196/vendor/mediatek/proprietary/bootable/bootloader/preloader/tools/emigen/MT6771/../Spreadsheet /home/hxc/mt8788_v5.196/vendor/mediatek/proprietary/bootable/bootloader/preloader/tools/emigen/MT6771/../ /home/hxc/mt8788_v5.196/vendor/mediatek/proprietary/bootable/bootloader/preloader/tools/emigen/MT6771 /home/hxc/mt8788_v5.196/vendor/mediatek/proprietary/bootable/bootloader/preloader/tools/emigen/MT6771/../common /usr/local/lib/perl5/site_perl/5.18.4/x86_64-linux /usr/local/lib/perl5/site_perl/5.18.4 /usr/local/lib/perl5/5.18.4/x86_64-linux /usr/local/lib/perl5/5.18.4 .) at /home/hxc/mt8788_v5.196/vendor/mediatek/proprietary/bootable/bootloader/preloader/tools/emigen/MT6771/../common/emigen_v1.pm line 1348.
- BEGIN failed--compilation aborted at /home/hxc/mt8788_v5.196/vendor/mediatek/proprietary/bootable/bootloader/preloader/tools/emigen/MT6771/../common/emigen_v1.pm line 1348.
- Compilation failed in require at /home/hxc/mt8788_v5.196/vendor/mediatek/proprietary/bootable/bootloader/preloader/tools/emigen/MT6771/emigen.pl line 104.
- BEGIN failed--compilation aborted at /home/hxc/mt8788_v5.196/vendor/mediatek/proprietary/bootable/bootloader/preloader/tools/emigen/MT6771/emigen.pl line 104.
- make: *** [/home/hxc/mt8788_v5.196/out/target/product/tb8788p1_64_bsp/obj/PRELOADER_OBJ/inc/custom_emi.h] 閿欒 2
复制代码 Can't locate Switch.pm in @INC (you may need to install the Switch module)
解决方法:
sudo apt-get install libswitch-perl
|
|
手机微信同号:13682654092
|
|
|
|
|
登录或注册
|