Hi!
The compilation is broken for Linux 2.6.31 (at least).
A new truncation mechanism that was commited a few days ago, uses the
'simple_setsize' function in yaffs_fs.c, but the kernel does not have
it. This mechanism has to be disabled in older kernels.