[MTK] Can't locate XML/Simple.pm in @INC

文摘 MediaTek 2020-06-1 阅读:1319

[DESCRIPTION]

modem编译报错信息如下:

Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at pcore/tools/NVRAMStatistic/nvram_post_gen.pl line 7.
BEGIN failed--compilation aborted at pcore/tools/NVRAMStatistic/nvram_post_gen.pl line 7.
make[1]: *** [build/TK_MD_BASIC/LWTG_R2_6739/bin/dep/codegen_dep/cgen_cfg_Modem.det] Error 2
make[1]: *** Deleting file `build/TK_MD_BASIC/LWTG_R2_6739/bin/dep/codegen_dep/cgen_cfg_Modem.det'
make: *** [cgen] Error 2

[SOLUTION]

上述报错表示XML/Simple.pm出现问题,或者忘记安装。

需要重新安装XML::Simple module。

命令如下:
sudo cpan install XML::Simple



0条评论

© 2020 芯缘异码. Powered by Typecho