[Yaffs] yaffs - kernel 2.6.14 compile error

Todd Poynor tpoynor at mvista.com
Thu Dec 22 19:31:10 GMT 2005


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



More information about the yaffs mailing list