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

  • 相关阅读:
    (简单) POJ 3414 Pots,BFS+记录路径。
    (简单) POJ 3087 Shuffle'm Up,枚举。
    (简单) POJ 3126 Prime Path,BFS。
    (简单) POJ 1426 Find The Multiple,BFS+同余。
    (简单) POJ 3279 Fliptile,集合枚举。
    (简单) POJ 1278 Catch That Cow,回溯。
    (简单) POJ 2251 Dungeon Master,BFS。
    (简单) POJ 1321 棋盘问题,回溯。
    回溯---输出二叉树中所有从根到叶子的路径
    回溯---在矩阵中寻找字符串
  • 原文地址:https://www.cnblogs.com/FreedomBox/p/4470674.html
Copyright © 2011-2022 走看看