[prev in list] [next in list] [prev in thread] [next in thread] 

List:       yaffs
Subject:    Re: [Yaffs] yaffs - kernel 2.6.14 compile error
From:       Todd Poynor <tpoynor () mvista ! com>
Date:       2005-12-22 19:31:10
Message-ID: 43AAFEFE.4040809 () mvista ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic