请选择 进入手机版 | 继续访问电脑版

forum.gl-inet.cn

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
    查看: 2553|回复: 0

    求助 Oenwrt 编译 golang1.22.0报错

    [复制链接]

    8

    主题

    63

    帖子

    438

    积分

    中级会员

    Rank: 3Rank: 3

    积分
    438
     楼主| 发表于 2024-2-19 19:27:55 | 显示全部楼层 |阅读模式
    Building Go cmd/dist using /home/ubuntu/openwrt-sdk-21.02.0-ipq40xx-generic_gcc-8.4.0_musl_eabi.Linux-x86_64/build_dir/hostpkg/go-1.22.0/.go_bootstrap. (go1.4-bootstrap-20170531 linux/amd64)
    can't load package: package ./cmd/dist: found packages build.go (main) and notgo120.go (building_Go_requires_Go_1_20_6_or_later) in /home/ubuntu/openwrt-sdk-21.02.0-ipq40xx-generic_gcc-8.4.0_musl_eabi.Linux-x86_64/build_dir/hostpkg/go-1.22.0/src/cmd/dist
    make[2]: *** [Makefile:371: /home/ubuntu/openwrt-sdk-21.02.0-ipq40xx-generic_gcc-8.4.0_musl_eabi.Linux-x86_64/build_dir/hostpkg/go-1.22.0/.built] Error 1
    make[2]: Leaving directory '/home/ubuntu/openwrt-sdk-21.02.0-ipq40xx-generic_gcc-8.4.0_musl_eabi.Linux-x86_64/feeds/packages/lang/golang/golang'
    time: package/feeds/packages/golang/host-compile#125.29#20.05#63.81
        ERROR: package/feeds/packages/golang [host] failed to build.
    make[1]: *** [package/Makefile:112: package/feeds/packages/golang/host/compile] Error 1
    make[1]: Leaving directory '/home/ubuntu/openwrt-sdk-21.02.0-ipq40xx-generic_gcc-8.4.0_musl_eabi.Linux-x86_64'
    make: *** [/home/ubuntu/openwrt-sdk-21.02.0-ipq40xx-generic_gcc-8.4.0_musl_eabi.Linux-x86_64/include/toplevel.mk:223: package/golang/compile] Error 2

    回复

    使用道具 举报

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

    本版积分规则

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

    GMT+8, 2024-12-7 10:02 , Processed in 0.021038 second(s), 23 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2021, Tencent Cloud.

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