Hi Laurie,
Lei,
You may get a useful reply more quickly if you tell people what version of YAFFS (and date) you are using, what version of what OS, and details about the Flash chips and block size.
You know all these; your readers do not.
I can offer no other help, I am afraid.
LvS
On Thu, 2011-08-11 at 15:33 +0800, Lei Wen wrote:Hi, Is anyone get the 3.0 kernel yaffs build succeed? The error message I got is like: fs/yaffs2/yaffs_vfs.c:46:28: error: linux/smp_lock.h: No such file or directory fs/yaffs2/yaffs_vfs.c: In function 'yaffs_read_super': fs/yaffs2/yaffs_vfs.c:2383: error: implicit declaration of function 'get_sb_bdev' fs/yaffs2/yaffs_vfs.c: At top level: fs/yaffs2/yaffs_vfs.c:2390: error: unknown field 'get_sb' specified in initializer fs/yaffs2/yaffs_vfs.c:2390: warning: initialization makes integer from pointer without a cast fs/yaffs2/yaffs_vfs.c:2414: error: unknown field 'get_sb' specified in initializer fs/yaffs2/yaffs_vfs.c:2414: warning: initialization makes integer from pointer without a cast Any idea? Thanks, Lei