<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 3, 2016 at 11:57 AM, Bruce Ashfield <span dir="ltr">&lt;<a href="mailto:bruce.ashfield@gmail.com" target="_blank">bruce.ashfield@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="gmail-h5">On Mon, Oct 3, 2016 at 11:51 AM, Bruce Ashfield <span dir="ltr">&lt;<a href="mailto:bruce.ashfield@windriver.com" target="_blank">bruce.ashfield@windriver.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>On 2016-10-03 11:45 AM, Burton, Ross wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>
<br>
On 3 October 2016 at 06:54, Bruce Ashfield &lt;<a href="mailto:bruce.ashfield@windriver.com" target="_blank">bruce.ashfield@windriver.com</a><br></span><span>
&lt;mailto:<a href="mailto:bruce.ashfield@windriver.com" target="_blank">bruce.ashfield@windriv<wbr>er.com</a>&gt;&gt; wrote:<br>
<br>
    The big thing to note about this update .. is that the libc-headers bump<br>
    to the 4.8 final tarball picked up some uapi headers that broke the<br>
    build<br>
    of ppp. I never would have thought it was possible, but it happened.<br>
<br>
<br>
| In file included from<br>
/data/poky-master/tmp-glibc/sy<wbr>sroots/intel-corei7-64/usr/inc<wbr>lude/linux/if_tunnel.h:6:0,<br>
|                  from iptunnel.c:39:<br>
|<br>
/data/poky-master/tmp-glibc/sy<wbr>sroots/intel-corei7-64/usr/inc<wbr>lude/linux/ip.h:85:8:<br>
error: redefinition of &#39;struct iphdr&#39;<br>
|  struct iphdr {<br>
|         ^~~~~<br>
| In file included from iptunnel.c:29:0:<br>
|<br>
/data/poky-master/tmp-glibc/sy<wbr>sroots/intel-corei7-64/usr/inc<wbr>lude/netinet/ip.h:44:8:<br>
note: originally defined here<br>
|  struct iphdr<br>
|         ^~~~~<br>
| &lt;builtin&gt;: recipe for target &#39;iptunnel.o&#39; failed<br>
| make: *** [iptunnel.o] Error 1<br>
| ERROR: Function failed: do_compile (log file is located at<br>
/data/poky-master/tmp-glibc/wo<wbr>rk/corei7-64-poky-linux/net-to<wbr>ols/1.60-26-r0/temp/log.do_com<wbr>pile.27643)<br>
<br>
Looks like net-tools is broken by something else too.<br>
</span></blockquote>
<br>
I&#39;m out of the office in about one hour. So someone else is<br>
going to have to pick up the libc-headers fix.<br></blockquote><div><br></div><div><br></div></div></div><div>Switching to my gmail, so I can follow along.</div><div><br></div><div>I do have about a half hour now, I&#39;ll check the net uapi code in the kernel and see</div><div>if there&#39;s another fixup I can do.</div><div><br></div><div>These errors have been lurking for about the last year, the answer from the kernel</div><div>folks is typically &quot;change the order of your includes&quot;.</div><div><br></div><div>So there are two routes to fix it. See if there&#39;s a newer userspace with the includes</div><div>changed, or do what I did, take the change out of libc-headers.</div></div></div></div></blockquote><div><br></div><div>Yep. Same criminals, it is very likely this. I started a build, if it breaks, I&#39;ll test a removal</div><div>of this:</div><div><br></div><div>-----------</div><div>







<p class="gmail-p1"><span class="gmail-s1">commit 1fe8e0f074c77aa41aaa579345a9e675acbebfa9</span></p>
<p class="gmail-p2"><span class="gmail-s1">Author: Mikko Rapeli &lt;<a href="mailto:mikko.rapeli@iki.fi">mikko.rapeli@iki.fi</a>&gt;</span></p>
<p class="gmail-p2"><span class="gmail-s1">Date:   Mon Aug 22 20:32:39 2016 +0200</span></p>
<p class="gmail-p3"><span class="gmail-s1"></span><br></p>
<p class="gmail-p2"><span class="gmail-s1">    include/uapi/linux/if_tunnel.h: include linux/if.h, linux/ip.h and linux/in6.h</span></p>
<p class="gmail-p3"><span class="gmail-s1">    </span></p>
<p class="gmail-p2"><span class="gmail-s1">    Fixes userspace compilation errors like:</span></p>
<p class="gmail-p3"><span class="gmail-s1">    </span></p>
<p class="gmail-p2"><span class="gmail-s1">    error: field </span><span class="gmail-s2">&lt;E2&gt;&lt;80&gt;&lt;98&gt;</span><span class="gmail-s1">iph</span><span class="gmail-s2">&lt;E2&gt;&lt;80&gt;&lt;99&gt;</span><span class="gmail-s1"> has incomplete type</span></p>
<p class="gmail-p2"><span class="gmail-s1">    error: field </span><span class="gmail-s2">&lt;E2&gt;&lt;80&gt;&lt;98&gt;</span><span class="gmail-s1">prefix</span><span class="gmail-s2">&lt;E2&gt;&lt;80&gt;&lt;99&gt;</span><span class="gmail-s1"> has incomplete type</span></p>
<p class="gmail-p3"><span class="gmail-s1">    </span></p>
<p class="gmail-p2"><span class="gmail-s1">    Signed-off-by: Mikko Rapeli &lt;<a href="mailto:mikko.rapeli@iki.fi">mikko.rapeli@iki.fi</a>&gt;</span></p>
<p class="gmail-p2"><span class="gmail-s1">    Signed-off-by: David S. Miller &lt;<a href="mailto:davem@davemloft.net">davem@davemloft.net</a>&gt;</span></p>
<p class="gmail-p3"><span class="gmail-s1"></span><br></p>
<p class="gmail-p2"><span class="gmail-s1">:100644 100644 1046f5515174... 777b6cdb1b7b... M        include/uapi/linux/if_tunnel.h<br><br></span></p><p class="gmail-p2"><span class="gmail-s1">--------</span></p></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>I&#39;ll check to see if I can do the latter here.</div><div><br></div><div>Out of curiosity, what image type is this ?  built core-image-sato, kernel-dev for</div><div>x86-64 and they all worked.</div><div><br></div><div>Bruce</div><span class="gmail-"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Cheers,<br>
<br>
Bruce<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Ross<br>
</blockquote><div class="gmail-m_6914507172855525602HOEnZb"><div class="gmail-m_6914507172855525602h5">
<br>
-- <br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openem<wbr>bedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</div></div></blockquote></span></div><span class="gmail-HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="gmail-m_6914507172855525602gmail_signature">&quot;Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end&quot;</div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">&quot;Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end&quot;</div>
</div></div>