[Yaffs] Build issues using latest GIT & 2.6.32

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Andre Renaud
Date:  
To: yaffs
Subject: [Yaffs] Build issues using latest GIT & 2.6.32
Hi,
We're trying to build yaffs against a 2.6.32 Linux kernel, and are
having a number of issues using the latest GIT checkout.

fs/yaffs2/yaffs_vfs_glue.c:211: warning: initialization from
incompatible pointer type
fs/yaffs2/yaffs_vfs_glue.c:264: warning: initialization from
incompatible pointer type
fs/yaffs2/yaffs_vfs_glue.c:274: error: unknown field 'evict_inode'
specified in initializer
fs/yaffs2/yaffs_vfs_glue.c:274: warning: initialization from
incompatible pointer type
fs/yaffs2/yaffs_vfs_glue.c: In function 'yaffs_vfs_setattr':
fs/yaffs2/yaffs_vfs_glue.c:282: error: implicit declaration of function
'setattr_copy'
fs/yaffs2/yaffs_vfs_glue.c: In function 'yaffs_vfs_setsize':
fs/yaffs2/yaffs_vfs_glue.c:288: error: implicit declaration of function
'truncate_setsize'
fs/yaffs2/yaffs_vfs_glue.c: In function 'yaffs_evict_inode':
fs/yaffs2/yaffs_vfs_glue.c:652: error: implicit declaration of function
'end_writeback'
make[2]: *** [fs/yaffs2/yaffs_vfs_glue.o] Error 1
make[2]: *** Waiting for unfinished jobs....

I see that yaffs_sync_object seems to have changed prototype, which is
easy to sort out. But I'm also getting issues about evict_inode, and an
undefined function 'end_writeback'.

Have I perhaps retrieved the wrong version?

Regards,
Andre

--
Bluewater Systems Ltd - ARM Technology Solution Centre

Andre Renaud                5 Amuri Park, 404 Barbadoes St
            PO Box 13 889, Christchurch 8013
http://www.bluewatersys.com    New Zealand
Phone: +64 3 3779127        Freecall: Australia 1800 148 751
Fax:   +64 3 3779135              USA 1800 261 2934