Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
625045508 opened this issue Sep 25, 2024 · 6 comments
Open

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

625045508 opened this issue Sep 25, 2024 · 6 comments

Comments

@625045508
Copy link

625045508 commented Sep 25, 2024

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
Copy link
Owner

sbwml commented Sep 25, 2024 via email

@625045508
Copy link
Author

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

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

@sbwml
Copy link
Owner

sbwml commented Sep 25, 2024

尝试自己安装了 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
Copy link
Author

尝试自己安装了 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
Copy link
Owner

sbwml commented Sep 26, 2024 via email

@625045508
Copy link
Author

你的浏览器没有中文翻译? 发自我的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.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants