报错:
BEGIN failed--compilation aborted at /media/ubuntu/disk/SM34/vendor/mediatek/proprietary/bootable/bootloader/preloader/tools/emigen/MT6765/../common/emigen_v1.pm line 1348.
Compilation failed in require at /media/ubuntu/disk/SM34/vendor/mediatek/proprietary/bootable/bootloader/preloader/tools/emigen/MT6765/emigen.pl line 104.
BEGIN failed--compilation aborted at /media/ubuntu/disk/SM34/vendor/mediatek/proprietary/bootable/bootloader/preloader/tools/emigen/MT6765/emigen.pl line 104.
make: *** [/media/ubuntu/disk/SM34/out/target/product/sm34/obj/PRELOADER_OBJ/inc/custom_emi.h] 错误 2
make: *** 正在等待未完成的任务....
make: *** [/media/ubuntu/disk/SM34/out/target/product/sm34/obj/PRELOADER_OBJ/MTK_Loader_Info.tag] 错误 2
解决方法:
sudo apt-get install libswitch-perl