Generally speaking, Cygwin has worked for me in the past, but people who had problems were never able to figure out why it didn't work for them. I don't think I've ever tried the 64bit version though. Make sure the version of winpcap you have installed is also 64bit or you'll probably have issues. -- Aaron Turner http://synfin.net/ Twitter: @synfinatic Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin
On Mon, Feb 17, 2014 at 10:25 PM, Fred Klassen <fklas...@appneta.com> wrote: > I don't directly support Windows, so maybe someone more experienced can > chime in. > > I see that you installed WpdPack in C:\cygwin64 but I am not sure if that > is the right place. If I look at doc in > https://github.com/appneta/tcpreplay/blob/master/docs/Win32Readme.txt it > suggest putting it in Cygwin root. If you open up a Cygwin prompt, do you > see it installed in "/wpdpack"? Your error messages suggest it isn't there. > > Fred. > > On 2/17/2014, 1:22 PM, "Charles Milutinovic" <milut...@gmail.com> wrote: > >>I am having issues compiling tcpreplay on the 64-bit version of >>cygwin. I've verified that WpdPack is in the proper location >>(C:\cygwin64\WpdPack) and WinPCap is installed. I've attempted with >>v3.4.4 and v4.0.3 and they both result in the same error at the >>./configure step, namely: >> >>>checking for inet_ntop... yes >>>checking for inet_addr... yes >>>checking for libpcap... /wpdpack >>>checking for library containing pcap_close... no >>>configure: error: Unable to link libpcap in /wpdpack >> >>and the relevant section of config.log appears to be the following: >> >>>configure:17525: checking for library containing pcap_close >>>configure:17556: gcc -o conftest.exe -D_U_="__attribute__((unused))" >>>-Wall -O3 -std=gnu99 -Wno-variadic-macros -Wfatal-errors >>>-Wno-format-contains-nul -I/wpdpack/include conftest.c >>>/wpdpack/lib/libwpcap.a >&5 >>>/tmp/ccmW9kSE.o:conftest.c:(.text.startup+0xa): undefined reference to >>>`pcap_close' >>>/tmp/ccmW9kSE.o:conftest.c:(.text.startup+0xa): relocation truncated to >>>fit: R_X86_64_PC32 against undefined symbol `pcap_close' >>>/usr/lib/gcc/x86_64-pc-cygwin/4.8.2/../../../../x86_64-pc-cygwin/bin/ld: >>>/tmp/ccmW9kSE.o: bad reloc address 0x0 in section `.pdata.startup' >>>/usr/lib/gcc/x86_64-pc-cygwin/4.8.2/../../../../x86_64-pc-cygwin/bin/ld: >>>final link failed: Invalid operation >>>collect2: error: ld returned 1 exit status >> >>--->Chunk of code here >> >>>configure:17556: gcc -o conftest.exe -D_U_="__attribute__((unused))" >>>-Wall -O3 -std=gnu99 -Wno-variadic-macros -Wfatal-errors >>>-Wno-format-contains-nul -I/wpdpack/include conftest.c -lpcap -lnl >>>/wpdpack/lib/libwpcap.a >&5 >>>/usr/lib/gcc/x86_64-pc-cygwin/4.8.2/../../../../x86_64-pc-cygwin/bin/ld: >>>cannot find -lpcap >>>/usr/lib/gcc/x86_64-pc-cygwin/4.8.2/../../../../x86_64-pc-cygwin/bin/ld: >>>cannot find -lnl >>>collect2: error: ld returned 1 exit status >> >>--->Another chunk of code here >> >>>configure:17573: result: no >>>configure:17580: error: Unable to link libpcap in /wpdpack >> >>Any help would be greatly appreciated. >> >>-------------------------------------------------------------------------- >>---- >>Managing the Performance of Cloud-Based Applications >>Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. >>Read the Whitepaper. >>http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clkt >>rk >>_______________________________________________ >>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 > > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk > _______________________________________________ > 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 ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ 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