On Wed, Aug 26, 2009 at 6:57 AM, Anna Paulson<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 ------------------------------------------------------------------------------ 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