Re: [Yaffs] yaffs - kernel 2.6.14 compile error

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Todd Poynor
Date:  
To: Nguyen
CC: yaffs
Subject: Re: [Yaffs] yaffs - kernel 2.6.14 compile error
Nguyen wrote:
> Hi,
> I just tried the yaffs snapshot with kernel 2.6.14, but failed to
> compile the modules. I already patched the kernel with latest
> snapshot from MTD site.
>
> The errors are follow:


> yaffs_fs.c: In function `yaffs_readpage_nolock':
> yaffs_fs.c:463: warning: implicit declaration of function `PAGE_BUG'
> yaffs_fs.c: In function `yaffs_internal_read_super':
> yaffs_fs.c:1317: error: structure has no member named `u'
> yaffs_fs.c: At top level:
> yaffs_fs.c:1542: error: redefinition of 'yaffs_fs_type'
> yaffs_fs.c:1512: error: previous definition of 'yaffs_fs_type' was here
> yaffs_fs.c:1548: error: `FS_SINGLE' undeclared here (not in a function)

...

You're trying to compile the "yaffs" module which is obsolete and not
maintained so far as I know. Use yaffs2 in 512B-page-size compatibility
mode instead. (Same CVS location, module yaffs2.)

--
Todd