您的位置:首页 > 运维架构

openwrt编译问题解决

2017-10-28 10:07 567 查看
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

在该出加了一句

然后就编译通过了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  openwrt