I think your problem is related to files .h in /usr/include. As your
installation of tcpreplay progresses it crashes causes  some header files
are not compatible. Actually I think you have to take a look on tcp.h ...
You have either to switch another version of Centos (which make things
easier I think) or try to edit some files... (it is not really recommended
to do so...)

On Fri, Mar 30, 2012 at 9:06 AM, Senthil Kumar S
<senthilkuma...@sasken.com>wrote:

>  Hi All,****
>
> ** **
>
> I am trying to install tcpreplay- 3.4.4 in Centos-6 PC.****
>
> ** **
>
> Following are the messages I got in the initial stages of installation.***
> *
>
> ** **
>
> [root@pcb-acpdpi6 tcpreplay-3.4.4]# ./configure
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking if malloc debugging is wanted... no
> 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 cygwin development environment... no
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for style of include used by make... GNU
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> 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 ISO C89... none needed
> checking dependency style of gcc... gcc3
> checking for a sed that does not truncate output... /bin/sed
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for fgrep... /bin/grep -F
> checking for ld used by gcc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
> checking the name lister (/usr/bin/nm -B) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 1966080
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> checking for /usr/bin/ld option to reload object files... -r
> checking for objdump... objdump
> checking how to recognize dependent libraries... pass_all
> checking for ar... ar
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm -B output from gcc object... ok
> checking how to run the C preprocessor... gcc -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 dlfcn.h... yes
> checking for objdir... .libs
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -fPIC -DPIC
> checking if gcc PIC flag -fPIC -DPIC works... yes
> checking if gcc static flag -static works... yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.o... (cached) yes
> checking whether the gcc linker (/usr/bin/ld) supports shared libraries...
> yes
> checking whether -lc should be explicitly linked in... no
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking whether gcc and cc understand -c and -o together... yes
> checking for gcc option to accept ISO C99... none needed
> checking for gcc option to accept ISO Standard 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 dependency style of g++... gcc3
> checking whether we are using the GNU C++ compiler... (cached) yes
> checking whether g++ accepts -g... (cached) yes
> checking dependency style of g++... (cached) gcc3
> checking how to run the C++ preprocessor... g++ -E
> checking for ld used by g++... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking whether the g++ linker (/usr/bin/ld) supports shared libraries...
> yes
> checking for g++ option to produce PIC... -fPIC -DPIC
> checking if g++ PIC flag -fPIC -DPIC works... yes
> checking if g++ static flag -static works... yes
> checking if g++ supports -c -o file.o... yes
> checking if g++ supports -c -o file.o... (cached) yes
> checking whether the g++ linker (/usr/bin/ld) supports shared libraries...
> yes
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking how to run the C preprocessor... gcc -E
> checking whether ln -s works... yes
> checking for gawk... (cached) gawk
> checking for a sed that does not truncate output... (cached) /bin/sed
> checking whether make sets $(MAKE)... (cached) yes
> checking for printf... /usr/bin/printf
> checking for echo... /bin/echo
> checking for cut... /usr/bin/cut
> checking for autogen... no
> checking for groff... /usr/bin/groff
> configure: Using system libopts
> checking for ANSI C header files... (cached) yes
> checking whether sys/types.h defines makedev... 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 _LARGEFILE_SOURCE value needed for large files... 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 for gcc -Wextra support... yes
> checking for gcc -Wno-variadic-macros support... yes
> checking for gcc -Wfatal-errors support... 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 for stdint.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 sys/param.h usability... yes
> checking sys/param.h presence... yes
> checking for sys/param.h... yes
> checking for sys/sysctl.h... yes
> checking for net/route.h... yes
> checking for socket in -lsocket... no
> checking for gethostbyname in -lnsl... yes
> checking for nanosleep in -lrt... yes
> checking for resolv in -lresolv... no
> 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 struct timeval.tv_sec... yes
> checking for gettimeofday... yes
> checking for ctime... yes
> checking for memset... yes
> checking for regcomp... yes
> checking for strdup... yes
> checking for strchr... yes
> checking for strerror... yes
> checking for strtol... yes
> checking for strncpy... yes
> checking for strtoull... yes
> checking for poll... yes
> checking for ntohll... no
> checking for mmap... yes
> checking for snprintf... yes
> checking for vsnprintf... yes
> checking for strsignal... yes
> checking for strlcpy... no
> checking whether byte ordering is bigendian... no
> configure: Using u_int64_t for packet counters
> checking for inet_aton... yes
> checking for inet_pton... yes
> checking for inet_ntop... yes
> checking for inet_addr... yes
> checking for libpcap... configure: error: Unable to find matching library
> for header file in /usr****
>
> I had installed lipcap-devel - 1.0.0.-6 package also, but still I could
> not come out of this error message.****
>
> Any help is really appreciated.****
>
> ------------------------------
> SASKEN BUSINESS DISCLAIMER: This message may contain confidential,
> proprietary or legally privileged information. In case you are not the
> original intended Recipient of the message, you must not, directly or
> indirectly, use, disclose, distribute, print, or copy any part of this
> message and you are requested to delete it and inform the sender. Any views
> expressed in this message are those of the individual sender unless
> otherwise stated. Nothing contained in this message shall be construed as
> an offer or acceptance of any offer by Sasken Communication Technologies
> Limited ("Sasken") unless sent with that express intent and with due
> authority of Sasken. Sasken has taken enough precautions to prevent the
> spread of viruses. However the company accepts no liability for any damage
> caused by any virus transmitted by this email.
> Read Disclaimer at http://www.sasken.com/extras/mail_disclaimer.html
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> 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
>
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
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