CVS compile errors

Kalev Lember kalev at colleduc.ee
Sun Apr 4 08:21:34 EDT 2004


Hi,

I just wanted to notify that current CVS code as of 04/04/04 does not 
compile. Last snapshot that does compile is mtd-snapshot-20040327.

You probably know that, but I am reporting anyhow.

I have set the following options:
CONFIG_MTD=y
CONFIG_INFTL=y
CONFIG_MTD_DOC2001PLUS=y
CONFIG_MTD_DOCPROBE=y
CONFIG_MTD_DOCPROBE_ADDRESS=0
CONFIG_MTD_NAND=y
CONFIG_MTD_NAND_IDS=y

Linux kernel version is 2.6.4.
Output from make is:

make -f scripts/Makefile.build obj=drivers/mtd/devices
  gcc -Wp,-MD,drivers/mtd/devices/.doc2001plus.o.d -nostdinc -iwithprefix 
include -D__KERNEL__ -Iinclude  -D__KERNEL__ -Iin
clude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing 
-fno-common -pipe -mpreferred-stack-boundary=2  -march
=pentium-mmx -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer 
-Wdeclaration-after-statement    -DKBUILD_BASENAME=do
c2001plus -DKBUILD_MODNAME=doc2001plus -c -o 
drivers/mtd/devices/doc2001plus.o drivers/mtd/devices/doc2001plus.c
drivers/mtd/devices/doc2001plus.c: In function `DoC_IdentChip':
drivers/mtd/devices/doc2001plus.c:339: error: structure has no member 
named `chipshift'
make[3]: *** [drivers/mtd/devices/doc2001plus.o] Error 1
make[2]: *** [drivers/mtd/devices] Error 2
make[1]: *** [drivers/mtd] Error 2
make: *** [drivers] Error 2

And indeed, there is no member named chipshift in nand.h.

-- 
Best regards,
Kalev Lember




More information about the linux-mtd mailing list