主题 : tiny210 openwrt编译错误 求大神解答 openwrt 065-rootfs_split.patch 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 106180
精华: 0
发帖: 14
金钱: 75 两
威望: 15 点
贡献值: 0 点
综合积分: 28 分
注册时间: 2014-07-16
最后登录: 2014-08-30
楼主  发表于: 2014-07-23 14:46

 tiny210 openwrt编译错误 求大神解答 openwrt 065-rootfs_split.patch

openwrt

Applying /home/feifei435/hpw/openwrt-dreambox/target/linux/generic-2.6/patches-2.6.35/060-block2mtd_init.patch using plaintext:
patching file drivers/mtd/devices/block2mtd.c
patching file fs/partitions/check.c

Applying /home/feifei435/hpw/openwrt-dreambox/target/linux/generic-2.6/patches-2.6.35/065-rootfs_split.patch using plaintext:
patching file drivers/mtd/Kconfig
patching file drivers/mtd/mtdpart.c
patching file drivers/mtd/devices/block2mtd.c
missing header for unified diff at line 540 of patch
can't find file to patch at input line 540
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|     if (!mtdname)
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
patching file drivers/mtd/mtdchar.c
patching file include/linux/mtd/mtd.h
patching file include/linux/mtd/partitions.h
patching file include/mtd/mtd-abi.h
Patch failed!  Please fix /home/feifei435/hpw/openwrt-dreambox/target/linux/generic-2.6/patches-2.6.35/065-rootfs_split.patch!
make[3]: *** [/home/feifei435/hpw/openwrt-dreambox/build_dir/toolchain-arm_v7-a_gcc-4.3.3+cs_eglibc-2.8_eabi/linux-2.6.35.7/.prepared] Error 1
make[3]: Leaving directory `/home/feifei435/hpw/openwrt-dreambox/toolchain/kernel-headers'
make[2]: *** [toolchain/kernel-headers/prepare] Error 2
make[2]: Leaving directory `/home/feifei435/hpw/openwrt-dreambox'
make[1]: *** [/home/feifei435/hpw/openwrt-dreambox/staging_dir/toolchain-arm_v7-a_gcc-4.3.3+cs_eglibc-2.8_eabi/stamp/.toolchain_install] Error 2
make[1]: Leaving directory `/home/feifei435/hpw/openwrt-dreambox'
make: *** [world] Error 2
[fei435@localhost openwrt-dreambox]$ cd ..
[fei435@localhost hpw]$ cd ..