your using old yaff2 source in 39 kernel.
smp locking is deprecated from 39 on words.

Better to use new one or comment the header file,

Regards,
Jagan.

On Mon, Dec 5, 2011 at 5:09 PM, free bird <liuqiong1988...@163.com> wrote:

> my kernel is 2.6.39,the .config is the emulator but where i make the
> kernel have some wrongs:
>
> 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
> make[2]: *** [fs/yaffs2/yaffs_vfs.o] Error 1
> make[1]: *** [fs/yaffs2] Error 2
> make: *** [fs] Error 2
> what's i was miss,thanks.
>
> --
> unsubscribe: android-kernel+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-kernel

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to