[OpenSIPS-Devel] [ opensips-Bugs-3473384 ] Problem compiling with SSLv2

SourceForge.net noreply at sourceforge.net
Fri Jan 13 12:47:29 CET 2012


Bugs item #3473384, was opened at 2012-01-13 02:25
Message generated for change (Settings changed) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3473384&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.7.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Muhammad Shahzad (shari_786pk)
>Assigned to: saghul (saghul)
Summary: Problem compiling with SSLv2

Initial Comment:
I am getting linker errors while compiling opensips 1.7.1 latest stable release with svn revision 8659.

tls/tls_init.c: In function ‘init_ssl_methods’:
tls/tls_init.c:323:2: warning: implicit declaration of function ‘SSLv2_client_method’ [-Wimplicit-function-declaration]
tls/tls_init.c:323:37: warning: assignment makes pointer from integer without a cast [enabled by default]
tls/tls_init.c:324:2: warning: implicit declaration of function ‘SSLv2_server_method’ [-Wimplicit-function-declaration]
tls/tls_init.c:324:37: warning: assignment makes pointer from integer without a cast [enabled by default]
tls/tls_init.c:325:2: warning: implicit declaration of function ‘SSLv2_method’ [-Wimplicit-function-declaration]
tls/tls_init.c:325:33: warning: assignment makes pointer from integer without a cast [enabled by default]
tls/tls_init.c:327:37: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
tls/tls_init.c:328:37: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
tls/tls_init.c:329:33: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
tls/tls_init.c:331:37: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
tls/tls_init.c:332:37: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
tls/tls_init.c:333:33: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
tls/tls_init.c:335:38: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
tls/tls_init.c:336:38: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
tls/tls_init.c:337:34: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
Compiling tls/tls_server.c
Linking opensips
tls/tls_init.o: In function `init_ssl_methods':
/usr/src/svn-src/opensips_1_7/tls/tls_init.c:323: undefined reference to `SSLv2_client_method'
/usr/src/svn-src/opensips_1_7/tls/tls_init.c:324: undefined reference to `SSLv2_server_method'
/usr/src/svn-src/opensips_1_7/tls/tls_init.c:325: undefined reference to `SSLv2_method'
collect2: ld returned 1 exit status
make: *** [opensips] Error 1

I am using Ubuntu server 11.10 64-bit edition. 

Feel free to ask for more info as needed.



----------------------------------------------------------------------

Comment By: Muhammad Shahzad (shari_786pk)
Date: 2012-01-13 03:30

Message:
Can you fix it today? Since i have to finalize a production deployment
today.

Many thanks in advance.



----------------------------------------------------------------------

Comment By: saghul (saghul)
Date: 2012-01-13 03:00

Message:
Hi,

Debian (and I guess Ubuntu) bundle OpenSSL >= 1.0 without SSL2 support in.
I fixed this in trunk but forgot to do the backport for 1.7.

I'll backport the fix to 1.7.

----------------------------------------------------------------------

Comment By: Muhammad Shahzad (shari_786pk)
Date: 2012-01-13 02:33

Message:
Just confirmed i have libssl-dev installed. Same opensips version installs
correctly without any problem on debian 6.0 32-bit server. But not working
on ubuntu 11.10 64-bit server.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3473384&group_id=232389



More information about the Devel mailing list