[asterisk-ss7] asterisk-ss7 Digest, Vol 71, Issue 18

Torrey Searle tsearle at gmail.com
Mon Jan 24 03:03:08 CST 2011


You need to have libpcap0.8-dev installed.

Kindest regards,
Torrey

2011/1/24 José Pablo Méndez Soto <auxcri at gmail.com>

> Thanks Torrey,
>
> That one worked, and after doing a ./configure, make threw some errors,
> same as make install. Can you please advise?:
>
> dahdi_pcap.c:9:18: error: pcap.h: No such file or directory
> dahdi_pcap.c:74: error: expected declaration specifiers or ‘...’ before
> ‘pcap_dumper_t’
> dahdi_pcap.c: In function ‘log_packet’:
> dahdi_pcap.c:79: error: storage size of ‘hdr’ isn’t known
> dahdi_pcap.c:86: error: ‘DLT_LINUX_LAPD’ undeclared (first use in this
> function)
> dahdi_pcap.c:86: error: (Each undeclared identifier is reported only once
> dahdi_pcap.c:86: error: for each function it appears in.)
> dahdi_pcap.c:160: warning: implicit declaration of function ‘pcap_dump’
> dahdi_pcap.c:160: error: ‘dump’ undeclared (first use in this function)
> dahdi_pcap.c:161: warning: implicit declaration of function
> ‘pcap_dump_flush’
> dahdi_pcap.c:79: warning: unused variable ‘hdr’
> dahdi_pcap.c: In function ‘main’:
> dahdi_pcap.c:183: error: ‘DLT_MTP2_WITH_PHDR’ undeclared (first use in this
> function)
> dahdi_pcap.c:209: error: ‘DLT_LINUX_LAPD’ undeclared (first use in this
> function)
> dahdi_pcap.c:271: error: ‘pcap_t’ undeclared (first use in this function)
> dahdi_pcap.c:271: error: ‘pcap’ undeclared (first use in this function)
> dahdi_pcap.c:271: warning: implicit declaration of function
> ‘pcap_open_dead’
> dahdi_pcap.c:272: error: ‘pcap_dumper_t’ undeclared (first use in this
> function)
> dahdi_pcap.c:272: error: ‘dump’ undeclared (first use in this function)
> dahdi_pcap.c:272: warning: implicit declaration of function
> ‘pcap_dump_open’
> dahdi_pcap.c:291: error: too many arguments to function ‘log_packet’
> dahdi_pcap.c:295: error: too many arguments to function ‘log_packet’
> make[1]: *** [dahdi_pcap.o] Error 1
> make[1]: Leaving directory `/usr/src/dahdi-tools'
> make: *** [all] Error 2
>
>  *José Pablo Méndez
>      *********
>
>
>> Date: Sun, 23 Jan 2011 15:02:22 +0100
>> From: Torrey Searle <tsearle at gmail.com>
>> Subject: Re: [asterisk-ss7] asterisk-ss7 Digest, Vol 71, Issue 15
>> To: asterisk-ss7 at lists.digium.com
>> Message-ID:
>>        <AANLkTi=m9iBYvV-QafiH5MkJVcKYw=g3JW76rZm7qTB1 at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> yes, dahdi_pcap is a new file that the patch adds.
>>
>> I think you should appy the patch with -p1 from within the dahdi-tools
>> directory
>>
>> Kindest regards,
>> Torrey
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-ss7
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-ss7/attachments/20110124/5677650d/attachment.htm>


More information about the asterisk-ss7 mailing list