<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"><<a href="mailto:fabio.berton@ossystems.com.br" target="_blank">fabio.berton@ossystems.com.br</a>></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 'pcap_compile':<br>
| ../libpcap-1.8.1/gencode.c:<wbr>693:8: error: 'compiler_state_t<br>
| {aka struct _compiler_state}' has no member named 'ai'<br>
|Â Â <a href="http://cstate.ai" rel="noreferrer" target="_blank">cstate.ai</a> = NULL;<br>
|Â Â Â Â Â ^<br>
| ../libpcap-1.8.1/gencode.c: In function 'gen_gateway':<br>
| ../libpcap-1.8.1/gencode.c:<wbr>4914:13: error: 'cstate' undeclared<br>
| (first use in this function)<br>
|Â Â bpf_error(cstate, "direction applied to 'gateway'");<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 <<a href="mailto:fabio.berton@ossystems.com.br">fabio.berton@ossystems.com.br</a><wbr>></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>