ubuntu 编译 openwrt

本文记录了一次使用OpenWRT编译过程中遇到的问题,主要原因是无法从launchpadlibrarian.net下载gcc-linaro-4.8-2014.04.tar.xz文件。通过翻墙下载并将文件手动放置到dl目录下解决了该问题。
sudo apt-get install libssl-dev

 errors,because can not download some files:

/home/zhao/openwrt/scripts/download.pl "/home/zhao/openwrt/dl" "gcc-linaro-4.8-2014.04.tar.xz" "5ba2f3a449b1658ccc09d27cc7ab3c03" "http://launchpad.net/gcc-linaro/4.8/4.8-2014.04/+download/"
--2015-05-01 00:28:37--  http://launchpad.net/gcc-linaro/4.8/4.8-2014.04/+download/gcc-linaro-4.8-2014.04.tar.xz
Resolving launchpad.net (launchpad.net)... 91.189.89.223, 91.189.89.222
Connecting to launchpad.net (launchpad.net)|91.189.89.223|:80... connected.
HTTP request sent, awaiting response... 303 See Other
Location: https://launchpadlibrarian.net/172450987/gcc-linaro-4.8-2014.04.tar.xz [following]
--2015-05-01 00:28:38--  https://launchpadlibrarian.net/172450987/gcc-linaro-4.8-2014.04.tar.xz
Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 91.189.89.229, 91.189.89.228
Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|91.189.89.229|:443... connected.
Unable to establish SSL connection.
Download failed.
--2015-05-01 00:28:59--  http://mirror2.openwrt.org/sources/gcc-linaro-4.8-2014.04.tar.xz
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-05-01 00:29:00 ERROR 404: Not Found.

Download failed.
--2015-05-01 00:29:00--  http://downloads.openwrt.org/sources/gcc-linaro-4.8-2014.04.tar.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
2015-05-01 00:29:01 ERROR 404: Not Found.

Download failed.
No more mirrors to try - giving up.
make[3]: *** [/home/zhao/openwrt/dl/gcc-linaro-4.8-2014.04.tar.xz] Error 2
make[3]: Leaving directory `/home/zhao/openwrt/toolchain/gcc/minimal'
make[2]: *** [toolchain/gcc/minimal/prepare] Error 2
make[2]: Leaving directory `/home/zhao/openwrt'
make[1]: *** [/home/zhao/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/stamp/.toolchain_install] Error 2
make[1]: Leaving directory `/home/zhao/openwrt'
make: *** [world] Error 2

 原因是launchpadlibrarian.net网站被墙了,于是FQ去 把gcc-linaro-4.8-2014.04.tar.xz下载下来放到dl文件夹下,再make就正常了。

转载于:https://www.cnblogs.com/FreedomBox/p/4470674.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值