Does it work if you remove --enable-dynamic-link? On Jan 17, 2008 6:36 PM, Bojan Smojver <[EMAIL PROTECTED]> wrote: > On Wed, 2008-01-16 at 22:37 -0800, Aaron Turner wrote: > > This is a minor release before 3.3 which fixes the issue with > > tcpreplay crashing when --enable-tcpreplay-edit is specified (which > > seems common with RPM packagers). Thanks to all the users helping > > diagnose this issue (ticket #281). > > Hmm, this doesn't build. I'm getting: > ------------------------------------------ > /bin/sh ../libtool --tag=CC --mode=link gcc -I../libopts -I.. > -DTCPREPLAY -D_U_="__attribute__((unused))" -Wall -O3 -std=gnu99 > -Wextra -Wno-variadic-macros -Wfatal-errors -I/usr/include -o > tcpreplay tcpreplay-send_packets.o tcpreplay-signal_handler.o > tcpreplay-tcpreplay.o > tcpreplay-tcpreplay_edit_opts.o ./common/libcommon.a ../lib/libstrl.a > -L/usr/lib -lpcap ../libopts/libopts.la ./tcpedit/libtcpedit.a -lrt > -lnsl > mkdir .libs > gcc -I../libopts -I.. -DTCPREPLAY "-D_U_=__attribute__((unused))" -Wall > -O3 -std=gnu99 -Wextra -Wno-variadic-macros -Wfatal-errors > -I/usr/include -o tcpreplay tcpreplay-send_packets.o > tcpreplay-signal_handler.o tcpreplay-tcpreplay.o > tcpreplay-tcpreplay_edit_opts.o ./common/libcommon.a ../lib/libstrl.a > -L/usr/lib -lpcap ../libopts/.libs/libopts.a ./tcpedit/libtcpedit.a -lrt > -lnsl > ./tcpedit/libtcpedit.a(parse_args.o): In function `tcpedit_post_args': > parse_args.c:(.text+0x190): undefined reference to `parse_cidr_map' > parse_args.c:(.text+0x1c2): undefined reference to `parse_cidr_map' > parse_args.c:(.text+0x274): undefined reference to `parse_endpoints' > parse_args.c:(.text+0x357): undefined reference to `parse_cidr_map' > parse_args.c:(.text+0x3bc): undefined reference to `parse_cidr_map' > ./tcpedit/libtcpedit.a(edit_packet.o): In function `rewrite_iparp': > edit_packet.c:(.text+0x7b1): undefined reference to `ip_in_cidr' > edit_packet.c:(.text+0x7ef): undefined reference to `ip_in_cidr' > edit_packet.c:(.text+0x82f): undefined reference to `ip_in_cidr' > edit_packet.c:(.text+0x86e): undefined reference to `ip_in_cidr' > ./tcpedit/libtcpedit.a(edit_packet.o): In function `rewrite_ipv4l3': > edit_packet.c:(.text+0x95c): undefined reference to `ip_in_cidr' > ./tcpedit/libtcpedit.a(edit_packet.o):edit_packet.c:(.text+0x985): more > undefined references to `ip_in_cidr' follow > ./tcpedit/libtcpedit.a(en10mb.o): In function `dlt_en10mb_parse_opts': > en10mb.c:(.text+0xc12): undefined reference to `dualmac2hex' > en10mb.c:(.text+0xc91): undefined reference to `dualmac2hex' > collect2: ld returned 1 exit status > make[3]: *** [tcpreplay] Error 1 > make[3]: Leaving directory > `/home/users/bojan/download/tcpreplay/tcpreplay-3.2.4/src' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/home/users/bojan/download/tcpreplay/tcpreplay-3.2.4/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/home/users/bojan/download/tcpreplay/tcpreplay-3.2.4/src' > make: *** [all-recursive] Error 1 > ------------------------------------------ > > Configure was run with "--enable-dynamic-link --enable-tcpreplay-edit > --enable-local-libopts --disable-libopts-install" against freshly > downloaded 3.2.4, on Fedora 8. This was not an RPM build. > > -- > Bojan > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Tcpreplay-users mailing list > Tcpreplay-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tcpreplay-users >
-- Aaron Turner http://synfin.net/ http://tcpreplay.synfin.net/ - Pcap editing & replay tools for Unix They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Tcpreplay-users mailing list Tcpreplay-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tcpreplay-users