Hi, I just tried the yaffs snapshot with kernel 2.6.14, but failed to compile the modules. I already patched the kernel with latest snapshot from MTD site. The errors are follow: ----------------------------------------------------------------------------------------------------------------------- gcc -c -D__KERNEL__ -DMODULE -DCONFIG_YAFFS_RAM_ENABLED -DCONFIG_YAFFS_MTD_ENABLED -DCONFIG_YAFFS_USE_GENERIC_RW -DCONFIG_SHORT_NAMES_IN_RAM -DCONFIG_YAFFS_USE_NANDECC -I /usr/src/linux/include -O2 -Wall yaffs_fs.c -o yaffs_fs.o In file included from /usr/src/linux/include/asm/processor.h:18, from /usr/src/linux/include/asm/thread_info.h:17, from /usr/src/linux/include/linux/thread_info.h:21, from /usr/src/linux/include/linux/spinlock.h:53, from /usr/src/linux/include/linux/capability.h:45, from /usr/src/linux/include/linux/sched.h:7, from /usr/src/linux/include/linux/module.h:10, from yaffs_fs.c:38: /usr/src/linux/include/asm/system.h: In function `__set_64bit_var': /usr/src/linux/include/asm/system.h:211: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/src/linux/include/asm/system.h:211: warning: dereferencing type-punned pointer will break strict-aliasing rules In file included from /usr/src/linux/include/linux/irq.h:21, from /usr/src/linux/include/asm/hardirq.h:6, from /usr/src/linux/include/linux/hardirq.h:7, from /usr/src/linux/include/linux/interrupt.h:11, from /usr/src/linux/include/linux/rcuref.h:36, from /usr/src/linux/include/linux/fs.h:12, from yaffs_fs.c:43: /usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory In file included from /usr/src/linux/include/asm/hardirq.h:6, from /usr/src/linux/include/linux/hardirq.h:7, from /usr/src/linux/include/linux/interrupt.h:11, from /usr/src/linux/include/linux/rcuref.h:36, from /usr/src/linux/include/linux/fs.h:12, from yaffs_fs.c:43: /usr/src/linux/include/linux/irq.h: At top level: /usr/src/linux/include/linux/irq.h:84: error: `NR_IRQS' undeclared here (not in a function) In file included from /usr/src/linux/include/linux/irq.h:93, from /usr/src/linux/include/asm/hardirq.h:6, from /usr/src/linux/include/linux/hardirq.h:7, from /usr/src/linux/include/linux/interrupt.h:11, from /usr/src/linux/include/linux/rcuref.h:36, from /usr/src/linux/include/linux/fs.h:12, from yaffs_fs.c:43: /usr/src/linux/include/asm/hw_irq.h:30: error: `NR_IRQ_VECTORS' undeclared here (not in a function) yaffs_fs.c:168: warning: initialization from incompatible pointer type yaffs_fs.c:200: warning: initialization from incompatible pointer type yaffs_fs.c: In function `yaffs_readpage_nolock': yaffs_fs.c:463: warning: implicit declaration of function `PAGE_BUG' yaffs_fs.c: In function `yaffs_internal_read_super': yaffs_fs.c:1317: error: structure has no member named `u' yaffs_fs.c: At top level: yaffs_fs.c:1542: error: redefinition of 'yaffs_fs_type' yaffs_fs.c:1512: error: previous definition of 'yaffs_fs_type' was here yaffs_fs.c:1548: error: `FS_SINGLE' undeclared here (not in a function) yaffs_fs.c:1548: error: initializer element is not constant yaffs_fs.c:1548: error: (near initialization for `yaffs_fs_type.fs_flags') yaffs_fs.c: In function `init_yaffs_fs': yaffs_fs.c:1683: error: `yaffs_ram_fs_type' undeclared (first use in this function) yaffs_fs.c:1683: error: (Each undeclared identifier is reported only once yaffs_fs.c:1683: error: for each function it appears in.) yaffs_fs.c: In function `exit_yaffs_fs': yaffs_fs.c:1710: error: `yaffs_ram_fs_type' undeclared (first use in this function) yaffs_fs.c: At top level: yaffs_fs.c:690: warning: 'yaffs_file_read' defined but not used yaffs_fs.c:1512: warning: 'yaffs_fs_type' defined but not used yaffs_fs.c:1562: warning: 'my_proc_ram_write_entry' defined but not used yaffs_fs.c:1636: warning: 'yaffs_proc_ram_write' defined but not used make: *** [yaffs_fs.o] Error 1 ------------------------------------------------------------------------------------------------------------------------- This is for linux-module part. Have anyone meet the same problems? Or do you know any reason of this error? -- With best regards, Nguyen