sbwml / luci-app-mosdns

一个 DNS 转发器 - OpenWrt 🎁 MosDNS v5 is Ready! 🎉
https://github.com/IrineSistiana/mosdns
1.18k stars 229 forks source link

OpenWrt 官方源编译报错。。冲拉也不行。 #257

Open 625045508 opened 1 month ago

625045508 commented 1 month ago

OpenWrt 官方源,编译 git checkout v23.05.5

Finding targets go: ../../go.mod requires go >= 1.22 (running go 1.21.13; GOTOOLCHAIN=local)

Building targets go: ../../go.mod requires go >= 1.22 (running go 1.21.13; GOTOOLCHAIN=local)

make[3]: [Makefile:47: /home/lll/openwrt/build_dir/target-x86_64_musl/mosdns-5.3.3/.built] Error 1 make[3]: Leaving directory '/home/lll/openwrt/feeds/small/mosdns' time: package/feeds/small/mosdns/compile#0.21#0.06#0.26 ERROR: package/feeds/small/mosdns failed to build. make[2]: [package/Makefile:129: package/feeds/small/mosdns/compile] Error 1 make[2]: Leaving directory '/home/lll/openwrt' make[1]: [package/Makefile:123: /home/lll/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/lll/openwrt' make: [/home/lcx/openwrt/include/toplevel.mk:233: world] Error 2 lll@ubuntu:~/openwrt$

image

尝试自己安装了 go >= 1.22.7 lll@ubuntu:~$ go version go version go1.22.7 linux/amd64 还是一样的报错,大佬瞅瞅

sbwml commented 1 month ago

更新go 版本,需要大于等于 1.22

发自我的iPhone

在 2024年9月25日,19:54,Cyi_xxx @.***> 写道:

 OpenWrt 官方源,编译 git checkout v23.05.5

Finding targets go: ../../go.mod requires go >= 1.22 (running go 1.21.13; GOTOOLCHAIN=local)

Building targets go: ../../go.mod requires go >= 1.22 (running go 1.21.13; GOTOOLCHAIN=local)

make[3]: [Makefile:47: /home/lcx/openwrt/build_dir/target-x86_64_musl/mosdns-5.3.3/.built] Error 1 make[3]: Leaving directory '/home/lcx/openwrt/feeds/small/mosdns' time: package/feeds/small/mosdns/compile#0.21#0.06#0.26 ERROR: package/feeds/small/mosdns failed to build. make[2]: [package/Makefile:129: package/feeds/small/mosdns/compile] Error 1 make[2]: Leaving directory '/home/lcx/openwrt' make[1]: [package/Makefile:123: /home/lcx/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/lcx/openwrt' make: [/home/lcx/openwrt/include/toplevel.mk:233: world] Error 2 @.***:~/openwrt$

尝试自己安装了 go >= 1.22.7 @.***:~$ go version go version go1.22.7 linux/amd64 还是一样的报错,大佬瞅瞅

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

625045508 commented 1 month ago

尝试自己安装了 go >= 1.22.7 看这里

lll@ubuntu:~$ go version go version go1.22.7 linux/amd64

sbwml commented 1 month ago

尝试自己安装了 go >= 1.22.7 看这里

lll@ubuntu:~$ go version go version go1.22.7 linux/amd64

跟这些没有什么直接关联,你去看 https://github.com/sbwml/luci-app-mosdns?tab=readme-ov-file#how-to-build

625045508 commented 1 month ago

尝试自己安装了 go >= 1.22.7 看这里 lll@ubuntu:~$ go version go version go1.22.7 linux/amd64

跟这些没有什么直接关联,你去看 https://github.com/sbwml/luci-app-mosdns?tab=readme-ov-file#how-to-build

我再找找原因

sbwml commented 1 month ago

你的浏览器没有中文翻译?

发自我的iPhone

在 2024年9月26日,12:06,Cyi_xxx @.***> 写道:

 尝试自己安装了 go >= 1.22.7 看这里 @.***:~$ go version go version go1.22.7 linux/amd64

跟这些没有什么直接关联,你去看 https://github.com/sbwml/luci-app-mosdns?tab=readme-ov-file#how-to-build

我再找找原因

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

625045508 commented 1 month ago

你的浏览器没有中文翻译? 发自我的iPhone 在 2024年9月26日,12:06,Cyi_xxx @.> 写道:  尝试自己安装了 go >= 1.22.7 看这里 @.:~$ go version go version go1.22.7 linux/amd64 跟这些没有什么直接关联,你去看 https://github.com/sbwml/luci-app-mosdns?tab=readme-ov-file#how-to-build 我再找找原因 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

哈哈,有没开启自动翻译,不好意思