Hello Anna,

You may add the extra information on the wiki on your own.
You will just have to create an account.

Regards,
Anuj

________________________________
From: Anna Paulson [mailto:apaul...@ieee.org]
Sent: Wednesday, September 02, 2009 5:34 AM
To: mayamatakeshi; sipp-users@lists.sourceforge.net
Subject: Re: [Sipp-users] make pcapplay_ossl errors



On Tue, Aug 25, 2009 at 7:36 PM, mayamatakeshi 
<mayamatake...@gmail.com<mailto:mayamatake...@gmail.com>> wrote:
On Wed, Aug 26, 2009 at 6:57 AM, Anna 
Paulson<apaul...@ieee.org<mailto:apaul...@ieee.org>> wrote:
> Hello,
>
> I'm trying to install SIPp ver 3.1 with PCAP play and authentication support
> on a RHEL 5.2 i386 machine.  I am able to sucessfully run "make all" but
> both "make pcaplay" and "make ossl" throw errors.  I have libpcap, libnet,
> and openssl 0.9.8b installed.  The following are errors from "make
> pcapplay_ossl."  I'd appreciate any help you could give me...I checked the
> archives and didn't see these errors.
>
> [r...@localhost sipp.svn]# make clean
> rm -f *.o sipp *~ *.log sipp.tgz *.csv *.exe
> rm -rf cxx_repository
> [r...@localhost sipp.svn]# make pcapplay_ossl
> make OSNAME=`uname|sed -e "s/CYGWIN.*/CYGWIN/"` MODELNAME=`uname -m|sed
> "s/Power Macintosh/ppc/"` OBJ_TLS="auth.o sslinit.o sslthreadsafe.o
> milenage.o rijndael.o" TLS_LIBS="-lssl -lcrypto" TLS="-D_USE_OPENSSL
> -DOPENSSL_NO_KRB5"  OBJ_PCAPPLAY="send_packets.o prepare_pcap.o"
> PCAPPLAY_LIBS="-lpcap `if test -f ./ext; then echo -L./ext/lib; fi;`"
> PCAPPLAY="-DPCAPPLAY `if test -f ./ext; then echo -I./ext/include; fi;`"
> sipp
> make[1]: Entering directory
> `/home/BSItester/Desktop/BSI_install_files/sipp.svn'
> gcc   -D__LINUX -pthread  -DSVN_VERSION="\"unknown\"" -D_USE_OPENSSL
> -DOPENSSL_NO_KRB5 -DPCAPPLAY      -I. -I/usr/include/openssl  -c -o auth.o
> auth.c
> auth.c:32:25: error: openssl/md5.h: No such file or directory
> auth.c: In function 'createAuthHeaderMD5':
> auth.c:225: error: 'MD5_CTX' undeclared (first use in this function)
> auth.c:225: error: (Each undeclared identifier is reported only once
> auth.c:225: error: for each function it appears in.)
> auth.c:225: error: expected ';' before 'Md5Ctx'
> auth.c:246: error: 'Md5Ctx' undeclared (first use in this function)
> auth.c: In function 'createAuthResponseMD5':
> auth.c:360: error: 'MD5_CTX' undeclared (first use in this function)
> auth.c:360: error: expected ';' before 'Md5Ctx'
> auth.c:363: error: 'Md5Ctx' undeclared (first use in this function)
> make[1]: *** [auth.o] Error 1
> make[1]: Leaving directory
> `/home/BSItester/Desktop/BSI_install_files/sipp.svn'
> make: *** [pcapplay_ossl] Error 2

Hello,
from the error message, clearly the necessary header file is not being found.

How did you install libpcap and openssl?
Have you installed from source or using something like yum?
If using yum, did you requested the devel packages? (yum install
libpcap-devel openssl-devel).
If they were installed from source, before running make for those
libs, maybe you will need to run configure like this: "configure
--prefix=/usr" to adjust location of the header files and libs.

regards,
takeshi


Hi Takeshi

I  think your advice allowed me to clear up the problem.  I reisntalled the 
devel versions of required openssl, libpcap and their dependencies and it seems 
to be working.  I will try to send some DTMF thorugh a scenario tomorrow to 
verify.

Even though it doesn't seem like this is found anywhere in the documentation, 
it seems like you are supposed to have libpcap-devel, openssl-devel, 
ncurses-devel, krb5-devel, etc. installed to compile SIPp w/ pcap play and 
authentication.  Is there any way that could get changed in the documentation 
(specifically, the Linux/Redhat section of the Compliation page of the SIPp 
wiki)?

Regards,

Anna
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to