[OpenSIPS-Users] Git clone Compiling Error

Hamid Hashmi hamid2kviii at hotmail.com
Wed Apr 27 16:08:25 CEST 2016


Really Sorry. I did not see following lines before. :p  
/bin/sh: 1: pkg-config: not found
/bin/sh: 1: pkg-config: not found
Regards
Hamid R. Hashmi

______________________________  

www.hrhashmi.blogspot.com

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

Email: hamid.hashmi006 at gmail.com; hamid2kviii at hotmail.comSype:  hamidrhashmi

From: hamid2kviii at hotmail.com
To: users at lists.opensips.org
Date: Wed, 27 Apr 2016 19:01:19 +0500
Subject: [OpenSIPS-Users] Git clone Compiling Error




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: hamid.hashmi006 at gmail.com; hamid2kviii at hotmail.comSype:  hamidrhashmi 		 	   		  

_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160427/c9f2dc9e/attachment.htm>


More information about the Users mailing list