Errors compiling current mtd CVS version
David Woodhouse
dwmw2 at infradead.org
Thu Jun 12 05:32:33 EDT 2003
On Wed, 2003-06-11 at 17:31, Pieter Grimmerink wrote:
> I just checked out the mtd+jffs2 patches from CVS, and patched them into a
> 2.4.19 kernel tree, using patchin.sh.
>
> Now I've enabled mtd & jffs2, and try to compile.
>
> #include <linux/init.h> seems to be missing in mtd/chips/amd_flash.c
> (errors on __init and __exit)
Fixed; thanks for the report. Why are you using amd_flash.c and not the
non-deprecated drivers?
> #include <linux/sched.h> seems to be missing in fs/jffs2/write.c
> (error on 'current')
That one is unexpected -- can you give more details?
> If I have jffs enabled as well, it failes because Makefile.common is missing.
> When I also patch in zlib (using patchin.sh), Makefile.common is missing both
> in zlib_inflate and zlib_deflate.
I've removed JFFS from patchin.sh, and also made the script substitute
Makefile.common for Makefile only if it's actually present (untested).
--
dwmw2
More information about the linux-mtd
mailing list