https://github.com/MediaTek-Labs/linkit-smart-7688-feed编译失败
mkdir -p /home/fly/workdir/LinkltSmart7688Duo-20170626/openwrt/dl
/home/fly/workdir/LinkltSmart7688Duo-20170626/openwrt/scripts/download.pl "/home/fly/workdir/LinkltSmart7688Duo-20170626/openwrt/dl" "gcc-linaro-4.8-2014.04.tar.xz" "5ba2f3a449b1658ccc09d27cc7ab3c03" "" "http://launchpad.net/gcc-linaro/4.8/4.8-2014.04/+download/"
--2017-06-26 21:33:39-- 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.222, 91.189.89.223
Connecting to launchpad.net (launchpad.net)|91.189.89.222|:80... connected.
HTTP request sent, awaiting response... 303 See Other
Location: https://launchpadlibrarian.net/172450987/gcc-linaro-4.8-2014.04.tar.xz [following]
--2017-06-26 21:33:41-- 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.
HTTP request sent, awaiting response... 503 Service Unavailable
2017-06-26 21:33:44 ERROR 503: Service Unavailable.
Download failed.
--2017-06-26 21:33:44-- 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
2017-06-26 21:33:45 ERROR 404: Not Found.
Download failed.
--2017-06-26 21:33:45-- 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... Read error (Connection timed out) in headers.
Retrying.
--2017-06-26 21:34:08-- (try: 2) http://downloads.openwrt.org/sources/gcc-linaro-4.8-2014.04.tar.xz
Connecting to downloads.openwrt.org (downloads.openwrt.org)|78.24.191.177|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-06-26 21:34:12 ERROR 404: Not Found.
Download failed.
No more mirrors to try - giving up.
Makefile:46: recipe for target '/home/fly/workdir/LinkltSmart7688Duo-20170626/openwrt/dl/gcc-linaro-4.8-2014.04.tar.xz' failed
make[3]: *** [/home/fly/workdir/LinkltSmart7688Duo-20170626/openwrt/dl/gcc-linaro-4.8-2014.04.tar.xz] Error 2
make[3]: Leaving directory '/home/fly/workdir/LinkltSmart7688Duo-20170626/openwrt/toolchain/gcc/minimal'
toolchain/Makefile:81: recipe for target 'toolchain/gcc/minimal/prepare' failed
make[2]: *** [toolchain/gcc/minimal/prepare] Error 2
make[2]: Leaving directory '/home/fly/workdir/LinkltSmart7688Duo-20170626/openwrt'
toolchain/Makefile:80: recipe for target '/home/fly/workdir/LinkltSmart7688Duo-20170626/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/stamp/.toolchain_install' failed
make[1]: *** [/home/fly/workdir/LinkltSmart7688Duo-20170626/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/stamp/.toolchain_install] Error 2
make[1]: Leaving directory '/home/fly/workdir/LinkltSmart7688Duo-20170626/openwrt'
/home/fly/workdir/LinkltSmart7688Duo-20170626/openwrt/include/toplevel.mk:181: recipe for target 'world' failed
make: *** [world] Error 2
==========================================================================================
20170627将dl文件夹的包都下载后,开始第二次编译:
出现如下错误:
Makefile:3583: recipe for target 's-attrtab' failed
make[5]: *** [s-attrtab] Killed
make[5]: Leaving directory '/home/fly/workdir/LinkltSmart7688Duo-20170626/openwrt/build_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-minimal/gcc'
Makefile:3892: recipe for target 'all-gcc' failed
make[4]: *** [all-gcc] Error 2
make[4]: Leaving directory '/home/fly/workdir/LinkltSmart7688Duo-20170626/openwrt/build_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-minimal'
Makefile:46: recipe for target '/home/fly/workdir/LinkltSmart7688Duo-20170626/openwrt/build_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-minimal/.built' failed
make[3]: *** [/home/fly/workdir/LinkltSmart7688Duo-20170626/openwrt/build_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-minimal/.built] Error 2
make[3]: Leaving directory '/home/fly/workdir/LinkltSmart7688Duo-20170626/openwrt/toolchain/gcc/minimal'
toolchain/Makefile:81: recipe for target 'toolchain/gcc/minimal/compile' failed
make[2]: *** [toolchain/gcc/minimal/compile] Error 2
make[2]: Leaving directory '/home/fly/workdir/LinkltSmart7688Duo-20170626/openwrt'
toolchain/Makefile:80: recipe for target '/home/fly/workdir/LinkltSmart7688Duo-20170626/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/stamp/.toolchain_install' failed
make[1]: *** [/home/fly/workdir/LinkltSmart7688Duo-20170626/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/stamp/.toolchain_install] Error 2
make[1]: Leaving directory '/home/fly/workdir/LinkltSmart7688Duo-20170626/openwrt'
/home/fly/workdir/LinkltSmart7688Duo-20170626/openwrt/include/toplevel.mk:181: recipe for target 'world' failed
make: *** [world] Error 2
上面的问题好像意思是说,内存不够,进程killed;实际上我的机器只有1G内存;
也可能是编译s-attrtab出错;
fly@UBT-sCloud:~/workdir/MT7688A-0626/openwrt_widora$ dmesg | tail
[460733.821020] [32543] 1000 32543 4336 2575 13 3 0 0 make
[460733.821023] [32575] 1000 32575 2237 469 9 3 0 0 make
[460733.821025] [32579] 1000 32579 2916 432 11 3 0 0 bash
[460733.821028] [32580] 1000 32580 2525 778 10 3 0 0 make
[460733.821030] [ 382] 1000 382 2967 478 11 3 0 0 bash
[460733.821033] [ 389] 1000 389 2989 417 11 3 0 0 bash
[460733.821036] [ 412] 1000 412 6248 4467 18 3 0 0 make
[460733.821038] [ 628] 1000 628 90153 73344 150 3 0 0 genattrtab
[460733.821040] Out of memory: Kill process 628 (genattrtab) score 332 or sacrifice child
[460733.822557] Killed process 628 (genattrtab) total-vm:360612kB, anon-rss:291912kB, file-rss:1464kB
===============================================================================================================
20170628-18:58 编译错误
cp: cannot stat './wifi_binary/mt_wifi.ko_3.18.45': No such file or directory
Makefile:93: recipe for target '/home/cesiumai/Public/OpenWrt/openwrt/bin/ramips/packages/linkit/mtk-sdk-wifi_2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371_ramips_24kec.ipk' failed
make[3]: *** [/home/cesiumai/Public/OpenWrt/openwrt/bin/ramips/packages/linkit/mtk-sdk-wifi_2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371_ramips_24kec.ipk] Error 1
make[3]: Leaving directory '/home/cesiumai/Public/OpenWrt/openwrt/feeds/linkit/mtk-sdk-wifi'
package/Makefile:191: recipe for target 'package/feeds/linkit/mtk-sdk-wifi/compile' failed
make[2]: *** [package/feeds/linkit/mtk-sdk-wifi/compile] Error 2
make[2]: Leaving directory '/home/cesiumai/Public/OpenWrt/openwrt'
package/Makefile:188: recipe for target '/home/cesiumai/Public/OpenWrt/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.package_compile' failed
make[1]: *** [/home/cesiumai/Public/OpenWrt/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/cesiumai/Public/OpenWrt/openwrt'
/home/cesiumai/Public/OpenWrt/openwrt/include/toplevel.mk:181: recipe for target 'world' failed
make: *** [world] Error 2
========================================================================================================================
20170629编译失败
cp: cannot stat './wifi_binary/mt_wifi.ko_3.18.45': No such file or directory
Makefile:93: recipe for target '/home/cesiumai/Public/OpenWrt/LinkItSmart7688/openwrt/bin/ramips/packages/linkit/mtk-sdk-wifi_2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371_ramips_24kec.ipk' failed
make[3]: *** [/home/cesiumai/Public/OpenWrt/LinkItSmart7688/openwrt/bin/ramips/packages/linkit/mtk-sdk-wifi_2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371_ramips_24kec.ipk] Error 1
make[3]: Leaving directory '/home/cesiumai/Public/OpenWrt/LinkItSmart7688/openwrt/feeds/linkit/mtk-sdk-wifi'
package/Makefile:191: recipe for target 'package/feeds/linkit/mtk-sdk-wifi/compile' failed
make[2]: *** [package/feeds/linkit/mtk-sdk-wifi/compile] Error 2
make[2]: Leaving directory '/home/cesiumai/Public/OpenWrt/LinkItSmart7688/openwrt'
package/Makefile:188: recipe for target '/home/cesiumai/Public/OpenWrt/LinkItSmart7688/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.package_compile' failed
make[1]: *** [/home/cesiumai/Public/OpenWrt/LinkItSmart7688/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/cesiumai/Public/OpenWrt/LinkItSmart7688/openwrt'
/home/cesiumai/Public/OpenWrt/LinkItSmart7688/openwrt/include/toplevel.mk:181: recipe for target 'world' failed
make: *** [world] Error 2
https://github.com/MediaTek-Labs/linkit-smart-7688-feed编译失败的更多相关文章
- 转载请注明出处: https://github.com/qiu-deqing/FE-interview
转载请注明出处: https://github.com/qiu-deqing/FE-interview Table of Contents generated with DocToc FE-inter ...
- https://github.com/chenghuige/tensorflow-exp/blob/master/examples/sparse-tensor-classification/
https://github.com/chenghuige/tensorflow-exp/blob/master/examples/sparse-tensor-classification/ ...
- fatal: could not read Username for 'https://github.com': No such file or directo
Git push origin master报错 fatal: could not read Username for 'https://github.com': No such file or di ...
- 结合个人经历总结的前端入门方法 (转自https://github.com/qiu-deqing/FE-learning)
结合个人经历总结的前端入门方法 (https://github.com/qiu-deqing/FE-learning),里面有很详细的介绍. 之前一直想学习前端的,都不知道怎么下手都一年了啥也没学到, ...
- (2016 年) githup 博客地址 : https://github.com/JMWY/MyBlog
githup 博客地址 : https://github.com/JMWY/MyBlog
- MJExtension的使用:https://github.com/CoderMJLee/MJExtension
MJExtension能做什么? MJExtension是一套字典和模型之间互相转换的超轻量级框架 MJExtension能完成的功能 字典(JSON) --> 模型(Model) 模型(Mod ...
- MBProgressHUD框架的使用:https://github.com/jdg/MBProgressHUD
MBProgressHUD是一个开源类库,实现了各种样式的提示框, 下载地址:https://github.com/jdg/MBProgressHUD,然后把两个MBProgressHUD.h和MBP ...
- https://github.com/akullpp/awesome-java
java stack https://github.com/akullpp/awesome-java
- https://github.com/oneuijs/You-Dont-Need-jQuery
https://github.com/oneuijs/You-Dont-Need-jQuery
- wget https://github.com/xxx/yyy/archive/${commit_hash}.zip
wget https://github.com/xxx/yyy/archive/${commit_hash}.zip
随机推荐
- 常用的java方法,为程序添点小功能
一.生成随机数 Random类使用示例 使用Random类,一般是生成指定区间的随机数字,下面就一一介绍如何生成对应区间的随机数字.以下生成随机数的代码均使用以下Random对象r进行生成: Rand ...
- java多线程——线程通信
一.线程通信目标 1.线程通信的目标是使线程间能够互相发送信号 2.线程通信使线程能够等待其他线程的信号 二.几种方式 1.通过共享对象 2.忙等待 线程 B 运行在一个循环里,以等待信号 (不释放c ...
- android binder 基础实例及解析(一)【转】
本文转载自:http://blog.csdn.net/newchenxf/article/details/49359283#insertcode 原文网址(转载请注明出处): http://blog. ...
- 硬盘-RAID 5组建
没发正文之前本人先声明一下----本文是转载 这篇文章简直是太精彩了,呵呵 ,实在是忍不住了,一定要贴出来,让大家分享! 原作者:唐华 责任编辑:xiexiaojin 我们生活在一个历史记录在硬盘上的 ...
- CF19 E Fairy——树上差分
题目:http://codeforces.com/contest/19/problem/E 先把图连成一棵树,然后对于每条非树边,判断它是在奇环中还是偶环中: 把环上的点打上相应的差分标记,并记录有多 ...
- 杂项:BPM
ylbtech-杂项:BPM 1.返回顶部 1. BPM,即业务流程管理,是一种以规范化的构造端到端的卓越业务流程为中心,以持续的提高组织业务绩效为目的的系统化方法,常见商业管理教育如EMBA.MBA ...
- 如何判断js的变量的数据类型
文章首发: http://www.cnblogs.com/sprying/p/4349426.html 本文罗列了一般的Js中类型检测的方法,实际上是每个新手在构建Js知识体系时,都要知晓的,而我只是 ...
- C# 针对文件夹的操作
//创建文件夹Directory.CreateDirectory(Server.MapPath("a"));Directory.CreateDirectory(Server.Map ...
- C# 的反射和映射
最近想研究一下反射,先上网找了找资料,几乎大部分都是照抄MSDN的内容,生涩难懂,几乎没说,又找了找,发现一些强人的实例解析,才稍微有了 点门道,个人感觉,反射其实就是为了能够在程序运行期间动态的加载 ...
- curl 采集的时候遇到60报错怎么办?
1.到https://curl.haxx.se/ca/cacert.pem复制下文本粘贴到文件夹cart.pem 然后把catr.pem放到PHP的bin目录下 2.在php.ini中修改下面这句话, ...