dns2tcp编译报错,补丁失效
这是错误的详细情况·: HEAD is now at 558b07e Update README.md Packing checkout... touch /home/chen/openwrt/build_dir/target-mipsel_24kc_musl/dns2tcp/dns2tcp-1.1.0-558b07e4c1f9bd5be19e60892a0bce7661ed99a5/.prepared_e95070423ea6a8a85a889c519746504f_6664517399ebbbc92a37c5bb081b5c53_check . /home/chen/openwrt/include/shell.sh; gzip -dc /home/chen/openwrt/dl/dns2tcp-1.1.0-558b07e4c1f9bd5be19e60892a0bce7661ed99a5.tar.gz | tar -C /home/chen/openwrt/build_dir/target-mipsel_24kc_musl/dns2tcp/dns2tcp-1.1.0-558b07e4c1f9bd5be19e60892a0bce7661ed99a5/.. -xf - [ ! -d ./src/ ] || cp -fpR ./src/. /home/chen/openwrt/build_dir/target-mipsel_24kc_musl/dns2tcp/dns2tcp-1.1.0-558b07e4c1f9bd5be19e60892a0bce7661ed99a5
Applying ./patches/001-build-with-gcc-O3-optimizations.patch using plaintext:
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
Patch failed! Please fix ./patches/001-build-with-gcc-O3-optimizations.patch!
make[3]: *** [Makefile:54: /home/chen/openwrt/build_dir/target-mipsel_24kc_musl/dns2tcp/dns2tcp-1.1.0-558b07e4c1f9bd5be19e60892a0bce7661ed99a5/.prepared_e95070423ea6a8a85a889c519746504f_6664517399ebbbc92a37c5bb081b5c53] Error 1
make[3]: Leaving directory '/home/chen/openwrt/feeds/kiddin9/dns2tcp'
time: package/feeds/kiddin9/dns2tcp/compile#0.38#0.14#2.58
ERROR: package/feeds/kiddin9/dns2tcp failed to build.
make[2]: *** [package/Makefile:116: package/feeds/kiddin9/dns2tcp/compile] Error 1
make[2]: Leaving directory '/home/chen/openwrt'
make[1]: *** [package/Makefile:110: /home/chen/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/chen/openwrt'
make: *** [/home/chen/openwrt/include/toplevel.mk:230:world] 错误 2

1.运行make dirclean 2.删除dns2tcp目录下全部文件用https://github.com/Mike-qian/dns2tcp.git替换
1.运行make dirclean 2.删除dns2tcp目录下全部文件用https://github.com/Mike-qian/dns2tcp.git替换
谢谢,之前已经解决了,用了别的作者的替换了