On Tuesday 08 August 2006 07:17, Aaron Turner wrote:
> Hmmm... maybe I need a QA department... beta10 was another rotten egg,
> due to the tarball missing a critical header file...  Anyways, fixed
> that and added the ability to change the DLT type of output files in
> tcprewrite.  Of course, be sure to rewrite the layer two header with
> --dlink while you're at it since this doesn't magically rewrite that
> for you.
>
> Anyways, I'd love to hear if this actually works for someone. :)
>
> http://prdownloads.sourceforge.net/tcpreplay/tcpreplay-3.0.beta11.tar.gz?do
>wnload

I have another problem compiling the source:

/bin/bash ../libtool --tag=CC --mode=link 
gcc  -g -O2 -Wall -O2 -funroll-loops -std=gnu99   -o tcprewrite  
tcprewrite-tcprewrite_opts.o tcprewrite-tcprewrite.o 
tcprewrite-mac.o ./tcpedit/libtcpedit.a ./common/libcommon.a ../lib/libstrl.a  
/usr/lib/libpcap.a ../libopts/libopts.la -lrt -lnsl
gcc -g -O2 -Wall -O2 -funroll-loops -std=gnu99 -o .libs/tcprewrite 
tcprewrite-tcprewrite_opts.o tcprewrite-tcprewrite.o 
tcprewrite-mac.o  ./tcpedit/libtcpedit.a ./common/libcommon.a ../lib/libstrl.a 
/usr/lib/libpcap.a ../libopts/.libs/libopts -lrt -lnsl -Wl,--rpath 
-Wl,/usr/local/lib
tcprewrite-tcprewrite.o: In function `rewrite_packets':
/home/lothar/test/tcpreplay-3.0.beta11/src/tcprewrite.c:212: undefined 
reference to `pcap_next_ex'
./tcpedit/libtcpedit.a(tcpedit.o): In function `tcpedit_init':
/home/lothar/test/tcpreplay-3.0.beta11/src/tcpedit/tcpedit.c:233: undefined 
reference to `pcap_datalink_val_to_name'
/home/lothar/test/tcpreplay-3.0.beta11/src/tcpedit/tcpedit.c:238: undefined 
reference to `pcap_datalink_val_to_name'
./tcpedit/libtcpedit.a(parse_args.o): In function `tcpedit_post_args':
/home/lothar/test/tcpreplay-3.0.beta11/src/tcpedit/parse_args.c:305: undefined 
reference to `pcap_datalink_val_to_name'
collect2: ld returned 1 exit status
make[3]: *** [tcprewrite] Error 1
make[3]: Leaving directory `/home/lothar/test/tcpreplay-3.0.beta11/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/lothar/test/tcpreplay-3.0.beta11/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/lothar/test/tcpreplay-3.0.beta11/src'
make: *** [all-recursive] Error 1

Seems like there is a lib missing, when linking tcprewrite.

Best regards,
Lothar

Attachment: pgp2oSYAFnTs2.pgp
Description: PGP signature

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Tcpreplay-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users

Reply via email to