Re: [Yaffs] build yaffs for kernel 3.0 fail

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Peter Barada
Date:  
To: yaffs
Subject: Re: [Yaffs] build yaffs for kernel 3.0 fail
On 08/11/2011 03:33 AM, Lei Wen wrote:
> Hi,
>
> Is anyone get the 3.0 kernel yaffs build succeed?

You'll need the patch (apply by hand) at
http://www.yaffs.net/lurker/message/20110603.135250.634d89fa.de.html to
get YAFFS to build for linux-3.0
> 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
>
> _______________________________________________
> yaffs mailing list
>
> http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs



--
Peter Barada