+++ Lorenzo PARISI [04-10-13 14:55 +0200]:
> Hi,
>
> how to build the utility mkyaffs for kernel 2.6.9?
>
> When I run make under dir /yaffs/utils, I receive some
> errors.
Charles posted a fix for this a couple of days ago to this list I think. He probably
checked it into CVS - have you tried updating? If that doesn't work, then
this should do the trick:
-------
I recently fiddled around with things in an effort to get the code ready for
inclusion in the Linux mainstream. I did two main things:
1) Pulled the WINCE and Direct stuff out of yportenv.h into their own
sub-includes.
2) Replaced the YAFFS_CONFIG_KERNEL_2_5 with "proper" Linux version macros.
Unfortunately I did not test the changes sufficiently for non-kernel cases.
I've straightened things out and now get good compiles for kernel, utils,
direct. I have not yet tried WinCE.
All the Linux version specific stuff (relating to CURRENT_TIME) has been
puilled out of yaffs_guts.c and has been put into the appropriate yportenv.h
section.
The include dependencies have been straightened out.
If there are still problems please yell.
-- CHarles
Wookey
--
Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK Tel +44 (0) 1223 811679
work: http://www.aleph1.co.uk/ play: http://www.chaos.org.uk/~wookey/