in reply to Example rtpextract does not compile

Tip #11 from the Basic debugging checklist: Is your installed version the latest version? The first thing you should try is to upgrade to 0.304.

  • Comment on Re: Example rtpextract does not compile

Replies are listed 'Best First'.
Re^2: Example rtpextract does not compile
by Anonymous Monk on Aug 20, 2014 at 14:37 UTC
    Also, try upgrading Net::Pcap too, the methods with pcap_ prefix were added in 0.15.
      Everything was upgraded with the latest.

      What I found was that the line 6 "use Net::Pcap qw(:functions);" had to be changed to "use Net::Pcap;".

      Once this was done the example compiled.

      I have never used this feature before and do not yet understand why it failed.