kenzok8 / small

ssr passwall homeprxoy 依赖
Apache License 2.0
1.1k stars 820 forks source link

475-5编译失败 #142

Open love-dy opened 8 months ago

love-dy commented 8 months ago

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

love-dy commented 8 months ago

image 唉,升级go就成这样了

kenzok8 commented 8 months ago

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

love-dy commented 8 months ago

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

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

kenzok8 commented 8 months ago

两个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 commented 8 months ago

按上边做了,但是现在出来下边这种 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 commented 8 months ago

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