DOC 2000

Patrick Allaire pallaire at
Fri Aug 17 15:56:56 EDT 2001

I need some help to add DOC support to a 2.2.19 kernel. It does not compile.
I have all the latest stuff from cvs. I am able to compile CFI into the
kernel, but the DOC part does not want to go in !!!

Do I need another patch ?

/usr/bin/kgcc -D__KERNEL__ -I/usr/src/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -D__SMP__
-pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2
-malign-functions=2 -DCPU=586   -c -o doc2000.o doc2000.c
doc2000.c:1102: parse error before `cleanup_doc2000'
doc2000.c:1103: warning: return-type defaults to `int'
doc2000.c: In function `cleanup_doc2000':
doc2000.c:1118: warning: control reaches end of non-void function
doc2000.c: At top level:
doc2000.c:1120: warning: initialization from incompatible pointer type
make[4]: *** [doc2000.o] Error 1
make[4]: Leaving directory `/usr/src/linux-2.2.18/drivers/mtd/devices'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/linux-2.2.18/drivers/mtd/devices'
make[2]: *** [_subdir_devices] Error 2
make[2]: Leaving directory `/usr/src/linux-2.2.18/drivers/mtd'
make[1]: *** [_subdir_mtd] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.18/drivers'
make: *** [_dir_drivers] Error 2

Patrick Allaire
mailto:pallaire at
If you can see it, but it's not there, it's virtual. 
If you can't see it, but it is there, it's hidden. 
It you can't see it and it isn't there, it's gone.

More information about the linux-mtd mailing list