openwrt 编译问题

tuzibaibai 发布于 2015/03/19 09:28
阅读 879
收藏 0

@娱乐你我 你好,想跟你请教个问题:

我参考教程中的步骤已经修改和添加完845相关的文件,但是再编译到补丁的时候提示一下错误,请教该如何解决呢,谢谢!

Applying patch platform/999-MIPS-ath79-add-845nv1-support.patch
patching file arch/mips/ath79/Kconfig
Hunk #1 FAILED at 725.
1 out of 1 hunk FAILED -- rejects in file arch/mips/ath79/Kconfig
patching file arch/mips/ath79/machtypes.h
Hunk #1 FAILED at 126.
1 out of 1 hunk FAILED -- rejects in file arch/mips/ath79/machtypes.h
patching file arch/mips/ath79/Makefile
Hunk #1 FAILED at 101.
1 out of 1 hunk FAILED -- rejects in file arch/mips/ath79/Makefile
Patch platform/999-MIPS-ath79-add-845nv1-support.patch does not apply (enforce with -f)
make[4]: *** [/home/zb/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.18.8/.quilt_checked] Error 1
make[4]: Leaving directory `/home/zb/openwrt/trunk/target/linux/ar71xx'
make[3]: *** [compile] Error 2
make[3]: Leaving directory `/home/zb/openwrt/trunk/target/linux'
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory `/home/zb/openwrt/trunk'
make[1]: *** [/home/zb/openwrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.target_compile] Error 2
make[1]: Leaving directory `/home/zb/openwrt/trunk'
make: *** [world] 错误 2


加载中
0
娱乐你我
娱乐你我
因为这个是以前trunk版本的了,直接用这个补丁肯定会有问题。可以直接编译ar71xx的,编译一遍以后再去根据补丁文件去修改那些文件。当然了,如果不想麻烦的话直接刷 wr841n v8的固件就可以了
0
t
tuzibaibai
好的  谢谢  我再试试。。。
返回顶部
顶部