编译报错sft1200
使用这个仓库:gl-inet/gl-infra-builder (github.com)环境:wsl ubuntu22.04 gcc-9.5我的操作步骤:
git checkout v4.1.1_sft1200_beta1git checkout v4.1.1_sft1200_beta1
python3 setup.py -c ./configs/config-siflower-18.x.yml
cd openwrt-18.06/siflower/openwrt-18.06/
./scripts/gen_config.py target_siflower_gl-sft1200
make V=s
最后停在这里:
mkdir -p /home/ankee/src/gl-infra-builder/openwrt-18.06/siflower/openwrt-18.06/dl
SHELL= flock /home/ankee/src/gl-infra-builder/openwrt-18.06/siflower/openwrt-18.06/tmp/.board-2.bin.ddcec9efd245da9365c474f513a855a55f3ac7fe.flock -c ' /home/ankee/src/gl-infra-builder/openwrt-18.06/siflower/openwrt-18.06/scripts/download.pl "/home/ankee/src/gl-infra-builder/openwrt-18.06/siflower/openwrt-18.06/dl" "board-2.bin.ddcec9efd245da9365c474f513a855a55f3ac7fe" "03711ac21e60ef59d3815e235eb721c0c22851b5410299411085aa6f2af45401" "board-2.bin?id=ddcec9efd245da9365c474f513a855a55f3ac7fe" "https://source.codeaurora.org/quic/qsdk/oss/firmware/ath10k-firmware/plain/ath10k/QCA99X0/hw2.0" '
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://source.codeaurora.org/quic/qsdk/oss/firmware/ath10k-firmware/plain/ath10k/QCA99X0/hw2.0/board-2.bin?id=ddcec9efd245da9365c474f513a855a55f3ac7fe
% Total % Received % XferdAverage Speed Time Time TimeCurrent
DloadUpload Total Spent LeftSpeed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: source.codeaurora.org
Warning: Problem : timeout. Will retry in 1 seconds. 5 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: source.codeaurora.org
Warning: Problem : timeout. Will retry in 2 seconds. 4 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: source.codeaurora.org
Warning: Problem : timeout. Will retry in 4 seconds. 3 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: source.codeaurora.org
Warning: Problem : timeout. Will retry in 8 seconds. 2 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: source.codeaurora.org
Warning: Problem : timeout. Will retry in 16 seconds. 1 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: source.codeaurora.org
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://sources.lede-project.org/board-2.bin?id=ddcec9efd245da9365c474f513a855a55f3ac7fe
% Total % Received % XferdAverage Speed Time Time TimeCurrent
DloadUpload Total Spent LeftSpeed
100 185100 185 0 0 160 00:00:010:00:01 --:--:-- 160
0 169 0 0 0 0 0 0 --:--:--0:00:02 --:--:-- 0
curl: (22) The requested URL returned error: 404
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://mirror2.openwrt.org/sources/board-2.bin?id=ddcec9efd245da9365c474f513a855a55f3ac7fe
% Total % Received % XferdAverage Speed Time Time TimeCurrent
DloadUpload Total Spent LeftSpeed
0 153 0 0 0 0 0 0 --:--:--0:00:01 --:--:-- 0
curl: (22) The requested URL returned error: 404
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://downloads.openwrt.org/sources/board-2.bin?id=ddcec9efd245da9365c474f513a855a55f3ac7fe
% Total % Received % XferdAverage Speed Time Time TimeCurrent
DloadUpload Total Spent LeftSpeed
100 185100 185 0 0 203 0 --:--:-- --:--:-- --:--:-- 203
0 169 0 0 0 0 0 0 --:--:--0:00:03 --:--:-- 0
curl: (22) The requested URL returned error: 404
Download failed.
No more mirrors to try - giving up.
make: *** Error 2
make: Leaving directory '/home/ankee/src/gl-infra-builder/openwrt-18.06/siflower/openwrt-18.06/package/firmware/linux-firmware'
time: package/firmware/linux-firmware/compile#3.90#2.83#387.14
make: *** Error 2
make: Leaving directory '/home/ankee/src/gl-infra-builder/openwrt-18.06/siflower/openwrt-18.06'
make: *** Error 2
make: Leaving directory '/home/ankee/src/gl-infra-builder/openwrt-18.06/siflower/openwrt-18.06'
make: *** Error 2似乎一个链接失效了,刚玩这个,请问这个怎么解决啊。。。
因为原本软件源现在不提供服务了,所以ath10k/QCA99X0/hw2.0 下载失败。
必须更换软件源,我自己不带官方UI的代码已更新,可编译成功
https://forum.gl-inet.cn/forum.php?mod=viewthread&tid=3215&extra=page%3D1
页:
[1]