tcpreplay: anyone interested?

Manuel Wolfshant wolfy at nobugconsulting.ro
Mon Apr 2 09:19:20 UTC 2007


Bojan Smojver wrote:
> Ralf Ertzinger <fedora <at> camperquake.de> writes:
>
>   
>> The few times I tried this the 3.x versions did not work at all, and
>> 2.x was quite segfault happy.
>>     
>
> You can give this a quick build/test and let me know if you still find problems:
>
> ftp://ftp.rexursive.com/pub/tcpreplay/tcpreplay.spec
> ftp://ftp.rexursive.com/pub/tcpreplay/tcpreplay-2.3.5-1.src.rpm
>
> If you think the binaries still aren't of acceptable quality for Fedora, I won't
> submit for package review.
>
> --
> Bojan
>
>
>
>   
just tried a rebuild in centos-4. first issue:spec requires libpcap 
(instead of libpcap-devel as fc6) and either libnet (available in dag's 
repo) or libnet-devel (epel4).
In both variants mock build fails with:

checking for pcapnav-config... no
checking for requires strict byte alignment... no
checking for tcpdump... no
configure: WARNING: Unable to find tcpdump.  Please specify --with-tcpdump.
                 Disabling verbose reporting.
checking for 'make test' profile... Linux
[...]
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
+ /usr/bin/make
gcc -pipe -Wall -O3 -funroll-loops  -DHAVE_CONFIG_H -I. -I/usr/include 
-I/usr/inc
lude -c tcpreplay.c
tcpreplay.c: In function `configfile':
tcpreplay.c:1153: error: `tcpdump' undeclared (first use in this function)
tcpreplay.c:1153: error: (Each undeclared identifier is reported only once
tcpreplay.c:1153: error: for each function it appears in.)
tcpreplay.c: In function `packet_stats':
tcpreplay.c:1309: warning: int format, __suseconds_t arg (arg 4)
tcpreplay.c:1309: warning: int format, __suseconds_t arg (arg 4)
tcpreplay.c:1312: warning: int format, __time_t arg (arg 5)
make: *** [tcpreplay.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.54374 (%build)






More information about the devel mailing list