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
Hi Jason,
Apparently the version of libpcap-devel you have installed doesn't export pcap_set_snaplen() function.
Which version is that?
Hi
Package 14:libpcap-0.9.4-15.el5.i386
Package 14:libpcap-devel-0.9.4-15.el5.i386
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/
ok thanks
Just to update using the version you suggest works fine, thanks again!