|
|
最近在编译OPENWRT,出现了一个问题,说是XXXXX.patch文件出错。我百度了一下,有人说要手动打补丁,于是又找了一下手动打补丁的教程,看完之后云里雾里的,没太明白,希望各位能指点一二,我已经卡在这个问题上两个星期了!
Applying ./patches/566-ath9k_usb_hang_workaround.patch using plaintext:
patching file drivers/net/wireless/ath/ath9k/hw.c
Hunk #1 FAILED at 36.
Hunk #2 succeeded at 1343 with fuzz 2 (offset -45 lines).
Hunk #3 succeeded at 1869 with fuzz 2 (offset 379 lines).
Hunk #4 FAILED at 1745.
Hunk #5 succeeded at 2538 with fuzz 2 (offset 491 lines).
2 out of 5 hunks FAILED -- saving rejects to file drivers/net/wireless/ath/ath9k/hw.c.rej
Patch failed! Please fix ./patches/566-ath9k_usb_hang_workaround.patch!
make[3]: *** [/home/sdfa/openwrt/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/compat-wireless-2014-05-22/.prepared_6d2a136480412d593718022380df9107] Error 1
make[3]: Leaving directory `/home/sdfa/openwrt/openwrt/package/kernel/mac80211'
make[2]: *** [package/kernel/mac80211/compile] Error 2
make[2]: Leaving directory `/home/sdfa/openwrt/openwrt'
make[1]: *** [/home/sdfa/openwrt/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/sdfa/openwrt/openwrt'
make: *** [world] Error 2 |
|