搜索

451

主题

663

帖子

5297

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
5297
QQ
发表于 2022-12-12 19:47:11 1795 浏览 0 回复

编译报错:Can't locate Switch.pm in @INC (you may need to install the Sw...

Android 编译报错:
  1. [AUTHEN] rsa.N length = 1024 bytes
  2. [AUTHEN] rsa.E length = 20 bytes

  3. CFG_MMC_ADDR_TRANS= 1
  4. CFG_BOOT_ARGUMENT= 1
  5. CFG_RAM_CONSOLE= 1
  6. =================================================================
  7. MTK_PATH_PLATFORM= /home/hxc/mt8788_v5.196/vendor/mediatek/proprietary/bootable/bootloader/preloader/platform/mt6771
  8. MTK_PATH_CUSTOM= /home/hxc/mt8788_v5.196/vendor/mediatek/proprietary/bootable/bootloader/preloader/custom/tb8788p1_64_bsp
  9. MTK_ROOT_CUSTOM= /home/hxc/mt8788_v5.196/vendor/mediatek/proprietary/bootable/bootloader/preloader/custom
  10. CUSTOM_PATH= /home/hxc/mt8788_v5.196/vendor/mediatek/proprietary/bootable/bootloader/preloader/custom/tb8788p1_64_bsp/security
  11. =================================================================
  12. 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.
  13. 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.
  14. Compilation failed in require at /home/hxc/mt8788_v5.196/vendor/mediatek/proprietary/bootable/bootloader/preloader/tools/emigen/MT6771/emigen.pl line 104.
  15. BEGIN failed--compilation aborted at /home/hxc/mt8788_v5.196/vendor/mediatek/proprietary/bootable/bootloader/preloader/tools/emigen/MT6771/emigen.pl line 104.
  16. 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
回复

使用道具 举报

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

本版积分规则


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