-
Notifications
You must be signed in to change notification settings - Fork 240
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
Comments
更新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.
|
尝试自己安装了 go >= 1.22.7 看这里 lll@ubuntu:~$ go version |
跟这些没有什么直接关联,你去看 https://github.com/sbwml/luci-app-mosdns?tab=readme-ov-file#how-to-build |
我再找找原因 |
你的浏览器没有中文翻译?
发自我的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.
|
哈哈,有没开启自动翻译,不好意思 |
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$
尝试自己安装了 go >= 1.22.7
lll@ubuntu:~$ go version
go version go1.22.7 linux/amd64
还是一样的报错,大佬瞅瞅
The text was updated successfully, but these errors were encountered: