hello~~~ i got a problem in compiling mtdemul2k~~~ when i use "make" command in "yaffs2/mtdemul" Directory(I have modified the kernel path in Makefile) There is some errors~~ Here is the error messages... . . . /usr/src/linux-2.6.16.34/include/linux/mtd/nand.h:332: error: expected specifier-qualifier-list before 'u16' In file included from ../yportenv.h:40, from ../yaffs_guts.h:24, from ../yaffs_nandemul2k.h:24, from nandemul2k.c:38: /usr/src/linux-2.6.16.34/include/linux/vmalloc.h:38: error: expected declaration specifiers or '...' before 'pgprot_t' /usr/src/linux-2.6.16.34/include/linux/vmalloc.h:40: error: expected declaration specifiers or '...' before 'pgprot_t' /usr/src/linux-2.6.16.34/include/linux/vmalloc.h:42: error: expected declaration specifiers or '...' before 'pgprot_t' /usr/src/linux-2.6.16.34/include/linux/vmalloc.h:46: error: expected declaration specifiers or '...' before 'pgprot_t' /usr/src/linux-2.6.16.34/include/linux/vmalloc.h:59: error: expected declaration specifiers or '...' before 'pgprot_t' In file included from ../yaffs_nandemul2k.h:24, from nandemul2k.c:38: ../yaffs_guts.h:608: error: field 'sem' has incomplete type ../yaffs_guts.h:609: error: field 'grossLock' has incomplete type nandemul2k.c: In function 'nandemul2k_scan': nandemul2k.c:627: warning: assignment from incompatible pointer type make: *** [nandemul2k.o] Error 1 What is the error message mean? How to correct it? Could you tell me which Linux Kernel Version that you suggest?? Thanks