tags:

views:

95

answers:

0

Hi,, I am trying to compile SIPp with TLS and authentication in Solaris 10 update 5 but when I am trying to bulid it with "gmake ossl" it is giving an error. Already i have installed OpenSSL 1.0.0

gmake 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" sipp
gmake[1]: Entering directory /opt/software/sipp-3.0.src'
gcc -g -D__SUNOS -D__3PCC__ -D_USE_OPENSSL -DOPENSSL_NO_KRB5 -I. -I/usr/local/ssl/include/ -c -o auth.o auth.c
auth.c:44: error: syntax error before "K"
auth.c:44: warning: data definition has no type or storage class
auth.c:46: error: syntax error before "RAND"
auth.c:46: warning: data definition has no type or storage class
auth.c:48: error: syntax error before "AUTN"
auth.c:48: warning: data definition has no type or storage class
auth.c:51: error: syntax error before "AK"
auth.c:51: warning: data definition has no type or storage class
auth.c:53: error: syntax error before "AMF"
auth.c:53: warning: data definition has no type or storage class
auth.c:55: error: syntax error before "MAC"
auth.c:55: warning: data definition has no type or storage class
auth.c:57: error: syntax error before "CK"
auth.c:57: warning: data definition has no type or storage class
auth.c:59: error: syntax error before "IK"
auth.c:59: warning: data definition has no type or storage class auth.c:61: error: syntax error before "SQN" auth.c:61: warning: data definition has no type or storage class auth.c:71: error: syntax error before "OP" auth.c:71: warning: data definition has no type or storage class auth.c:73: error: syntax error before "amfstar" auth.c:73: warning: initialization makes integer from pointer without a cast auth.c:73: warning: data definition has no type or storage class auth.c:74: error: syntax error before "sqn_he" auth.c:74: warning: excess elements in scalar initializer auth.c:74: warning: (near initialization for
sqn_he') auth.c:74: warning: excess elements in scalar initializer auth.c:74: warning: (near initialization for sqn_he') auth.c:74: warning: excess elements in scalar initializer auth.c:74: warning: (near initialization forsqn_he') auth.c:74: warning: excess elements in scalar initializer auth.c:74: warning: (near initialization for sqn_he') auth.c:74: warning: excess elements in scalar initializer auth.c:74: warning: (near initialization forsqn_he') auth.c:74: warning: data definition has no type or storage class auth.c: In function createAuthHeaderAKAv1MD5': auth.c:507: error: syntax error before "amf" auth.c:512: error: syntax error before "mac" auth.c:516: error: syntax error before "ck" auth.c:542: error:rnd' undeclared (first use in this function) auth.c:542: error: (Each undeclared identifier is reported only once auth.c:542: error: for each function it appears in.) auth.c:543: error: sqnxoraka' undeclared (first use in this function) auth.c:544: error:mac' undeclared (first use in this function) auth.c:545: error: k' undeclared (first use in this function) auth.c:546: error:amf' undeclared (first use in this function) auth.c:547: error: op' undeclared (first use in this function) auth.c:550: error:ck' undeclared (first use in this function) auth.c:550: error: ik' undeclared (first use in this function) auth.c:550: error:ak' undeclared (first use in this function) auth.c:555: error: sqn' undeclared (first use in this function) auth.c:558: error:xmac' undeclared (first use in this function) auth.c:569: error: subscripted value is neither array nor pointer auth.c:574: error: sqn_ms' undeclared (first use in this function) auth.c:574: error: subscripted value is neither array nor pointer gmake[1]: *** [auth.o] Error 1 gmake[1]: Leaving directory/opt/software/sipp-3.0.src' gmake: * [ossl] Error 2