Hi all,
I am following the Tutorial for R7800 to build a firmware for my R7500v2. Instead of "git checkout tags/v17.01.2", I used the branch 17.01 by "git checkout lede-17.01".
The make fails with the following log.
Applying ./patches-2.0/100-musl-compat.patch using plaintext:
patching file src/usbipd.c
Hunk #1 FAILED at 453.
1 out of 1 hunk FAILED -- saving rejects to file src/usbipd.c.rej
Patch failed! Please fix ./patches-2.0/100-musl-compat.patch!
Makefile:107: recipe for target '/home/ggrn/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.16_eabi/linux-ipq806x/usbip-2.0/.prepared_b295d1b65ee4b3b5b25b8c458736ea3768b329da9893e34099c7d8ad5cb9c940' failed
make[3]: *** [/home/ggrn/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.16_eabi/linux-ipq806x/usbip-2.0/.prepared_b295d1b65ee4b3b5b25b8c458736ea3768b329da9893e34099c7d8ad5cb9c940] Error 1
make[3]: Leaving directory '/home/ggrn/openwrt/feeds/packages/net/usbip'
package/Makefile:105: recipe for target 'package/feeds/packages/usbip/compile' failed
make[2]: *** [package/feeds/packages/usbip/compile] Error 2
make[2]: Leaving directory '/home/ggrn/openwrt'
package/Makefile:101: recipe for target '/home/ggrn/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.16_eabi/stamp/.package_compile' failed
make[1]: *** [/home/ggrn/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.16_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/ggrn/openwrt'
/home/ggrn/openwrt/include/toplevel.mk:205: recipe for target 'world' failed
make: *** [world] Error 2
I wonder how can this error happens, and how to fix it?
Thank you.