MTD - DOC 2000 freezes on umount

Mark Richards markr at massmicro.com
Wed Jan 21 00:51:02 EST 2004


David, I ran the kernel build process and, sadly, no joy.

Here's the ending of a long string of various warnings from the compiler as
it worked through the MTD code...

gcc -D__KERNEL__ -I/usr/src/linux-2.4.24.new.mtd/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE
-DMODVERSIONS -include
/usr/src/linux-2.4.24.new.mtd/include/linux/modversions.h  -nostdinc
-iwithprefix include -DKBUILD_BASENAME=write
-c -o write.o write.c
write.c: In function `jffs2_new_inode':
write.c:91: `current' undeclared (first use in this function)
write.c:91: (Each undeclared identifier is reported only once
write.c:91: for each function it appears in.)
write.c:103: `CURRENT_TIME' undeclared (first use in this function)
make[2]: *** [write.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.24.new.mtd/fs/jffs2'
make[1]: *** [_modsubdir_jffs2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.24.new.mtd/fs'
make: *** [_mod_fs] Error 2
[root at localhost linux]#

The compile was performed on a new source tree (2.4.24) that had been
patched according to instructions and the configuration process operated as
recommended.

GCC: 2.96 20000731 (Red Hat 7.1 2.96-98) Specs from
/usr/lib/gcc-lib/i386-redhat-linux/2.96/specs

I wonder if I should just re-install RedHat, or is there any hope
otherwise??

Mark Richards


> -----Original Message-----
> From: David Woodhouse [mailto:dwmw2 at infradead.org]
> Sent: Tuesday, January 20, 2004 13:11
> To: Mark Richards
> Cc: linux-mtd at lists.infradead.org
> Subject: RE: MTD - DOC 2000 freezes on umount
> 
> On Tue, 2004-01-20 at 13:04 -0500, Mark Richards wrote:
> > drivers/mtd/chips/Config.in: 14: unknown command
> 
> Try 'make oldconfig' instead.
> 
> --
> dwmw2




More information about the linux-mtd mailing list