【openwrt】openwrt CC 编译时出现automake解压错误 现象: 出错提示如下: . /home/fan/openwrt_CC_mt76xx_omj_source/include/shell.sh; xzcat /home/fan/openwrt_CC_mt76xx_omj_source/dl/automake-1.15.tar.xz | tar -C /home/fan/openwrt_CC_mt76xx_omj_source/build_dir/host/automake-1.15/.. -xf - tar: This does not look like a tar archive tar: Exiting with failure status due to previous errors Makefile:50: recipe for target '/home/fan/openwrt_CC_mt76xx_omj_source/build_dir/host/automake-1.15/.prepared6ce139bc95b17c2eb34eb1c015ec4bfd' failed make[3]: *** [/home/fan/openwrt_CC_mt76xx_omj_source/build_dir/host/automake-1.15/.prepared6ce139bc95b17c2eb34eb1c015ec4bfd] Error 2 make[3]: Leaving directory '/home/fan/openwrt_CC_mt76xx_omj_source/tools/automake' tools/Makefile:122: recipe for target 'tools/automake/compile' failed make[2]: *** [tools/automake/compile] Error 2 make[2]: Leaving directory '/home/fan/openwrt_CC_mt76xx_omj_source' tools/Makefile:121: recipe for target '/home/fan/openwrt_CC_mt76xx_omj_source/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.tools_install_yynyynynynyyyyyyyyynyyyyyyyyynyyyyynnyyynnyynnnyy' failed make[1]: *** [/home/fan/openwrt_CC_mt76xx_omj_source/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.tools_install_yynyynynynyyyyyyyyynyyyyyyyyynyyyyynnyyynnyynnnyy] Error 2 make[1]: Leaving directory '/home/fan/openwrt_CC_mt76xx_omj_source' /home/fan/openwrt_CC_mt76xx_omj_source/include/toplevel.mk:181: recipe for target 'world' failed make: *** [world] Error 2 猜测出错原因: automake解压失败 查看目标目录 ls -la build_dir/host/automake-1.15/ total 8 drwxr-xr-x 2 fan fan 4096 Jul 6 10:19 . drwxrwxrw- 45 fan fan 4096 Jul 6 10:19 .. 空空如也 尝试 尝试手动解压 tar -xvf dl/automake-1.15.tar.xz -C build_dir/host/ automake-1.15/ automake-1.15/bin/ automake-1.15/bin/Makefile.inc automake-1.15/bin/aclocal.in automake-1.15/bin/gen-perl-protos automake-1.15/bin/automake.in automake-1.15/THANKS automake-1.15/ChangeLog automake-1.15/configure automake-1.15/.git-log-fix automake-1.15/HACKING automake-1.15/bootstrap.sh automake-1.15/maintainer/ automake-1.15/maintainer/maint.mk automake-1.15/maintainer/am-ft .................. 再次查看目标目录 ls -la build_dir/host/automake-1.15/ total 1532 drwxr-xr-x 11 fan fan 4096 Jan 6 2015 . drwxr-xr-x 45 fan fan 4096 Jul 6 09:22 .. -rw-r--r-- 1 fan fan 1514 Jan 6 2015 aclocal.m4 -rw-r--r-- 1 fan fan 553 Dec 31 2014 AUTHORS drwxr-xr-x 2 fan fan 4096 Jan 6 2015 bin -rwxr-xr-x 1 fan fan 3849 Dec 31 2014 bootstrap.sh -r--r--r-- 1 fan fan 808180 Jan 6 2015 ChangeLog -rwxr-xr-x 1 fan fan 232833 Jan 6 2015 configure -rw-r--r-- 1 fan fan 22831 Dec 31 2014 configure.ac drwxr-xr-x 4 fan fan 4096 Jan 6 2015 contrib -rw-r--r-- 1 fan fan 17987 Jul 22 2013 COPYING drwxr-xr-x 3 fan fan 4096 Jan 6 2015 doc -rwxr-xr-x 1 fan fan 13940 Dec 31 2014 gen-testsuite-part -rw-r--r-- 1 fan fan 439 Dec 14 2012 .git-log-fix -rw-r--r-- 1 fan fan 3303 Dec 31 2014 GNUmakefile -rw-r--r-- 1 fan fan 17850 Dec 31 2014 HACKING -rw-r--r-- 1 fan fan 15752 Dec 28 2014 INSTALL drwxr-xr-x 4 fan fan 4096 Jan 6 2015 lib drwxr-xr-x 4 fan fan 4096 Jan 6 2015 m4 drwxr-xr-x 2 fan fan 4096 Jan 6 2015 maintainer -rw-r--r-- 1 fan fan 4281 Dec 31 2014 Makefile.am -rw-r--r-- 1 fan fan 133297 Jan 6 2015 Makefile.in -rw-r--r-- 1 fan fan 123685 Jan 6 2015 NEWS drwxr-xr-x 2 fan fan 4096 Jan 6 2015 old drwxr-xr-x 4 fan fan 4096 Jan 6 2015 PLANS -rw-r--r-- 1 fan fan 2713 Dec 31 2014 README drwxr-xr-x 6 fan fan 61440 Jan 6 2015 t -rw-r--r-- 1 fan fan 22938 Jan 6 2015 THANKS 这回是解压好了 重新编译, 问题依然。 更多查看评论,最后是解决了。 |
|Archiver|手机版|深圳市光明谷科技有限公司|光明谷商城|Sunshine Silicon Corpporation ( 粤ICP备14060730号 ) |Sitemap
GMT+8, 2024-9-30 23:14 , Processed in 0.105094 second(s), 36 queries .
Powered by Discuz! X3.2 Licensed
© 2001-2013 Comsenz Inc.