阿里速卖通 发表于 2024-2-19 19:27:55

求助 Oenwrt 编译 golang1.22.0报错

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: *** Error 1
make: 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 failed to build.
make: *** Error 1
make: Leaving directory '/home/ubuntu/openwrt-sdk-21.02.0-ipq40xx-generic_gcc-8.4.0_musl_eabi.Linux-x86_64'
make: *** Error 2

页: [1]
查看完整版本: 求助 Oenwrt 编译 golang1.22.0报错