CVS compile errors

Jon Schlueter jonschl at umd.umich.edu
Tue Apr 6 21:13:47 EDT 2004



Thomas Gleixner wrote:

 >
> I'm in the middle of an overhaul of nand stuff. I modified the id structure 
> and forgot to adjust the doc stuff. I have a look into it
> 

Hello,


I think I found another missed update but I'm not sure.


I used CVS to pull down the whole mtd tree on 4-5-2004 after those 
changes were posted.

I used the automatic kernel patch script

When I get the following error when I compile the kernel modules

I am using the 2.4.25 kernel


make -C devices modules
make[3]: Entering directory `/usr/src/linux-2.4.25/drivers/mtd/devices'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.25/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486 
-DMODULE  -nostdinc -iwithprefix include -DKBUILD_BASENAME=doc2000  -c 
-o doc2000.o doc2000.c
doc2000.c: In function `DoC_IdentChip':
doc2000.c:415: structure has no member named `page256'
doc2000.c: In function `DoC2k_init':
doc2000.c:601: warning: assignment from incompatible pointer type
doc2000.c:602: warning: assignment from incompatible pointer type
doc2000.c: In function `doc_writev_ecc':
doc2000.c:1026: warning: passing arg 7 of `doc_write_ecc' makes integer 
from pointer without a cast
make[3]: *** [doc2000.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.25/drivers/mtd/devices'
make[2]: *** [_modsubdir_devices] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.25/drivers/mtd'
make[1]: *** [_modsubdir_mtd] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.25/drivers'
make: *** [_mod_drivers] Error 2



CONFIG_MTD=y
CONFIG_NFTL=m
CONFIG_NFTL_RW=m
CONFIG_INFTL=m
CONFIG_MTD_DOC2000=m
CONFIG_MTD_DOC2001=m
CONFIG_MTD_DOC2001PLUS=m
CONFIG_MTD_DOCPROBE=m
CONFIG_MTD_NAND=y
CONFIG_MTD_NAND_IDS=y



Side Note:

I haven't been able to determine exactly what I need to compile to 
support my DiskOnChip  M02202-D256 chip with the 5.1.2 firmware from 
M-Systems.  Am I on the right path to getting it working?


Thanks,

Jon Schlueter





More information about the linux-mtd mailing list