You need to have libpcap0.8-dev installed.<div><br></div><div>Kindest regards,</div><div>Torrey</div><div><br><div class="gmail_quote">2011/1/24 José Pablo Méndez Soto <span dir="ltr"><<a href="mailto:auxcri@gmail.com">auxcri@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Thanks Torrey,<br><br>That one worked, and after doing a ./configure, make threw some errors, same as make install. Can you please advise?:<br>
<br>dahdi_pcap.c:9:18: error: pcap.h: No such file or directory<br>dahdi_pcap.c:74: error: expected declaration specifiers or ‘...’ before ‘pcap_dumper_t’<br>
dahdi_pcap.c: In function ‘log_packet’:<br>dahdi_pcap.c:79: error: storage size of ‘hdr’ isn’t known<br>dahdi_pcap.c:86: error: ‘DLT_LINUX_LAPD’ undeclared (first use in this function)<br>dahdi_pcap.c:86: error: (Each undeclared identifier is reported only once<br>
dahdi_pcap.c:86: error: for each function it appears in.)<br>dahdi_pcap.c:160: warning: implicit declaration of function ‘pcap_dump’<br>dahdi_pcap.c:160: error: ‘dump’ undeclared (first use in this function)<br>dahdi_pcap.c:161: warning: implicit declaration of function ‘pcap_dump_flush’<br>
dahdi_pcap.c:79: warning: unused variable ‘hdr’<br>dahdi_pcap.c: In function ‘main’:<br>dahdi_pcap.c:183: error: ‘DLT_MTP2_WITH_PHDR’ undeclared (first use in this function)<br>dahdi_pcap.c:209: error: ‘DLT_LINUX_LAPD’ undeclared (first use in this function)<br>
dahdi_pcap.c:271: error: ‘pcap_t’ undeclared (first use in this function)<br>dahdi_pcap.c:271: error: ‘pcap’ undeclared (first use in this function)<br>dahdi_pcap.c:271: warning: implicit declaration of function ‘pcap_open_dead’<br>
dahdi_pcap.c:272: error: ‘pcap_dumper_t’ undeclared (first use in this function)<br>dahdi_pcap.c:272: error: ‘dump’ undeclared (first use in this function)<br>dahdi_pcap.c:272: warning: implicit declaration of function ‘pcap_dump_open’<br>
dahdi_pcap.c:291: error: too many arguments to function ‘log_packet’<br>dahdi_pcap.c:295: error: too many arguments to function ‘log_packet’<br>make[1]: *** [dahdi_pcap.o] Error 1<br>make[1]: Leaving directory `/usr/src/dahdi-tools'<br>
make: *** [all] Error 2<br><br clear="all"> <b style="color:rgb(153, 153, 153)"><span style="color:rgb(153, 153, 153)"><font size="2"><font size="2"><span style="font-family:verdana,sans-serif"><span style="font-family:trebuchet ms,sans-serif"><span style="font-family:verdana,sans-serif">José Pablo Méndez</span></span></span></font><br>
<img height="40" width="68"> </font></span></b><img height="40" width="40"><b style="color:rgb(153, 153, 153)"><span style="color:rgb(153, 153, 153)"></span></b><b style="color:rgb(153, 153, 153)"><span style="color:rgb(153, 153, 153)"></span></b><b style="color:rgb(153, 153, 153)"><span style="color:rgb(153, 153, 153)"></span></b><b style="color:rgb(153, 153, 153)"><span style="color:rgb(153, 153, 153)"></span></b><br>
<div class="gmail_quote"><div> <br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
Date: Sun, 23 Jan 2011 15:02:22 +0100<br>
From: Torrey Searle <<a href="mailto:tsearle@gmail.com" target="_blank">tsearle@gmail.com</a>><br>
Subject: Re: [asterisk-ss7] asterisk-ss7 Digest, Vol 71, Issue 15<br>
To: <a href="mailto:asterisk-ss7@lists.digium.com" target="_blank">asterisk-ss7@lists.digium.com</a><br>
Message-ID:<br>
<AANLkTi=m9iBYvV-QafiH5MkJVcKYw=<a href="mailto:g3JW76rZm7qTB1@mail.gmail.com" target="_blank">g3JW76rZm7qTB1@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
yes, dahdi_pcap is a new file that the patch adds.<br>
<br>
I think you should appy the patch with -p1 from within the dahdi-tools<br>
directory<br>
<br>
Kindest regards,<br>
Torrey</blockquote></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-ss7 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br></blockquote></div><br></div>