When I compile mkyaffsimage on RedHat 9.0, I get errors that look like the errors reported in the email thread "Compile error when using yaffs/direct" started by Daniel Gustafsson, Fri, 8 Oct 2004 15:28:35. The problem is caused by some #define statements in /usr/include/bits/stat.h: # define st_atime st_atim.tv_sec /* Backward compatibility. */ # define st_mtime st_mtim.tv_sec # define st_ctime st_ctim.tv_sec The attached patch is one way to fix the problem for mkyaffsimage. It renames the st_*time fields to st_tim. If this is an acceptable way to fix the problem, then I can update the patch to include the in-kernel files and the files in the direct directory since they reference these same fields. -Frank -- Frank Rowand MontaVista Software, Inc