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
What may be the problem? The operating system is:
Linux version 2.4.20-6 (gcc version 3.2.2 20030222 (Red Hat Linux
3.2.2-5))
and I am trying to install tcpreplay-2.3.5 (I also tried 3.2.0 but I
didn't succeed either).
Thank you for help,
Piotr
The output of ./configure
[EMAIL PROTECTED] tcpreplay-2.3.5]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether byte ordering is bigendian... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for gawk... gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking for printf... /usr/bin/printf
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... 1
checking for fseeko... yes
checking for debug enabled... no
checking for efence enabled... no
checking for gprof enabled... no
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for u_int64_t... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for unistd.h... (cached) yes
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for nanosleep in -lrt... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for ctime... yes
checking for memset... yes
checking for regcomp... yes
checking for strdup... yes
checking for strerror... yes
checking for strtol... yes
checking for strncpy... yes
checking for strtoull... yes
checking for poll... yes
checking for inet_aton... yes
checking for inet_addr... yes
checking for libnet... /usr
checking for libnet version... 1.1.x
checking for libpcap... /usr/local
checking for libpcap version... >= 0.5
checking for pcap_datalink_val_to_description... yes
checking for pcap_open_dead... yes
checking for pcapnav-config... no
checking for requires strict byte alignment... no
checking for tcpdump... /usr/sbin/tcpdump
Using tcpdump in /usr/sbin/tcpdump.
checking for 'make test' profile... Linux
configure: Using eth0 for 1st test network interface card
configure: Using eth0 for 2nd test network interface card
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
configure: creating ./config.status
config.status: creating Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: config.h is unchanged
configure: creating ./config.status
config.status: creating Makefile
config.status: creating test/Makefile
config.status: creating test/config
config.status: creating config.h
config.status: config.h is unchanged
configure: creating ./config.status
config.status: creating Makefile
config.status: creating test/Makefile
config.status: creating test/config
config.status: creating tcpreplay.spec
config.status: creating config.h
config.status: config.h is unchanged
-------------------------------------------------------------------------
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