Quote:
CC [M] /home/ossl2/Documents/yaffs/new_yaffs/yaffs_mtdif.o
/home/ossl2/Documents/yaffs/new_yaffs/yaffs_mtdif.c: In function ‘nandmtd_erase_block’:
/home/ossl2/Documents/yaffs/new_yaffs/yaffs_mtdif.c:42:14: error: ‘struct mtd_info’ has no member named ‘erase’
make[2]: *** [/home/ossl2/Documents/yaffs/new_yaffs/yaffs_mtdif.o] Error 1
|
This LOOKS like ther is some mismatch between the application you are trying to compile and the include files that define the structure "mtd_info". This *looks* like a file system and it seems it relies on some older kernel source. You probably need a newer version of new_yaffs.
I just tried the latest source from
git clone git://www.aleph1.co.uk/yaffs2
and that doesn't compile against the 3.6.3 kernel either.
You need to modify that filesystem code to make it work against the recent kernels.
The structure is defined in files like ....
/usr/src/kernels/*/include/linux/mtd/mtd.h