I also successfully used a similar approach to what Greg shows below, in 
October 2011 using SIPp 3.2.  I just used "make pcapplay" in CYGWIN shell from 
my cygwin\home\ghorton directory.  

I set an environment variable on my PC, for system variable CYGWIN with value 
“nodosfilewarning”.  I am not sure that was really necessary once I got over 
other issues.  

I had path issues too, where I thing the build wanted a temp directory to find 
I/O file information.  I was able to change that to have it look in cygwin\bin 
instead and moved all files there.  I cannot remember the exact error I got 
that required this change.

Good luck!

-Greg (a different Greg)


-----Original Message-----
From: Greg Thomas [mailto:greg.d.tho...@gmail.com] 
Sent: Thursday, December 22, 2011 10:13 AM
To: SIPp Mailing List
Subject: Re: [Sipp-users] 回复:RE: Compile new Sipp Win32 stable release with 
PCAP?

2011/12/22 John Rodriguez <grinch_champ...@hotmail.com>:
> Anyone else out there in SIPp have the ability to compile a
> newer windows version of Sipp with PCAPPlay?

The following are the steps I carried out to get it to compile; YMMV.

Hope this helps,

Greg

1. Install Cygwin from http://www.cygwin.com/install.html with at
least the following components;
make
gcc-c++
ncurses
libncurses-devel
openssl-devel

2. Download WinPCAP devleopers pack from
http://www.winpcap.org/devel.htm - copy contents of WpdPack\ to
C:\cygwin\lib\WpdPack\

3. Download SIPp source from
http://sourceforge.net/projects/sipp/files/sipp/(version)/sipp.svn.tar.gz
and copy to C:\cygwin\home\<username>

4. Open a Cygwin Terminal and fix-up any missing files ...
$ ln -s /usr/include/ncurses/curses.h /usr/include/curses.h
$ ln -s /usr/lib/WpdPack/Lib/libwpcap.a /usr/lib/WpdPack/Lib/libpcap.a

5. Finally, extract the source and compile it ...
$ gunzip sipp.svn.tar.gz
$ tar -xvf sipp.svn.tar
$ cd sipp.svn
$ make pcapplay_ossl

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to