Hello, charles Manning..
I found compile error message.
How about that? What is problem?
I think that need New patch.
Thank you, wait for your message.
Kernenl : kernel 3.x
Download git : git clone git://www.aleph1.co.uk/yaffs2
Yaffs2 version : Wed, 6 Aug 2014 23:25:05 +0000 (11:25 +1200)
1. compile error message in yaffs2
fs/yaffs2/yaffs_vfs.c: In function 'yaffs_file_flush': fs/yaffs2/yaffs_vfs.c:741: error: too few arguments to function 'yaffs_flush_file' fs/yaffs2/yaffs_vfs.c: In function 'yaffs_sync_object': fs/yaffs2/yaffs_vfs.c:771: error: too few arguments to function 'yaffs_flush_file' fs/yaffs2/yaffs_vfs.c: At top level: fs/yaffs2/yaffs_vfs.c:785: warning: initialization from incompatible pointer type fs/yaffs2/yaffs_vfs.c:1894: warning: initialization from incompatible pointer type fs/yaffs2/yaffs_vfs.c: In function 'yaffs_flush_inodes': fs/yaffs2/yaffs_vfs.c:2190: error: too few arguments to function 'yaffs_flush_file' fs/yaffs2/yaffs_vfs.c: In function 'yaffs_flush_super': fs/yaffs2/yaffs_vfs.c:2203: error: too few arguments to function 'yaffs_flush_whole_cache' make[2]: *** [fs/yaffs2/yaffs_vfs.o] error 1 make[1]: *** [fs/yaffs2] error 2 make: *** [fs] error 2 |
2. error source
Define function in yaffs_guts.c int yaffs_flush_file(struct yaffs_obj *in, int update_time, int data_sync, int discard_cache) In yaffs_vfs.c ( error function) #if (LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 17)) static int yaffs_file_flush(struct file *file, fl_owner_t id) #else static int yaffs_file_flush(struct file *file) #endif { struct yaffs_obj *obj = yaffs_dentry_to_obj(file->f_dentry); struct yaffs_dev *dev = obj->my_dev; yaffs_trace(YAFFS_TRACE_OS, "yaffs_file_flush object %d (%s)", obj->obj_id, obj->dirty ? "dirty" : "clean"); yaffs_gross_lock(dev); yaffs_flush_file(obj, 1, 0);
©¬ error point yaffs_gross_unlock(dev); return 0; } ¡¦. |