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

475-5编译失败 #142

Open
love-dy opened this issue Mar 5, 2024 · 6 comments
Open

475-5编译失败 #142

love-dy opened this issue Mar 5, 2024 · 6 comments

Comments

@love-dy
Copy link

love-dy commented Mar 5, 2024

image
请教大佬这是哪里的问题
Error: arch/arm64/boot/dts/rockchip/rk3568-t68m.dts:570.1-2 syntax error
这是什么原因

@love-dy
Copy link
Author

love-dy commented Mar 6, 2024

image
唉,升级go就成这样了

@kenzok8
Copy link
Owner

kenzok8 commented Mar 7, 2024

看报错信息是mosdns编译出错了

@love-dy
Copy link
Author

love-dy commented Mar 7, 2024

看报错信息是mosdns编译出错了

大佬你的small库里有mosdns , lean大神的源码里也有吧,有两个编译的时候是不是冲突了?我删掉一个看行不行
./feeds/packages/net/mosdns
./feeds/packages/mosdns

@kenzok8
Copy link
Owner

kenzok8 commented Mar 7, 2024

两个mosdns可以删除一个

./scripts/feeds clean
./scripts/feeds update -a
rm -rf feeds/luci/applications/luci-app-mosdns
rm -rf feeds/packages/net/{alist,adguardhome,mosdns,smartdns}

然后再运行

./scripts/feeds install -a
make menuconfig

(针对Lean源码的)

@keke1975
Copy link

keke1975 commented Mar 7, 2024

按上边做了,但是现在出来下边这种
make[4]: Entering directory '/home/keke/lede/build_dir/target-x86_64_musl/chinadns-ng-2024.03.07'
make[4]: *** No targets specified and no makefile found. Stop.
make[4]: Leaving directory '/home/keke/lede/build_dir/target-x86_64_musl/chinadns-ng-2024.03.07'
make[3]: *** [Makefile:41: /home/keke/lede/build_dir/target-x86_64_musl/chinadns-ng-2024.03.07/.built] Error 2
make[3]: Leaving directory '/home/keke/lede/feeds/small/chinadns-ng'
time: package/feeds/small/chinadns-ng/compile#0.12#0.02#0.12
ERROR: package/feeds/small/chinadns-ng failed to build.
make[2]: *** [package/Makefile:116: package/feeds/small/chinadns-ng/compile] Error 1
make[2]: Leaving directory '/home/keke/lede'
make[1]: *** [package/Makefile:110: /home/keke/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/keke/lede'
make: *** [/home/keke/lede/include/toplevel.mk:231:world] 错误 2
请问还要删除或是增加什么?

@kenzok8
Copy link
Owner

kenzok8 commented Mar 7, 2024

chinadns-ng 编译出错
你不行就 运行,重新来过吧

make distclean
sed -i '$a src-git kenzo https://github.com/kenzok8/openwrt-packages' feeds.conf.default
sed -i '$a src-git small https://github.com/kenzok8/small' feeds.conf.default
git pull
./scripts/feeds update -a
rm -rf feeds/packages/lang/golang
git clone https://github.com/kenzok8/golang feeds/packages/lang/golang
./scripts/feeds install -a
make menuconfig

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

3 participants