<div dir="ltr"><div><div><div>>><font face="courier new, monospace">So my question is: from where is the sysroots file coming? How should I generate the patch file for the sysroots<br><br></font></div><font face="courier new, monospace">Will, there is task called do_populate_systroot which will generate sysroots files/headers. <br>
<br></font></div><font face="courier new, monospace">If you want to generate the patch, you don't require to generate "sysroot patch" but you need to know from which package the sysroot files are generated. And in your case it might be "libc-headers" so you need to create patch for "libc-headers" recipe. So at the end, it will automatically reflect in the sysroot path.<br>
<br></font></div><font face="courier new, monospace">//Gaurang Shastri<br></font></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Oct 7, 2013 at 7:23 PM, Ashish Dalela <span dir="ltr"><<a href="mailto:ashish.dalela@gmail.com" target="_blank">ashish.dalela@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div><font face="courier new, monospace">I am trying to build bridge-utils. During compilation, I get the error:</font></div>
<div><br></div><div><font face="courier new, monospace">/scratch/adalela/yocto/build/tmp/sysroots/qemux86/usr/include/linux/if_bridge.h:172:20: error: field 'ip6' has incomplete typeIn file included from ../libbridge/libbridge.h:24:0</font></div>

<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">But, I don't see matching file paths in git path and sysroots locations.</font></div><div><font face="courier new, monospace"><br>

</font></div><div><font face="courier new, monospace">In sysroots path:</font></div><div><font face="courier new, monospace">.../build/tmp/sysroots/qemux86<br></font></div><div><font face="courier new, monospace"><div>$ find . -name if_bridge.h</div>

<div>./usr/include/linux/if_bridge.h</div><div><br></div><div>In GIT path:</div><div><div>.../build/tmp/work/qemux86-poky-linux/linux-yocto/3.8.11+git*/linux</div><div>$ find . -name if_bridge.h</div><div>./include/uapi/linux/if_bridge.h</div>

<div>./include/linux/if_bridge.h</div></div><div><br></div><div>./usr/include/linux/if_bridge.h and ./include/uapi/linux/if_bridge.h are almost identical, except of #ifdef.</div><div><br></div><div>I can manually patch the files and the compilation is successful. But I don't know how to create the patch file for the sysroots file, because the GIT path does not have the same file. </div>

<div><br></div><div>So my question is: from where is the sysroots file coming? How should I generate the patch file for the sysroots ./usr/include/linux/if_bridge.h?</div><div><br></div></font><font face="courier new, monospace"><div>

Thanks</div><span class="HOEnZb"><font color="#888888"><div>-Ashish</div></font></span></font></div></div>
<br>_______________________________________________<br>
yocto mailing list<br>
<a href="mailto:yocto@yoctoproject.org">yocto@yoctoproject.org</a><br>
<a href="https://lists.yoctoproject.org/listinfo/yocto" target="_blank">https://lists.yoctoproject.org/listinfo/yocto</a><br>
<br></blockquote></div><br></div>