When i try to compile yaffs/direct I get strange errrors. I am running the
original Makefile in yaffs/direct on Linux.
Some of the errors:
[gustad@tuxsrv1 work]$ make
gcc -c -Wall -DCONFIG_YAFFS_DIRECT -DCONFIG_YAFFS_SHORT_NAMES_IN_RAM -g
dtest.c -o dtest.o
In file included from yaffscfg.h:12,
from yaffsfs.h:10,
from dtest.c:9:
yaffs_guts.h:204: warning: no semicolon at end of struct or union
yaffs_guts.h:204: parse error before '.' token
yaffs_guts.h:205: parse error before '.' token
yaffs_guts.h:206: parse error before '.' token
yaffs_guts.h:229: parse error before '}' token
yaffs_guts.h:229: warning: type defaults to `int' in declaration of
`yaffs_ObjectHeader'
yaffs_guts.h:229: warning: data definition has no type or storage class
yaffs_guts.h:353: warning: no semicolon at end of struct or union
yaffs_guts.h:353: parse error before '.' token
yaffs_guts.h:354: parse error before '.' token
yaffs_guts.h:355: parse error before '.' token
yaffs_guts.h:372: parse error before '}' token
This rows plus some more concerning the same variables is the problem.
__u32 st_atime; /* time of last access */
__u32 st_mtime; /* time of last modification */
__u32 st_ctime; /* time of last change */
Can somebody help me?
//Daniel