问题描述
- openwrt编译时出错 求高手指导
-
http://mirror2.openwrt.org/sources/8145d4dd9b46face26121f27ad60cc1mkdir -p /home/gxy/openwrt/trunk/dl
--2015-11-29 19:50:40-- http://mirror2.openwrt.org/sources/8145d4dd9b46face26121f27ad60cc1c
Resolving mirror2.openwrt.org (mirror2.openwrt.org)... 46.4.11.11
Connecting to mirror2.openwrt.org (mirror2.openwrt.org)|46.4.11.11|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-11-29 19:50:41 ERROR 404: Not Found.Download failed.
--2015-11-29 19:50:41-- http://downloads.openwrt.org/sources/8145d4dd9b46face26121f27ad60cc1c
Resolving downloads.openwrt.org (downloads.openwrt.org)... 78.24.191.177
Connecting to downloads.openwrt.org (downloads.openwrt.org)|78.24.191.177|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-11-29 19:50:42 ERROR 404: Not Found.Download failed.
No more mirrors to try - giving up.
Checking out files from the git repository...
Cloning into 'yaffs2_android'...
fatal: unable to access 'https://android.googlesource.com/platform/external/yaffs2/': Failed to connect to android.googlesource.com port 443: Connection refused
Makefile:39: recipe for target '/home/gxy/openwrt/trunk/dl/yaffs2_android-2008-12-18.tar.bz2' failed
make[3]: *** [/home/gxy/openwrt/trunk/dl/yaffs2_android-2008-12-18.tar.bz2] Error 128
make[3]: Leaving directory '/home/gxy/openwrt/trunk/tools/yaffs2'
tools/Makefile:131: recipe for target 'tools/yaffs2/compile' failed
make[2]: *** [tools/yaffs2/compile] Error 2
make[2]: Leaving directory '/home/gxy/openwrt/trunk'
tools/Makefile:130: recipe for target '/home/gxy/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11/stamp/.tools_install_yynyyynynynyyyyyyynyyyyyyyyyyyyynyyyyynnyynynyyyynnnyy' failed
make[1]: *** [/home/gxy/openwrt/trunk/staging_dir/target-mips_34kc_musl-1.1.11/stamp/.tools_install_yynyyynynynyyyyyyynyyyyyyyyyyyyynyyyyynnyynynyyyynnnyy] Error 2
make[1]: Leaving directory '/home/gxy/openwrt/trunk'
/home/gxy/openwrt/trunk/include/toplevel.mk:177: recipe for target 'world' failed
make: *** [world] Error 2
解决方案
这个问题我也碰到了,是下载源代码包的时候出错了,找不到。具体说,就是下载yaffs2_android-2008-12-18.tar.bz2这个包时出错。具体的版本,你要看一下tools/yaffs2/Makefile这个问题。
知道原因就好办了,从网上下载 yaffs2_android-2008-12-18.tar.bz2这个包,然后拷贝到 dl目录下,就OK了。
解决方案二:
请问你的解决了吗?我也出现这问题,怎么办,怎么办?