openwrt/include/toplevel.mk:230: world

make: *** [/workdir/openwrt/include/toplevel.mk:230: world] Terminated

编译mtk openwrt问题???

 

网络解决未测试:

make V=99

make[3]: Leaving directory '/home/louis/Code/mt7628/openwrt-3.10.14/package/libs/ocf-crypto-headers'
make[3]: Entering directory '/home/louis/Code/mt7628/openwrt-3.10.14/package/libs/openssl'
WARNING: skipping libopenssl -- package not selected
mkdir -p /home/louis/Code/mt7628/openwrt-3.10.14/dl
/home/louis/Code/mt7628/openwrt-3.10.14/scripts/download.pl "/home/louis/Code/mt7628/openwrt-3.10.14/dl" "openssl-1.0.1j.tar.gz" "f7175c9cd3c39bb1907ac8bba9df8ed3" "http://www.openssl.org/source/" "ftp://ftp.funet.fi/pub/crypt/mirrors/ftp.openssl.org/source" "ftp://ftp.sunet.se/pub/security/tools/net/openssl/source/"
--2017-10-28 10:02:52--  http://www.openssl.org/source/openssl-1.0.1j.tar.gz
Resolving www.openssl.org (www.openssl.org)... 23.13.185.87, 2600:1417:76:18c::c1e, 2600:1417:76:197::c1e
Connecting to www.openssl.org (www.openssl.org)|23.13.185.87|:80... failed: Connection timed out.
Connecting to www.openssl.org (www.openssl.org)|2600:1417:76:18c::c1e|:80... failed: Network is unreachable.
Connecting to www.openssl.org (www.openssl.org)|2600:1417:76:197::c1e|:80... failed: Network is unreachable.
Download failed.
--2017-10-28 10:03:12--  ftp://ftp.funet.fi/pub/crypt/mirrors/ftp.openssl.org/source/openssl-1.0.1j.tar.gz
           => '-'
Resolving ftp.funet.fi (ftp.funet.fi)... 193.166.3.2, 2001:708:10:9::20:2
Connecting to ftp.funet.fi (ftp.funet.fi)|193.166.3.2|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/crypt/mirrors/ftp.openssl.org/source ...
No such directory 'pub/crypt/mirrors/ftp.openssl.org/source'.


Download failed.
--2017-10-28 10:03:20--  ftp://ftp.sunet.se/pub/security/tools/net/openssl/source/openssl-1.0.1j.tar.gz
           => '-'
Resolving ftp.sunet.se (ftp.sunet.se)... 194.71.11.165, 194.71.11.173, 2001:6b0:19::165, ...
Connecting to ftp.sunet.se (ftp.sunet.se)|194.71.11.165|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/security/tools/net/openssl/source ...
No such directory 'pub/security/tools/net/openssl/source'.


Download failed.
--2017-10-28 10:03:26--  http://mirror2.openwrt.org/sources/openssl-1.0.1j.tar.gz
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-10-28 10:03:28 ERROR 404: Not Found.


Download failed.
--2017-10-28 10:03:28--  http://downloads.openwrt.org/sources/openssl-1.0.1j.tar.gz
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-10-28 10:03:31 ERROR 404: Not Found.


Download failed.
--2017-10-28 10:03:31--  https://www.kernel.org/pub/linux/utils/util-linux/v2.24/openssl-1.0.1j.tar.gz
Resolving www.kernel.org (www.kernel.org)... 147.75.110.187, 2604:1380:3000:3500::3
Connecting to www.kernel.org (www.kernel.org)|147.75.110.187|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-10-28 10:03:33 ERROR 404: Not Found.


Download failed.
No more mirrors to try - giving up.
Makefile:201: recipe for target '/home/louis/Code/mt7628/openwrt-3.10.14/dl/openssl-1.0.1j.tar.gz' failed
make[3]: *** [/home/louis/Code/mt7628/openwrt-3.10.14/dl/openssl-1.0.1j.tar.gz] Error 2
make[3]: Leaving directory '/home/louis/Code/mt7628/openwrt-3.10.14/package/libs/openssl'
package/Makefile:173: recipe for target 'package/libs/openssl/compile' failed
make[2]: *** [package/libs/openssl/compile] Error 2
make[2]: Leaving directory '/home/louis/Code/mt7628/openwrt-3.10.14'
package/Makefile:170: recipe for target '/home/louis/Code/mt7628/openwrt-3.10.14/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.package_compile' failed
make[1]: *** [/home/louis/Code/mt7628/openwrt-3.10.14/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/louis/Code/mt7628/openwrt-3.10.14'
/home/louis/Code/mt7628/openwrt-3.10.14/include/toplevel.mk:171: recipe for target 'world' failed

make: *** [world] Error 2

之前也遇见过类似于这种问题

后来我单独搜了下

ftp://ftp.funet.fi/pub/crypt/mirrors/ftp.openssl.org/source/openssl-1.0.1j.tar.gz

ftp://ftp.sunet.se/pub/security/tools/net/openssl/source/openssl-1.0.1j.tar.gz

http://mirror2.openwrt.org/sources/openssl-1.0.1j.tar.gz

http://downloads.openwrt.org/sources/openssl-1.0.1j.tar.gz

https://www.kernel.org/pub/linux/utils/util-linux/v2.24/openssl-1.0.1j.tar.gz

都发现没有改网站

后来我就在网上搜了下openssl-1.0.1j.tar.gz

在http://mirrors.ibiblio.org/openssl/source/old/1.0.1/下面有该文件,

后来我就打开/home/louis/Code/mt7628/openwrt-3.10.14/scripts/download.pl

在该出加了一句


然后就编译通过了
————————————————
版权声明:本文为CSDN博主「MOON20704」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/moonlinux20704/article/details/78373397

 

"make -j1 V=s"

 

参考:

https://www.izheteng.site/2020/04/03/2020-04-03-Ubuntu18-04%E4%B8%8B%E7%BC%96%E8%AF%91OpenWRT15-05%E9%81%87%E5%88%B0%E7%9A%84%E9%97%AE%E9%A2%98%E5%92%8C%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88/

 

posted on   lydstory  阅读(1737)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
历史上的今天:
2021-11-23 arm-hisiv200-linux- 添加驱动
2021-11-23 Hi3516A
2021-11-23 yaffs
2020-11-23 C++ 使用OPENSSL AES DES 加密和JAVA 对接注意事项
2020-11-23 des加密模式
2020-11-23 Not-Yet-Commons-SSL
2020-11-23 java c++ des

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示