<div dir="ltr"><div><div><div>Hello everybody,<br></div>I am having problems with porting YDI. I have downloaded the latest source code and I want to port YAFFS to a bare-metal system. I have run handle_common.sh within "direct" directory. Then I have copied all the generated files to my project and started to write RTOS/Flash layer. But before this I wanted to test if the source file "yaffs_guts.c" is compilable. While compiling I get the following error: "field 'children' has incomplete type. in yaffs_guts.h:380". The code in yaffs_guts.h:380 looks as follows: <br><span style="font-family:monospace,monospace">struct yaffs_dir_var {<br>    struct list_head children;    /* list of child links */<br>    struct list_head dirty;    /* Entry for list of dirty directories */<br>};</span><br><br></div>list_head is declared in "yaffs_list.h:32" as follows:<br><span style="font-family:monospace,monospace">struct list_head{<br>    struct list_head *next; /* next in chain */<br>    struct list_head *prev; /* previous in chain */<br>};</span><br><br><br></div><div>I have not edited any code from repo. I think, the code from repo must be compilable, hich is not the case in this situation. Could anyone please tell me what is wrong here and what I should change to make the source compilable?<br></div><div>Thanks in advance <br></div><div><div><br></div></div></div>