forum.gl-inet.cn

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
    查看: 2562|回复: 1

    [编译问题] 编译报错sft1200

    [复制链接]

    1

    主题

    1

    帖子

    19

    积分

    新手上路

    Rank: 1

    积分
    19
    发表于 2023-5-20 20:38:20 | 显示全部楼层 |阅读模式
    使用这个仓库:gl-inet/gl-infra-builder (github.com)环境:wsl ubuntu22.04 gcc-9.5
    我的操作步骤:
    1. git checkout v4.1.1_sft1200_beta1git checkout v4.1.1_sft1200_beta1
    2. python3 setup.py -c ./configs/config-siflower-18.x.yml
    3. cd openwrt-18.06/siflower/openwrt-18.06/
    4. ./scripts/gen_config.py target_siflower_gl-sft1200
    5. make V=s
    复制代码



    最后停在这里:
    1. mkdir -p /home/ankee/src/gl-infra-builder/openwrt-18.06/siflower/openwrt-18.06/dl
    2. 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"    '
    3. + 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
    4.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
    5.                                  Dload  Upload   Total   Spent    Left  Speed
    6.   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: source.codeaurora.org
    7. Warning: Problem : timeout. Will retry in 1 seconds. 5 retries left.
    8.   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: source.codeaurora.org
    9. Warning: Problem : timeout. Will retry in 2 seconds. 4 retries left.
    10.   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: source.codeaurora.org
    11. Warning: Problem : timeout. Will retry in 4 seconds. 3 retries left.
    12.   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: source.codeaurora.org
    13. Warning: Problem : timeout. Will retry in 8 seconds. 2 retries left.
    14.   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: source.codeaurora.org
    15. Warning: Problem : timeout. Will retry in 16 seconds. 1 retries left.
    16.   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: source.codeaurora.org
    17. Download failed.
    18. + curl -f --connect-timeout 20 --retry 5 --location --insecure https://sources.lede-project.org/board-2.bin?id=ddcec9efd245da9365c474f513a855a55f3ac7fe
    19.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
    20.                                  Dload  Upload   Total   Spent    Left  Speed
    21. 100   185  100   185    0     0    160      0  0:00:01  0:00:01 --:--:--   160
    22.   0   169    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
    23. curl: (22) The requested URL returned error: 404
    24. Download failed.
    25. + curl -f --connect-timeout 20 --retry 5 --location --insecure https://mirror2.openwrt.org/sources/board-2.bin?id=ddcec9efd245da9365c474f513a855a55f3ac7fe
    26.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
    27.                                  Dload  Upload   Total   Spent    Left  Speed
    28.   0   153    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
    29. curl: (22) The requested URL returned error: 404
    30. Download failed.
    31. + curl -f --connect-timeout 20 --retry 5 --location --insecure https://downloads.openwrt.org/sources/board-2.bin?id=ddcec9efd245da9365c474f513a855a55f3ac7fe
    32.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
    33.                                  Dload  Upload   Total   Spent    Left  Speed
    34. 100   185  100   185    0     0    203      0 --:--:-- --:--:-- --:--:--   203
    35.   0   169    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0
    36. curl: (22) The requested URL returned error: 404
    37. Download failed.
    38. No more mirrors to try - giving up.
    39. make[3]: *** [qca_ath10k.mk:11: /home/ankee/src/gl-infra-builder/openwrt-18.06/siflower/openwrt-18.06/dl/board-2.bin.ddcec9efd245da9365c474f513a855a55f3ac7fe] Error 2
    40. make[3]: Leaving directory '/home/ankee/src/gl-infra-builder/openwrt-18.06/siflower/openwrt-18.06/package/firmware/linux-firmware'
    41. time: package/firmware/linux-firmware/compile#3.90#2.83#387.14
    42. make[2]: *** [package/Makefile:122: package/firmware/linux-firmware/compile] Error 2
    43. make[2]: Leaving directory '/home/ankee/src/gl-infra-builder/openwrt-18.06/siflower/openwrt-18.06'
    44. make[1]: *** [package/Makefile:116: /home/ankee/src/gl-infra-builder/openwrt-18.06/siflower/openwrt-18.06/staging_dir/target-mipsel_mips-interAptiv_musl/stamp/.package_compile] Error 2
    45. make[1]: Leaving directory '/home/ankee/src/gl-infra-builder/openwrt-18.06/siflower/openwrt-18.06'
    46. make: *** [/home/ankee/src/gl-infra-builder/openwrt-18.06/siflower/openwrt-18.06/include/toplevel.mk:218: world] Error 2
    复制代码
    似乎一个链接失效了,刚玩这个,请问这个怎么解决啊。。。
    回复

    使用道具 举报

    1

    主题

    13

    帖子

    124

    积分

    注册会员

    Rank: 2

    积分
    124
    发表于 2023-5-22 10:33:28 | 显示全部楼层
    因为原本软件源现在不提供服务了,所以ath10k/QCA99X0/hw2.0 下载失败。
    必须更换软件源,我自己不带官方UI的代码已更新,可编译成功

    https://forum.gl-inet.cn/forum.p ... &extra=page%3D1

    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    Archiver|手机版|小黑屋|gl-inet.cn ( 粤ICP备18130956号 )

    GMT+8, 2024-12-4 15:57 , Processed in 0.021736 second(s), 24 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2021, Tencent Cloud.

    快速回复 返回顶部 返回列表