Cannot build YAFFS2-direct test under cygwin! See make output below Microsoft Windows XP [?????? 5.1.2600] (?) ?????????? ??????????, 1985-2001. D:\SDK\yaffs\Development\yaffs2\direct>make ln -s ../devextras.h devextras.h ln -s ../yaffs_ecc.c yaffs_ecc.c ln -s ../yaffs_ecc.h yaffs_ecc.h ln -s ../yaffs_guts.c yaffs_guts.c ln -s ../yaffs_guts.h yaffs_guts.h ln -s ../yaffsinterface.h yaffsinterface.h ln -s ../yportenv.h yportenv.h ln -s ../yaffs_tagscompat.c yaffs_tagscompat.c ln -s ../yaffs_tagscompat.h yaffs_tagscompat.h ln -s ../yaffs_packedtags1.c yaffs_packedtags1.c ln -s ../yaffs_packedtags1.h yaffs_packedtags1.h ln -s ../yaffs_packedtags2.c yaffs_packedtags2.c ln -s ../yaffs_packedtags2.h yaffs_packedtags2.h ln -s ../yaffs_nandemul2k.h yaffs_nandemul2k.h ln -s ../yaffs_tagsvalidity.c yaffs_tagsvalidity.c ln -s ../yaffs_tagsvalidity.h yaffs_tagsvalidity.h gcc -c -Wall -DCONFIG_YAFFS_DIRECT -DCONFIG_YAFFS_SHORT_NAMES_IN_RAM -DCONFIG_YA FFS_YAFFS2 -g -DYAFFS_IGNORE_TAGS_ECC dtest.c -o dtest.o dtest.c: In function `dump_file_data': dtest.c:115: warning: unused variable `marker' dtest.c:117: warning: unused variable `size' dtest.c: In function `create_file_of_size': dtest.c:167: warning: unused variable `n' dtest.c: In function `create_resized_file_of_size': dtest.c:185: warning: unused variable `n' dtest.c: In function `long_test': dtest.c:763: warning: implicit declaration of function `yaffs_DumpDevStruct' dtest.c: In function `huge_directory_test_on_path': dtest.c:799: warning: unused variable `r' dtest.c:802: warning: unused variable `buffer' dtest.c:805: warning: unused variable `name' dtest.c:806: warning: unused variable `name2' dtest.c:808: warning: unused variable `h' dtest.c:809: warning: unused variable `temp_mode' dtest.c:810: warning: unused variable `ystat' dtest.c: In function `yaffs_scan_test': dtest.c:854: warning: control reaches end of non-void function dtest.c: In function `resize_stress_test_no_grow_complex': dtest.c:1012: warning: int format, different type arg (arg 2) dtest.c: In function `resize_stress_test_no_grow': dtest.c:1085: warning: int format, different type arg (arg 2) dtest.c: In function `cache_bypass_bug_test': dtest.c:1169: warning: unused variable `i' dtest.c: In function `fill_disk_test': dtest.c:1277: warning: passing arg 1 of `fill_disk_and_delete' discards qualifie rs from pointer target type dtest.c: In function `lookup_test': dtest.c:1290: warning: unused variable `b' dtest.c:1295: warning: unused variable `s' dtest.c:1296: warning: unused variable `str' dtest.c: In function `freespace_test': dtest.c:1355: warning: unused variable `b' gcc -c -Wall -DCONFIG_YAFFS_DIRECT -DCONFIG_YAFFS_SHORT_NAMES_IN_RAM -DCONFIG_YA FFS_YAFFS2 -g -DYAFFS_IGNORE_TAGS_ECC yaffscfg2k.c -o yaffscfg2k.o yaffscfg2k.c: In function `yaffs_StartUp': yaffscfg2k.c:95: warning: assignment from incompatible pointer type yaffscfg2k.c:110: warning: assignment from incompatible pointer type yaffscfg2k.c:135: warning: assignment from incompatible pointer type yaffscfg2k.c:157: warning: assignment from incompatible pointer type gcc -c -Wall -DCONFIG_YAFFS_DIRECT -DCONFIG_YAFFS_SHORT_NAMES_IN_RAM -DCONFIG_YA FFS_YAFFS2 -g -DYAFFS_IGNORE_TAGS_ECC yaffs_ecc.c -o yaffs_ecc.o gcc -c -Wall -DCONFIG_YAFFS_DIRECT -DCONFIG_YAFFS_SHORT_NAMES_IN_RAM -DCONFIG_YA FFS_YAFFS2 -g -DYAFFS_IGNORE_TAGS_ECC yaffs_fileem2k.c -o yaffs_fileem2k.o gcc -c -Wall -DCONFIG_YAFFS_DIRECT -DCONFIG_YAFFS_SHORT_NAMES_IN_RAM -DCONFIG_YA FFS_YAFFS2 -g -DYAFFS_IGNORE_TAGS_ECC yaffsfs.c -o yaffsfs.o gcc -c -Wall -DCONFIG_YAFFS_DIRECT -DCONFIG_YAFFS_SHORT_NAMES_IN_RAM -DCONFIG_YA FFS_YAFFS2 -g -DYAFFS_IGNORE_TAGS_ECC yaffs_guts.c -o yaffs_guts.o yaffs_guts.c:96: error: parse error before "yaffs_GetFileSize" yaffs_guts.c:96: warning: type defaults to `int' in declaration of `yaffs_GetFil eSize' yaffs_guts.c:96: warning: data definition has no type or storage class yaffs_guts.c:3618: error: parse error before "yaffs_GetFileSize" yaffs_guts.c:3619: warning: return type defaults to `int' make: *** [yaffs_guts.o] Error 1 After insertion "typedef long long int loff_t;" at yaffs_guts.c:96 project was built but it still doesn't work ------------------------------------ see directtest2k.exe output below Creating yaffs emulation file yaffs: yaffs_GutsInitialise() yaffs_ScanBackwards starts intstartblk 1 intendblk 4096... yaffs_ScanBackwards ends yaffs: yaffs_GutsInitialise() done. write error ---------------------------------- HELP!!!!!! Sinserely Serguei Soloviev --- Professional hosting for everyone - http://www.host.ru