<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font color="#2672EC">I have been facing following error while compiling</font><div><font color="#2672EC"><br></font></div><div><pre style="box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; font-stretch: normal; line-height: 1.45; padding: 16px; overflow: auto; border-radius: 3px; word-wrap: normal; color: rgb(51, 51, 51); margin-top: 0px !important; margin-bottom: 0px !important; background-color: rgb(247, 247, 247);"><code style="box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; padding: 0px; margin: 0px; border-radius: 3px; word-break: normal; border: 0px; display: inline; max-width: initial; overflow: initial; line-height: inherit; word-wrap: normal; background: transparent;">make[2]: Entering directory '/usr/local/src/opensips/modules/proto_tls'
/bin/sh: 1: pkg-config: not found
/bin/sh: 1: pkg-config: not found
Compiling proto_tls.c
In file included from /usr/local/ssl/include/openssl/ssl.h:1518:0,
                 from proto_tls.c:41:
/usr/local/ssl/include/openssl/srtp.h:140:26: warning: redundant redeclaration of ‘SSL_get_selected_srtp_profile’ [-Wredundant-decls]
 SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(SSL *s);
                          ^
/usr/local/ssl/include/openssl/srtp.h:137:26: note: previous declaration of ‘SSL_get_selected_srtp_profile’ was here
 SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(SSL *s);
                          ^
Linking proto_tls.so
/usr/bin/ld: /usr/local/ssl/lib/libssl.a(ssl_lib.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/local/ssl/lib/libssl.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
../../Makefile.rules:38: recipe for target 'proto_tls.so' failed
make[2]: *** [proto_tls.so] Error 1
make[2]: Leaving directory '/usr/local/src/opensips/modules/proto_tls'
Makefile:201: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/usr/local/src/opensips'


Press any key to return to menuconfig</code></pre><br><font color="#2672ec">thanks you in anticipation.</font><br><br><p class="ecxMsoNormal">Regards</p><p class="ecxMsoNormal"><br></p><p class="ecxMsoNormal"><a name="_MailAutoSig" target="_blank"><b><span style="font-size:8.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;font-variant:small-caps;color:navy;">Hamid R. Hashmi</span></b></a></p>

<p class="ecxMsoNormal"><span style="font-size:8.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1E487C;">______________________________</span><span style="font-size:8.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#00007D;"> &nbsp;</span></p>

<p class="ecxMsoNormal"><a href="http://www.trgworld.com/pakistan" target="_blank" style="font-size:12pt;"><span style="font-size:8.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:navy;">www.hrhashmi.blogspot.com</span></a></p><p class="ecxMsoNormal"><span style="color:#1F497D;"></span></p>

<p class="ecxMsoNormal"><span style="font-size:8.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D;">Mobile: +92 300 968 22 85 ; +92 322 636 32 66</span><span style="font-size:8.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:navy;"><br>
Email:&nbsp;</span><span style="font-size:8.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:blue;"><a href="mailto:hamidraza.hashmi@trgworld.com">hamid.hashmi006@gmail.com</a>;&nbsp;</span><u style="color:rgb(0, 0, 255);font-family:Verdana, sans-serif;font-size:10.6667px;">hamid2kviii@hotmail.com</u></p><p class="ecxMsoNormal"><span style="color:rgb(0, 0, 128);font-family:Verdana, sans-serif;font-size:10.6667px;">Sype: &nbsp;</span><font color="#0000ff" face="Verdana, sans-serif"><span style="font-size:10.6667px;"><u>hamidrhashmi</u></span></font></p></div>                                               </div></body>
</html>