Claudio Lanconelli wrote: > 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: 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 Hi Claudio, I just went through this myself. You'll need to: 1) Apply Vitaly's patch that he sent to the mailing list on Oct 5th: http://balloonboard.org/lurker/list/message/20061005.125332.8dd0dc4d.en.html. 2) Delete the "#include " lines from yportenv.h and yaffs_fs.c. Regards, ../fam -- Frank Mandarino fmandarino(a)endrelia.com Endrelia Technologies Inc. Toronto, Ontario, Canada