On 9/5/07, Piotr Dula (pdula) <[EMAIL PROTECTED]> wrote:
>
>
> Hello,
>
>  I have a problem with installing tcpreplay. I'm running
>
> ./configure
>
> (the output of it is at the end of the mail as I don't know if it will be
> useful and it's long)
>
> and then
>
> make
>
> which gives me such error:
>
> [EMAIL PROTECTED] tcpreplay-2.3.5]# make
> gcc -pipe -Wall -O3 -funroll-loops  -DHAVE_CONFIG_H -I. -I/usr/include
> -I/usr/local/include -o tcpreplay tcpreplay.o timer.o cache.o cidr.o
> do_packets.o list.o xX.o err.o signal_handler.o edit_packet.o replay_live.o
> fakepoll.o utils.o fakepcapnav.o tcpdump.o portmap.o fakepcap.o  -lrt -lnsl
> -L/usr/lib -lnet -L/usr/local/lib -lpcap
> tcpreplay.o(.text+0x1884): In function `validate_l2':
> : undefined reference to `pcap_datalink_val_to_description'
> tcpreplay.o(.text+0x18b8): In function `validate_l2':
> : undefined reference to `pcap_datalink_val_to_description'
> collect2: ld returned 1 exit status
> make: *** [tcpreplay] Error 1

Most likely, you have two copies of libpcap installed on your system,
on in /usr and the other in /usr/local and the one in /usr is older
then /usr/local and is not compatible with tcpreplay.

If that's not it, you'll have to send more information.  If you need
any additional help, please send the config.log and output of make
from the 3.2.0 version, since 2.3.5 is EOL.


-- 
Aaron Turner
http://synfin.net/
http://tcpreplay.synfin.net/ - Pcap editing & replay tools for Unix
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.  -- Benjamin Franklin

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Tcpreplay-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users

Reply via email to