<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 17, 2016 at 8:26 AM, Fabio Berton <span dir="ltr">&lt;<a href="mailto:fabio.berton@ossystems.com.br" target="_blank">fabio.berton@ossystems.com.br</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":1a6" class="a3s aXjCH m15872fe1605e2248">Add patches to fix error:<br>
/<br>
| ERROR: oe_runmake failed<br>
| config.status: creating pcap-config.tmp<br>
| mv pcap-config.tmp pcap-config<br>
| chmod a+x pcap-config<br>
| ../libpcap-1.8.1/gencode.c: In function &#39;pcap_compile&#39;:<br>
| ../libpcap-1.8.1/gencode.c:<wbr>693:8: error: &#39;compiler_state_t<br>
| {aka struct _compiler_state}&#39; has no member named &#39;ai&#39;<br>
|  Â <a href="http://cstate.ai" rel="noreferrer" target="_blank">cstate.ai</a> = NULL;<br>
|  Â  Â  Â  Â ^<br>
| ../libpcap-1.8.1/gencode.c: In function &#39;gen_gateway&#39;:<br>
| ../libpcap-1.8.1/gencode.c:<wbr>4914:13: error: &#39;cstate&#39; undeclared<br>
| (first use in this function)<br>
|  Â  bpf_error(cstate, &quot;direction applied to &#39;gateway&#39;&quot;);<br>
|  Â  Â  Â  Â  Â  Â  ^~~~~~<br>
| ../libpcap-1.8.1/gencode.c:<wbr>4914:13: note: each undeclared identifier is<br>
| reported only once for each function it appears in<br>
\<br>
<br>
Patches were submitted to upstream [1]<br>
<br>
[1] <a href="https://github.com/the-tcpdump-group/libpcap/pull/541" rel="noreferrer" target="_blank">https://github.com/the-<wbr>tcpdump-group/libpcap/pull/541</a><br>
<br>
Signed-off-by: Fabio Berton &lt;<a href="mailto:fabio.berton@ossystems.com.br">fabio.berton@ossystems.com.br</a><wbr>&gt;</div></blockquote></div><br>This is fairly common, but afaik the Upstream-Status is an artifact of the patch, not the commit that generated the patch, so belongs outside (above) the commit message in the patch file.<br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>