Hi Jeannot,

'make all' compiles SIPp without pcap and ssl support.
Recompile SIPp to enable pcap support:

make clean
make pcapplay

regards,
Enrico

Jeannot Langlois wrote:
> Hi Olivier,
>
>
> I have obtained what I believe is the latest unstable snapshot of SIPP 
> v1.1 ( http://sipp.sourceforge.net/snapshots/sipp.2007-01-16.tar.gz ), 
> which I have built on Fedora Core release 4 (Stentz).
>
> I ran "make all" and "make pcapplay", in that order, did not get any 
> error and got a "sipp" executable.
>
>
> When trying to run a UAS scenario that uses the following:
>
>   <nop>
>     <action>
>       <exec play_pcap_audio="pcap/bennybenassi4.pcap"/>
>     </action>
>   </nop>
>
>
> I get:
>
> [EMAIL PROTECTED] sipp.2007-01-16]$ ./sipp -p 5061 -sf 
> pa_update_wprack_single_SR.xml -trace_err -i xxx.xxx.xxx.xxx -m 1
> 2007-01-17 14:06:59: play_pcap_audio requires pcap support! Please 
> recompile SIPp.
>
>
> I thought only a successful "make pcapplay" was required to obtain pcap 
> support -- what could be wrong?
>
>
> It seems the installed "libpcap" is v0.8.3.
> It seems a "libnet.a" is installed but I can't find any version info.
>
>
>
>
> [EMAIL PROTECTED] sipp.2007-01-16]$ make
> make OSNAME=`uname|sed -e "s/CYGWIN.*/CYGWIN/"` MODELNAME=`uname -m|sed 
> "s/Power Macintosh/ppc/"` sipp
> make[1]: Entering directory `/home/jeannot/sipp.2007-01-16'
> cc   -D__LINUX -pthread -D__3PCC__       -I. -I/opt/openssl/include  -c 
> -o xp_parser.o xp_parser.c
> gcc   -D__LINUX -pthread -D__3PCC__       -I. -I/opt/openssl/include  -c 
> -o scenario.o scenario.cpp
> gcc   -D__LINUX -pthread -D__3PCC__       -I. -I/opt/openssl/include  -c 
> -o screen.o screen.cpp
> gcc   -D__LINUX -pthread -D__3PCC__       -I. -I/opt/openssl/include  -c 
> -o call.o call.cpp
> cc   -D__LINUX -pthread -D__3PCC__       -I. -I/opt/openssl/include  -c 
> -o comp.o comp.c
> gcc   -D__LINUX -pthread -D__3PCC__       -I. -I/opt/openssl/include  -c 
> -o sipp.o sipp.cpp
> gcc   -D__LINUX -pthread -D__3PCC__       -I. -I/opt/openssl/include  -c 
> -o stat.o stat.cpp
> gcc   -D__LINUX -pthread -D__3PCC__       -I. -I/opt/openssl/include  -c 
> -o actions.o actions.cpp
> gcc   -D__LINUX -pthread -D__3PCC__       -I. -I/opt/openssl/include  -c 
> -o variables.o variables.cpp
> gcc     \
>  -o sipp   xp_parser.o scenario.o screen.o call.o comp.o sipp.o stat.o 
> actions.o variables.o -ldl -lpthread -lncurses -lstdc++ -lm -L 
> /usr/local/lib -L /usr/lib -L /usr/lib64
> make[1]: Leaving directory `/home/jeannot/sipp.2007-01-16'
> [EMAIL PROTECTED] sipp.2007-01-16]$
>
>
> [EMAIL PROTECTED] sipp.2007-01-16]$ 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
> make[1]: Entering directory `/home/jeannot/sipp.2007-01-16'
> cc   -D__LINUX -pthread -D__3PCC__  -DPCAPPLAY     -I. 
> -I/opt/openssl/include  -c -o send_packets.o send_packets.c
> cc   -D__LINUX -pthread -D__3PCC__  -DPCAPPLAY     -I. 
> -I/opt/openssl/include  -c -o prepare_pcap.o prepare_pcap.c
> gcc     \
>  -o sipp  send_packets.o prepare_pcap.o xp_parser.o scenario.o screen.o 
> call.o comp.o sipp.o stat.o actions.o variables.o -ldl -lpthread 
> -lncurses -lstdc++ -lm -L /usr/local/lib -L /usr/lib -L /usr/lib64   -lpcap
> make[1]: Leaving directory `/home/jeannot/sipp.2007-01-16'
> [EMAIL PROTECTED] sipp.2007-01-16]$
>
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to