编译linux源代码 编译fs/yaffs2/yaffs_vfs.c时出现错误 求大神指点
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC fs/yaffs2/yaffs_ecc.o
CC fs/yaffs2/yaffs_vfs.o
fs/yaffs2/yaffs_vfs.c:1786:2: error: unknown field 'readdir' specified in initializer
fs/yaffs2/yaffs_vfs.c:1786:2: warning: initialization from incompatible pointer type
fs/yaffs2/yaffs_vfs.c: In function 'yaffs_proc_debug_write':
fs/yaffs2/yaffs_vfs.c:3300:19: warning: comparison of distinct pointer types lacks a cast
fs/yaffs2/yaffs_vfs.c: In function 'init_yaffs_fs':
fs/yaffs2/yaffs_vfs.c:3394:2: error: implicit declaration of function 'create_proc_entry'
fs/yaffs2/yaffs_vfs.c:3394:16: warning: assignment makes pointer from integer without a cast
fs/yaffs2/yaffs_vfs.c:3398:16: error: dereferencing pointer to incomplete type
fs/yaffs2/yaffs_vfs.c:3399:16: error: dereferencing pointer to incomplete type
fs/yaffs2/yaffs_vfs.c:3400:16: error: dereferencing pointer to incomplete type
make[2]: *** [fs/yaffs2/yaffs_vfs.o] Error 1
make[1]: *** [fs/yaffs2] Error 2
make: *** [fs] Error 2