I have been facing following error while compiling
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
thanks you in anticipation.

Regards
Hamid R. Hashmi

______________________________  

www.hrhashmi.blogspot.com

Mobile: +92 300 968 22 85 ; +92 322 636 32 66

Email: [email protected]; [email protected]:  hamidrhashmi    
                                  
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to