On Fri, 2012-12-28 at 12:29 +0530, SHAVETA AGGARWAL wrote: > Hi Rob , > > Thanks for the reply. I downloaded and extracted from the link > provided and was able to successfully run 'make' . But it gives the > following error when I try 'make pcapplay' > ============================================================== > Administrator@warrior /cygdrive/c/Cygwin/bin/sipp.stable > $ make pcapplay > make OSNAME=`uname|sed -e "s/CYGWIN.*/CYGWIN/"` MODELNAME=`uname -m| > sed "s/Power Macintosh/ppc/"` OBJ_PCAPPLAY="send_packets.o > prepare_pcap.o" PCAPPLAY_LIBS="-lpcap" PCAPPLAY="-DPCAPPLAY" sipp [snip] > /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: > cannot find -lpcap > collect2: ld returned 1 exit status > Makefile:190: recipe for target `sipp' failed > make[1]: *** [sipp] Error 1 > make[1]: Leaving directory `/cygdrive/c/Cygwin/bin/sipp.stable' > Makefile:172: recipe for target `pcapplay' failed > make: *** [pcapplay] Error 2 > =================================================================== > > Kindly let me know what I am missing here > Appreciate all the help > > Thanks > Shaveta > > On Fri, Dec 28, 2012 at 2:52 AM, Rob Day <r...@rkd.me.uk> wrote: > Have you downloaded the SIPp sources, or only installed SIPp > for > Windows? Because you mention '/cygdrive/d/Program > Files/Sipp_3.1', it > sounds like you've done the latter - but to compile SIPp with > PCAP, > what you really need to do is download > > http://sourceforge.net/projects/sipp/files/sipp/3.1/sipp.3.1.src.tar.gz/download > (not sipp-win32-3.1.1.exe), extract that, and then run 'make > pcapplay_cygwin' in the directory you extracted the files to. > > Should that not work, I'd like to know what happens when you > just run 'make'. > > Best, > Rob >
I accidentally replied off-list, so I'm cc-ing this to sipp-users again. Your error is this - "usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lpcap" - which means that the linker can't find the library called "pcap" to link SIPp against. This is the difference between "make pcapplay" and "make pcapplay_cygwin" - the library is called "wpcap" instead on Windows, and the Cygwin target uses that. I would expect that "make pcapplay_cygwin" will work. ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 _______________________________________________ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users