cp: cannot stat '/home/cheche/lede/build_dir/target-x86_64_musl/mosdns-neo-259bb47/.go_work/build/src/github.com/IrineSistiana/mosdns': No such file or directory
make[2]: *** [Makefile:84: /home/cheche/lede/staging_dir/target-x86_64_musl/stamp/.mosdns_installed] Error 1
不管开不开CONFIG_MOSDNS_COMPRESS_UPX这个,编译始终报错。
cp: cannot stat '/home/cheche/lede/build_dir/target-x86_64_musl/mosdns-neo-259bb47/.go_work/build/src/github.com/IrineSistiana/mosdns': No such file or directory make[2]: *** [Makefile:84: /home/cheche/lede/staging_dir/target-x86_64_musl/stamp/.mosdns_installed] Error 1
依赖还是用mosdns这个名字吧,别用mosdns-neo。
把luci-app-mosdns/Makefile和mosdns/Makefile,这2个文件里的mosdns-neo全部改成mosdns,即可编译通过。
改了以后,编译成功,运行成功。