编译固件时找不大linux-3.18.29.tar.xz,怎么办

Download failed.
--2017-05-04 23:11:08-- http://downloads.openwrt.org/s ... ar.xz
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
2017-05-04 23:11:08 ERROR 404: Not Found.
已邀请:

xxJian

赞同来自: nothspec

Screenshot_from_2017-05-22_20-17-10.png


你好,我今天也有这样的情况。
我的已经加上去了,但是make时候还是擅自的重新下载.

Screenshot_from_2017-05-22_20-18-26.png




文本内容如下:
make[3]: Leaving directory '/home/xxjian/WRTnode/openwrt/toolchain/gcc/minimal'
make[3]: Entering directory '/home/xxjian/WRTnode/openwrt/toolchain/kernel-headers'
mkdir -p /home/xxjian/WRTnode/openwrt/dl
/home/xxjian/WRTnode/openwrt/scripts/download.pl "/home/xxjian/WRTnode/openwrt/dl" "linux-3.18.29.tar.xz" "b25737a0bc98e80d12200de93f239c28" "" "@KERNEL/linux/kernel/v3.x"
--2017-05-22 20:18:08-- ftp://ftp.all.kernel.org/pub/linux/kernel/v3.x/linux-3.18.29.tar.xz
=> '-'
Resolving ftp.all.kernel.org (ftp.all.kernel.org)... 211.139.178.49
Connecting to ftp.all.kernel.org (ftp.all.kernel.org)|211.139.178.49|:21... failed: Connection timed out.
Retrying.

--2017-05-22 20:18:33-- ftp://ftp.all.kernel.org/pub/linux/kernel/v3.x/linux-3.18.29.tar.xz
(try: 2) => '-'
Connecting to ftp.all.kernel.org (ftp.all.kernel.org)|211.139.178.49|:21...

 是不是需要注释掉某部分的makefile代码?
谢谢~


打开openwrt/scripts/download.pl
找到
#push @mirrors, 'http://mirror1.openwrt.org';
push @mirrors, 'http://mirror2.openwrt.org/sources';
push @mirrors, 'http://downloads.openwrt.org/sources';
 插入以下这行
push @mirrors, 'https://www.kernel.org/pub/linux/kernel/v3.x';

起码能下载了。编译继续。。。

xzmu - 10w

赞同来自:

https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.18.29.tar.xz  迅雷下载这个,然后放到sdk根目录里的dl文件夹里

要回复问题请先登录注册