MTD/mtdblock.c uclinux 2.0.38?
Mike Voytovich
mvoytovich at coactive.com
Mon Jul 16 19:00:37 EDT 2001
Hello,
I see this was posted less than a week ago...
Are you now able to build the latest MTD/JFFS2 CVS with uClinux 2.0.38? I
would also like to get this code working with 2.0.38, although I'm first
trying with a clean 2.0.38 kernel (then will try with uClinux).
I tried the suggested workarounds below, but still have some problems, which
I'm not sure how to resolve. Perhaps you have resolved them already. If
not, I am willing to work on this and add a kernel patch to the mtd CVS, if
I can have a little help...
Thanks,
-mike
-----Original Message-----
From: David Woodhouse [mailto:dwmw2 at infradead.org]
Sent: Wednesday, July 11, 2001 3:29 PM
To: Steve Kranz
Cc: linux-mtd at lists.infradead.org
Subject: Re: MTD/mtdblock.c uclinux 2.0.38?
skranz at ridgerun.com said:
> MTD depends on these headers which don't exist within the uclinux
> tree.
Touch them. We can sort out the missing stuff later. You might want slab.h
to include malloc.h instead of just being empty.
> include/linux/mtd/map.h line 65, generates error: "field `list' has
> incomplete type"
Copy include/linux/list.h from a later kernel.
skranz at ridgerun.com said:
> statements __MOD_INC_USE_COUNT() and __MOD_DEC_USE_COUNT() found in
> various locations with the MTD tree generate these compile errors:
> "structure has no member named `uc'" "structure has no member named
> `flags'"
Fix the definitions in include/linux/mtd/compatmac.h to match the kernel
you're using.
--
dwmw2
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
More information about the linux-mtd
mailing list