本帖最后由 husthyx 于 2020-5-1 19:42 编辑
编译lienol大固件出现的问题,请求帮忙.谢谢。
按照https://github.com/Lienol/openwrt要求进行编译,feeds.conf.default内容如下:
src-git routing https://git.openwrt.org/feed/routing.git;openwrt-19.07
src-git telephony https://git.openwrt.org/feed/telephony.git;openwrt-19.07
src-git packages https://github.com/Lienol/openwrt-packages.git;dev-19.07
src-git luci https://github.com/Lienol/openwrt-luci.git;dev-18.06
src-git lienola https://github.com/huchanghui123/Lienol-openwrt-packages-backup
出现问题如下:
Applying ./patches/0002-Revert-verify_simple-and-auth_simple.patch using plaintext:
patching file src/obfs/obfs.c
patch unexpectedly ends in middle of line
Hunk #2 succeeded at 115 with fuzz 1.
Applying ./patches/0003-Refine-Usage.patch using plaintext:
patching file src/utils.c
Applying ./patches/999-Fix-Werror-sizeof-pointer-memaccess.patch using plaintext:
patching file src/local.c
Hunk #1 FAILED at 718 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/local.c.rej
Patch failed! Please fix ./patches/999-Fix-Werror-sizeof-pointer-memaccess.patch!
Makefile:64: recipe for target '/home/lenovo/wrt32xopenwrt_stab_lean_plugin/openwrt/build_dir/target-mipsel_24kc_musl/违禁软件-libev//违禁软件-libev-2.5.6-d63ff863800a5645aca4309d5dd5962bd1e95543/.prepared_2bf227abc395b663769bf32b2989eca0_6664517399ebbbc92a37c5bb081b5c53' failed
make[3]: *** [/home/lenovo/wrt32xopenwrt_stab_lean_plugin/openwrt/build_dir/target-mipsel_24kc_musl/违禁软件-libev//违禁软件-libev-2.5.6-d63ff863800a5645aca4309d5dd5962bd1e95543/.prepared_2bf227abc395b663769bf32b2989eca0_6664517399ebbbc92a37c5bb081b5c53] Error 1
make[3]: Leaving directory '/home/lenovo/wrt32xopenwrt_stab_lean_plugin/openwrt/feeds/lienola/package/违禁软件-libev'
time: package/feeds/lienola/违禁软件-libev/compile#0.47#0.18#0.60
package/Makefile:111: recipe for target 'package/feeds/lienola/违禁软件-libev/compile' failed
make[2]: *** [package/feeds/lienola/违禁软件-libev/compile] Error 2
make[2]: Leaving directory '/home/lenovo/wrt32xopenwrt_stab_lean_plugin/openwrt'
package/Makefile:107: recipe for target '/home/lenovo/wrt32xopenwrt_stab_lean_plugin/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile' failed
make[1]: *** [/home/lenovo/wrt32xopenwrt_stab_lean_plugin/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/lenovo/wrt32xopenwrt_stab_lean_plugin/openwrt'
/home/lenovo/wrt32xopenwrt_stab_lean_plugin/openwrt/include/toplevel.mk:225: recipe for target 'world' failed
make: *** [world] Error 2
请不要胡乱输入以及粘贴、复制等方式灌水
请尊重作者、并共同维护网站的正常阅读,否则账户将会被限制发帖、回帖,并且积分可能会被清零,站内短信以及阅读权限等都会受到影响,谢谢。
具体限制方式:https://www.right.com.cn/forum/thread-8307840-1-1.html
|