On a new RHEL 7.2 install, I am trying to install and play tcpreplay.
Have installed this on many test servers, but having an issue on this
install.  
   Steps performed;   1. downloaded and tar'd tcpreplay-4.1.1.tar.gz
file.   2. ran ./configure in above directory   3. attached
config.log. Received a number of errors.   4. Ran make. Received a
number of errors. here is the echo output. Errors at end. Here is last
portion of echo output. Complete output is in attached file.  
  make[3]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/src'   CCLD
tcpreplay   /usr/local/./libpcap.a(grammar.o): In function
`pcap_parse':   grammar.c:(.text+0x401): undefined reference to
`pcap_lex'   collect2: error: ld returned 1 exit status   make[3]: ***
[tcpreplay] Error 1   make[3]: Leaving directory
`/tmp/Replay/tcpreplay-4.1.1/src'   make[2]: *** [all-recursive] Error
1   make[2]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/src'  
make[1]: *** [all] Error 2   make[1]: Leaving directory
`/tmp/Replay/tcpreplay-4.1.1/src'   make: *** [all-recursive] Error 1 
  
   5. Ran make install. Here is the echo output.   
    [root@rhel-dcrum-amd tcpreplay-4.1.1]# make install   Making
install in kernel   make[1]: Entering directory
`/tmp/Replay/tcpreplay-4.1.1/kernel'   Making install in linux  
make[2]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/kernel/linux'
  Making install in quick_tx   make[3]: Entering directory
`/tmp/Replay/tcpreplay-4.1.1/kernel/linux/quick_tx'   make[4]:
Entering directory `/tmp/Replay/tcpreplay-4.1.1/kernel/linux/quick_tx'
  make[4]: Nothing to be done for `install-exec-am'.   /bin/sh
/tmp/Replay/tcpreplay-4.1.1/config/install-sh -d
/lib/modules/3.10.0-327.10.1.el7.x86_64/misc   /usr/bin/install -c -m
644 quick_tx.ko
/lib/modules/3.10.0-327.10.1.el7.x86_64/misc/quick_tx.ko  
/usr/sbin/depmod -a 3.10.0-327.10.1.el7.x86_64   make[4]: Leaving
directory `/tmp/Replay/tcpreplay-4.1.1/kernel/linux/quick_tx'  
make[3]: Leaving directory
`/tmp/Replay/tcpreplay-4.1.1/kernel/linux/quick_tx'   make[3]:
Entering directory `/tmp/Replay/tcpreplay-4.1.1/kernel/linux'  
make[4]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/kernel/linux'
  make[4]: Nothing to be done for `install-exec-am'.   make[4]:
Nothing to be done for `install-data-am'.   make[4]: Leaving directory
`/tmp/Replay/tcpreplay-4.1.1/kernel/linux'   make[3]: Leaving
directory `/tmp/Replay/tcpreplay-4.1.1/kernel/linux'   make[2]:
Leaving directory `/tmp/Replay/tcpreplay-4.1.1/kernel/linux'  
make[2]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/kernel'  
make[3]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/kernel'  
make[3]: Nothing to be done for `install-exec-am'.   make[3]: Nothing
to be done for `install-data-am'.   make[3]: Leaving directory
`/tmp/Replay/tcpreplay-4.1.1/kernel'   make[2]: Leaving directory
`/tmp/Replay/tcpreplay-4.1.1/kernel'   make[1]: Leaving directory
`/tmp/Replay/tcpreplay-4.1.1/kernel'   Making install in scripts  
make[1]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/scripts'  
make[2]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/scripts'  
make[2]: Nothing to be done for `install-exec-am'.   make[2]: Nothing
to be done for `install-data-am'.   make[2]: Leaving directory
`/tmp/Replay/tcpreplay-4.1.1/scripts'   make[1]: Leaving directory
`/tmp/Replay/tcpreplay-4.1.1/scripts'   Making install in lib  
make[1]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/lib'  
make[2]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/lib'  
make[2]: Nothing to be done for `install-exec-am'.   make[2]: Nothing
to be done for `install-data-am'.   make[2]: Leaving directory
`/tmp/Replay/tcpreplay-4.1.1/lib'   make[1]: Leaving directory
`/tmp/Replay/tcpreplay-4.1.1/lib'   Making install in libopts  
make[1]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/libopts'  
make install-am   make[2]: Entering directory
`/tmp/Replay/tcpreplay-4.1.1/libopts'   make[3]: Entering directory
`/tmp/Replay/tcpreplay-4.1.1/libopts'   make[3]: Nothing to be done
for `install-data-am'.   make[3]: Leaving directory
`/tmp/Replay/tcpreplay-4.1.1/libopts'   make[2]: Leaving directory
`/tmp/Replay/tcpreplay-4.1.1/libopts'   make[1]: Leaving directory
`/tmp/Replay/tcpreplay-4.1.1/libopts'   Making install in src  
make[1]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/src'   Making
install in common   make[2]: Entering directory
`/tmp/Replay/tcpreplay-4.1.1/src/common'   make install-am   make[3]:
Entering directory `/tmp/Replay/tcpreplay-4.1.1/src/common'   make[4]:
Entering directory `/tmp/Replay/tcpreplay-4.1.1/src/common'   make[4]:
Nothing to be done for `install-exec-am'.   make[4]: Nothing to be
done for `install-data-am'.   make[4]: Leaving directory
`/tmp/Replay/tcpreplay-4.1.1/src/common'   make[3]: Leaving directory
`/tmp/Replay/tcpreplay-4.1.1/src/common'   make[2]: Leaving directory
`/tmp/Replay/tcpreplay-4.1.1/src/common'   Making install in tcpedit  
make[2]: Entering directory `/tmp/Replay/tcpreplay-4.1.1/src/tcpedit' 
 make install-am   make[3]: Entering directory
`/tmp/Replay/tcpreplay-4.1.1/src/tcpedit'   make[4]: Entering
directory `/tmp/Replay/tcpreplay-4.1.1/src/tcpedit'   make[4]: Nothing
to be done for `install-exec-am'.   make[4]: Nothing to be done for
`install-data-am'.   make[4]: Leaving directory
`/tmp/Replay/tcpreplay-4.1.1/src/tcpedit'   make[3]: Leaving directory
`/tmp/Replay/tcpreplay-4.1.1/src/tcpedit'   make[2]: Leaving directory
`/tmp/Replay/tcpreplay-4.1.1/src/tcpedit'   make[2]: Entering
directory `/tmp/Replay/tcpreplay-4.1.1/src'   CCLD tcpreplay  
/usr/local/./libpcap.a(grammar.o): In function `pcap_parse':  
grammar.c:(.text+0x401): undefined reference to `pcap_lex'   collect2:
error: ld returned 1 exit status   make[2]: *** [tcpreplay] Error 1  
make[2]: Leaving directory `/tmp/Replay/tcpreplay-4.1.1/src'  
make[1]: *** [install-recursive] Error 1   make[1]: Leaving directory
`/tmp/Replay/tcpreplay-4.1.1/src'   make: *** [install-recursive]
Error 1    
   6. Tried to run tcpreplay, tcpreplay --help, in Replay directory
and error states: Command not found.   
   What am I missing or what did I do wrong? THX   

Attachment: Make echo output.docx
Description: MS-Word 2007 document

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

Reply via email to