hi,
    when i go to directory yaffs2 and in that direct and do make ill get the following errors.. please help me out to port this to usr mode...
 
 
 
 
 
make: *** [dtest.o] Error 1
btc6l063 18 % make
gcc -c -Wall -DCONFIG_YAFFS_DIRECT -DCONFIG_YAFFS_SHORT_NAMES_IN_RAM -DCONFIG_YAFFS_YAFFS2 -g dtest.c -o dtest.o
In file included from yaffsfs.h:11,
                 from dtest.c:11:
yportenv.h:81:24: ydirectenv.h: No such file or directory
In file included from dtest.c:11:
yaffsfs.h:169: warning: no semicolon at end of struct or union
yaffsfs.h:169: syntax error before '.' token
yaffsfs.h:170: syntax error before '.' token
yaffsfs.h:171: syntax error before '.' token
dtest.c: In function `dumpDirFollow':
dtest.c:302: storage size of `s' isn't known
dtest.c:302: warning: unused variable `s'
dtest.c: In function `dumpDir':
dtest.c:347: storage size of `s' isn't known
dtest.c:347: warning: unused variable `s'
dtest.c: In function `long_test':
dtest.c:424: storage size of `ystat' isn't known
dtest.c:636: warning: implicit declaration of function `yaffs_DumpDevStruct'
dtest.c:424: warning: unused variable `ystat'
dtest.c: In function `long_test_on_path':
dtest.c:676: storage size of `ystat' isn't known
dtest.c:844: warning: int format, different type arg (arg 2)
dtest.c:676: warning: unused variable `ystat'
dtest.c: In function `resize_stress_test_no_grow_complex':
dtest.c:1055: warning: int format, different type arg (arg 2)
dtest.c: In function `resize_stress_test_no_grow':
dtest.c:1128: warning: int format, different type arg (arg 2)
dtest.c: In function `cache_bypass_bug_test':
dtest.c:1212: warning: unused variable `i'
make: *** [dtest.o] Error 1
btc6l063 19 %