Menu

#13 Unable to install

trunk
closed
Aex Aey
None
5
2018-05-15
2016-05-10
Jason
No

Hi,

I have installed libpcap and libpcap-devel, but I'm getting the below issue. Any help?

Thanks

[root@master-server pcapsipdump-code]# make
make-checks/libpcap.cpp: In function ‘int main()’:
make-checks/libpcap.cpp:2: error: ‘pcap_set_snaplen’ was not declared in this scope

Discussion

  • Aex Aey

    Aex Aey - 2016-05-10

    Hi Jason,

    Apparently the version of libpcap-devel you have installed doesn't export pcap_set_snaplen() function.

    Which version is that?

     
  • Jason

    Jason - 2016-05-10

    Hi

    Package 14:libpcap-0.9.4-15.el5.i386
    Package 14:libpcap-devel-0.9.4-15.el5.i386

     
  • Aex Aey

    Aex Aey - 2016-05-10

    Indeed, it's not there. I'll have a look later if it is possible to support libpcap 0.9 without breaking compatibility with 1.x.

    Meanwhile, try version 0.2 - it has few features missing, but should be compatible with the libpcap-0.9-style calls:

    https://sourceforge.net/projects/pcapsipdump/files/pcapsipdump/0.2/

     
  • Jason

    Jason - 2016-05-10

    ok thanks

     
  • Jason

    Jason - 2016-05-11

    Just to update using the version you suggest works fine, thanks again!

     
  • Aex Aey

    Aex Aey - 2017-08-11
    • status: open --> closed
    • assigned_to: Aex Aey
     

Log in to post a comment.

MongoDB Logo MongoDB