Closed
Description
I have already installed libpcap 1.8.1, and ./configure --enable-dynamic-link, then I failed to configure. I got error: checking for libpcap version... configure: error: Libpcap versions < 0.7.2 are not supported Please upgrade to version 0.7.2 or better
, then I got your another answer is trying with --with-libpcap=, so, I try it. Then I got some error messages when compiling.
$ ./configure --with-libpcap=/home/pingsoli/Downloads/libpcap-1.8.1
blablabla....
##########################################################################
TCPREPLAY Suite Configuration Results (4.2.6)
##########################################################################
libpcap: /home/pingsoli/Downloads/libpcap-1.8.1 (>= 0.9.6)
PF_RING libpcap no
libdnet: no
autogen: /usr/bin/autogen (5.18.7)
Use libopts tearoff: yes
64bit counter support: yes
tcpdump binary path: /usr/sbin/tcpdump
fragroute support: no
tcpbridge support: yes
tcpliveplay support: yes
Supported Packet Injection Methods (*):
Linux TX_RING: no
Linux PF_PACKET: yes
BSD BPF: no
libdnet: no
pcap_inject: yes
pcap_sendpacket: yes **
pcap_netmap no
Linux/BSD netmap: no
Tuntap device support: yes
* In order of preference; see configure --help to override
** Required for tcpbridge
$ make
blabla....
In file included from tcpreplay_opts.c:43:0:
tcpreplay_opts.h:61:3: error: #error option template version mismatches autoopts/options.h header
# error option template version mismatches autoopts/options.h header
^
compilation terminated due to -Wfatal-errors.
Makefile:905: recipe for target 'tcpreplay-tcpreplay_opts.o' failed
make[3]: *** [tcpreplay-tcpreplay_opts.o] Error 1
make[3]: Leaving directory '/home/pingsoli/Downloads/tcpreplay-4.2.6/src'
Makefile:1156: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/pingsoli/Downloads/tcpreplay-4.2.6/src'
Makefile:569: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/pingsoli/Downloads/tcpreplay-4.2.6/src'
Makefile:445: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
What's the problem? I'll appreciate your reply.