Claudio Lanconelli wrote: > Did anyone ever compile yaffs on kernel 2.6.19? > It gives me a lot of errors. I forgot the error log: In file included from fs/yaffs2/yaffs_ecc.c:36: fs/yaffs2/yportenv.h:34:26: linux/config.h: No such file or directory make[2]: *** [fs/yaffs2/yaffs_ecc.o] Error 1 CC fs/yaffs2/yaffs_fs.o fs/yaffs2/yaffs_fs.c:37:26: linux/config.h: No such file or directory fs/yaffs2/yaffs_fs.c:192: error: `generic_file_read' undeclared here (not in a function) fs/yaffs2/yaffs_fs.c:192: error: initializer element is not constant fs/yaffs2/yaffs_fs.c:192: error: (near initialization for `yaffs_file_operations.read') fs/yaffs2/yaffs_fs.c:193: error: `generic_file_write' undeclared here (not in a function) fs/yaffs2/yaffs_fs.c:193: error: initializer element is not constant fs/yaffs2/yaffs_fs.c:193: error: (near initialization for `yaffs_file_operations.write') fs/yaffs2/yaffs_fs.c: In function `yaffs_readlink': fs/yaffs2/yaffs_fs.c:263: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c:267: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c: In function `yaffs_follow_link': fs/yaffs2/yaffs_fs.c:287: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c:291: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c: In function `yaffs_lookup': fs/yaffs2/yaffs_fs.c:328: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c:332: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c:337: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c: In function `yaffs_clear_inode': fs/yaffs2/yaffs_fs.c:396: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c:411: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c: In function `yaffs_delete_inode': fs/yaffs2/yaffs_fs.c:432: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c: In function `yaffs_file_flush': fs/yaffs2/yaffs_fs.c:458: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c: In function `yaffs_readpage_nolock': fs/yaffs2/yaffs_fs.c:489: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c: In function `yaffs_writepage': fs/yaffs2/yaffs_fs.c:589: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c: In function `yaffs_FillInodeFromObject': fs/yaffs2/yaffs_fs.c:707: error: structure has no member named `i_blksize' fs/yaffs2/yaffs_fs.c:759: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c: In function `yaffs_file_write': fs/yaffs2/yaffs_fs.c:808: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c: In function `yaffs_readdir': fs/yaffs2/yaffs_fs.c:868: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c: In function `yaffs_mknod': fs/yaffs2/yaffs_fs.c:962: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c: In function `yaffs_unlink': fs/yaffs2/yaffs_fs.c:1077: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c:1081: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c: In function `yaffs_link': fs/yaffs2/yaffs_fs.c:1107: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c:1115: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c: In function `yaffs_symlink': fs/yaffs2/yaffs_fs.c:1150: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c:1152: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c: In function `yaffs_sync_object': fs/yaffs2/yaffs_fs.c:1179: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c: In function `yaffs_rename': fs/yaffs2/yaffs_fs.c:1203: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c:1209: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c:1227: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c:1229: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c: In function `yaffs_setattr': fs/yaffs2/yaffs_fs.c:1254: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c:1260: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c:1262: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c: In function `yaffs_statfs': fs/yaffs2/yaffs_fs.c:1278: error: structure has no member named `u' fs/yaffs2/yaffs_fs.c: At top level: fs/yaffs2/yaffs_fs.c:1327: warning: `yaffs_do_sync_fs' defined but not used make[2]: *** [fs/yaffs2/yaffs_fs.o] Error 1 make[1]: *** [fs/yaffs2] Error 2 make: *** [fs] Error 2