* Errors compiling current mtd CVS version
@ 2003-06-11 16:31 Pieter Grimmerink
2003-06-12 9:32 ` David Woodhouse
0 siblings, 1 reply; 3+ messages in thread
From: Pieter Grimmerink @ 2003-06-11 16:31 UTC (permalink / raw)
To: linux-mtd
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)
#include <linux/sched.h> seems to be missing in fs/jffs2/write.c
(error on 'current')
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.
Is there a problem with my config?
Best regards,
Pieter
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Errors compiling current mtd CVS version
2003-06-11 16:31 Errors compiling current mtd CVS version Pieter Grimmerink
@ 2003-06-12 9:32 ` David Woodhouse
2003-06-12 16:06 ` Pieter Grimmerink
0 siblings, 1 reply; 3+ messages in thread
From: David Woodhouse @ 2003-06-12 9:32 UTC (permalink / raw)
To: Pieter Grimmerink; +Cc: linux-mtd
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Errors compiling current mtd CVS version
2003-06-12 9:32 ` David Woodhouse
@ 2003-06-12 16:06 ` Pieter Grimmerink
0 siblings, 0 replies; 3+ messages in thread
From: Pieter Grimmerink @ 2003-06-12 16:06 UTC (permalink / raw)
To: David Woodhouse; +Cc: linux-mtd
On Thursday 12 June 2003 11:32, David Woodhouse wrote:
> Why are you using amd_flash.c and not the
> non-deprecated drivers?
I was not really using them, but they turned out to be in the defconfig file
of my arch (cris). Quickly removed that.
> > #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?
Must have been my fault, probably because I didn't do a clean rebuild after I
tried to find the reason for the previous errors.
Now it compiles again without <linux/sched.h>
Regards,
Pieter
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-06-12 16:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-11 16:31 Errors compiling current mtd CVS version Pieter Grimmerink
2003-06-12 9:32 ` David Woodhouse
2003-06-12 16:06 ` Pieter Grimmerink
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox