zoukankan      html  css  js  c++  java
  • ubuntu 编译 openwrt

    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就正常了。

  • 相关阅读:
    hdu 1686 Oulipo
    [NOI1997] 积木游戏
    错误录——未完待续
    NOI 2014 魔法森林
    hdu 4010 Query on The Trees
    求助大佬6——1种贪心
    51 nod 1205 流水线调度
    bzoj 1180: [CROATIAN2009]OTOCI
    HNOI2010 弹飞绵羊
    SDOI2008 洞穴勘测
  • 原文地址:https://www.cnblogs.com/FreedomBox/p/4470674.html
Copyright © 2011-2022 走看看