I'm trying to compile OpenWrt from snv as it is said in Mikrotik's Wiki, but I'm getting an error:
Code: Select all
patching file arch/mips/include/asm/fixmap.h
Hunk #1 FAILED at 70.
1 out of 1 hunk FAILED -- rejects in file arch/mips/include/asm/fixmap.h
patching file arch/mips/include/asm/io.h
Hunk #1 succeeded at 181 with fuzz 2 (offset -18 lines).
Hunk #2 FAILED at 208.
1 out of 2 hunks FAILED -- rejects in file arch/mips/include/asm/io.h
The next patch would create the file arch/mips/include/asm/mach-metarouter/kernel-entry-init.h,
which already exists! Applying it anyway.
patching file arch/mips/include/asm/mach-metarouter/kernel-entry-init.h
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- rejects in file arch/mips/include/asm/mach-metarouter/kernel-entry-init.h
The next patch would create the file arch/mips/include/asm/mach-metarouter/spaces.h,
which already exists! Applying it anyway.
patching file arch/mips/include/asm/mach-metarouter/spaces.h
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- rejects in file arch/mips/include/asm/mach-metarouter/spaces.h
The next patch would create the file arch/mips/include/asm/mach-metarouter/war.h,
which already exists! Applying it anyway.
patching file arch/mips/include/asm/mach-metarouter/war.h
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- rejects in file arch/mips/include/asm/mach-metarouter/war.h
The next patch would create the file arch/mips/include/asm/vm.h,
which already exists! Applying it anyway.
patching file arch/mips/include/asm/vm.h
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- rejects in file arch/mips/include/asm/vm.h
patching file arch/mips/Kconfig
Hunk #1 succeeded at 604 with fuzz 2 (offset 13 lines).
patching file arch/mips/Makefile
Hunk #1 succeeded at 580 with fuzz 2 (offset 9 lines).
The next patch would create the file arch/mips/metarouter/irq.c,
which already exists! Applying it anyway.
patching file arch/mips/metarouter/irq.c
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- rejects in file arch/mips/metarouter/irq.c
The next patch would create the file arch/mips/metarouter/Makefile,
which already exists! Applying it anyway.
patching file arch/mips/metarouter/Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- rejects in file arch/mips/metarouter/Makefile
The next patch would create the file arch/mips/metarouter/prom.c,
which already exists! Applying it anyway.
patching file arch/mips/metarouter/prom.c
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- rejects in file arch/mips/metarouter/prom.c
The next patch would create the file arch/mips/metarouter/setup.c,
which already exists! Applying it anyway.
patching file arch/mips/metarouter/setup.c
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- rejects in file arch/mips/metarouter/setup.c
The next patch would create the file arch/powerpc/include/asm/mtvic.h,
which already exists! Applying it anyway.
patching file arch/powerpc/include/asm/mtvic.h
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- rejects in file arch/powerpc/include/asm/mtvic.h
patching file arch/powerpc/include/asm/pgtable-ppc32.h
Hunk #1 FAILED at 63.
1 out of 1 hunk FAILED -- rejects in file arch/powerpc/include/asm/pgtable-ppc32.h
The next patch would create the file arch/powerpc/include/asm/vm.h,
which already exists! Applying it anyway.
patching file arch/powerpc/include/asm/vm.h
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- rejects in file arch/powerpc/include/asm/vm.h
patching file arch/powerpc/platforms/85xx/Kconfig
Hunk #1 succeeded at 141 with fuzz 2 (offset 6 lines).
patching file arch/powerpc/platforms/85xx/Makefile
Hunk #1 FAILED at 9.
1 out of 1 hunk FAILED -- rejects in file arch/powerpc/platforms/85xx/Makefile
The next patch would create the file arch/powerpc/platforms/85xx/metarouter.c,
which already exists! Applying it anyway.
patching file arch/powerpc/platforms/85xx/metarouter.c
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- rejects in file arch/powerpc/platforms/85xx/metarouter.c
patching file arch/powerpc/sysdev/Kconfig
Hunk #1 FAILED at 12.
1 out of 1 hunk FAILED -- rejects in file arch/powerpc/sysdev/Kconfig
patching file arch/powerpc/sysdev/Makefile
Hunk #1 FAILED at 7.
1 out of 1 hunk FAILED -- rejects in file arch/powerpc/sysdev/Makefile
The next patch would create the file arch/powerpc/sysdev/mtvic.c,
which already exists! Applying it anyway.
patching file arch/powerpc/sysdev/mtvic.c
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- rejects in file arch/powerpc/sysdev/mtvic.c
The next patch would create the file drivers/char/hvc_meta.c,
which already exists! Applying it anyway.
patching file drivers/char/hvc_meta.c
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- rejects in file drivers/char/hvc_meta.c
patching file drivers/char/Kconfig
Hunk #1 succeeded at 679 with fuzz 2 (offset 7 lines).
patching file drivers/char/Makefile
Hunk #1 FAILED at 51.
1 out of 1 hunk FAILED -- rejects in file drivers/char/Makefile
patching file drivers/net/Kconfig
Hunk #1 succeeded at 462 with fuzz 2 (offset 5 lines).
patching file drivers/net/Makefile
Hunk #1 FAILED at 208.
1 out of 1 hunk FAILED -- rejects in file drivers/net/Makefile
The next patch would create the file drivers/net/mtveth.c,
which already exists! Applying it anyway.
patching file drivers/net/mtveth.c
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- rejects in file drivers/net/mtveth.c
patching file fs/Kconfig
Hunk #1 FAILED at 173.
1 out of 1 hunk FAILED -- rejects in file fs/Kconfig
patching file fs/Makefile
Hunk #1 FAILED at 73.
1 out of 1 hunk FAILED -- rejects in file fs/Makefile
The next patch would create the file fs/metafs/inode.c,
which already exists! Applying it anyway.
patching file fs/metafs/inode.c
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- rejects in file fs/metafs/inode.c
The next patch would create the file fs/metafs/Kconfig,
which already exists! Applying it anyway.
patching file fs/metafs/Kconfig
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- rejects in file fs/metafs/Kconfig
The next patch would create the file fs/metafs/Makefile,
which already exists! Applying it anyway.
patching file fs/metafs/Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- rejects in file fs/metafs/Makefile
Patch platform/000-linux-metarouter.patch does not apply (enforce with -f)
make[4]: *** [/home/darius/openwrt/trunk/build_dir/linux-mr-mips/linux-2.6.31.10/.quilt_checked] Error 1
make[4]: Leaving directory `/home/darius/openwrt/trunk/target/linux/mr-mips'
make[3]: *** [compile] Error 2
make[3]: Leaving directory `/home/darius/openwrt/trunk/target/linux'
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory `/home/darius/openwrt/trunk'
make[1]: *** [/home/darius/openwrt/trunk/staging_dir/target-mips_uClibc-0.9.32/stamp/.target_compile] Error 2
make[1]: Leaving directory `/home/darius/openwrt/trunk'
make: *** [world] Error 2