bugGNU SIP Witch - Bugs: bug #42202, TLS build fails on...

 
 

bug #42202: TLS build fails on eXosip_set_tls_ctx in stack.cpp

Submitter:  None
Submitted:  Sat 26 Apr 2014 02:37:41 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 07 Apr 2015 10:08:12 PM UTC, comment #1: 

We had the same issue with ibeXosip2 (4.1.0):

make  all-recursive
make[1]: Entering directory '/home/escape/a/sipwitch-1.9.7'
Making all in common
make[2]: Entering directory '/home/escape/a/sipwitch-1.9.7/common'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/escape/a/sipwitch-1.9.7/common'
Making all in server
make[2]: Entering directory '/home/escape/a/sipwitch-1.9.7/server'
g++ -DHAVE_CONFIG_H -I. -I..    -I../inc    -Wno-long-long -pthread -fno-check-new -finline -fvisibility=hidden -g -O2 -MT stack.o -MD -MP -MF .deps/stack.Tpo -c -o stack.o stack.cpp
stack.cpp: In member function ‘virtual void sipwitch::stack::start(sipwitch::service*)’:
stack.cpp:747:49: error: ‘eXosip_set_tls_ctx’ was not declared in this scope
         if ((ctx_error = eXosip_set_tls_ctx(&ctx)) != TLS_OK)
                                                 ^
stack.cpp:772:39: error: ‘family’ was not declared in this scope
     voip::create(&tls_context, agent, family);
                                       ^
Makefile:620: recipe for target 'stack.o' failed
make[2]: * [stack.o] Error 1
make[2]: Leaving directory '/home/escape/a/sipwitch-1.9.7/server'
Makefile:533: recipe for target 'all-recursive' failed
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory '/home/escape/a/sipwitch-1.9.7'
Makefile:436: recipe for target 'all' failed
make: * [all] Error 2

-X- <palatinux666>
Sat 26 Apr 2014 02:37:41 PM UTC, original submission:  

When sipwitch is built with the --with-openssl option against current libeXosip2 (4.1.0), the build fails in  stack.cpp at the call to eXosip_set_tls_ctx.
   * eXosip_set_tls_ctx is no longer in the public header of libeXosip2
   * it now takes two parameters rather than one.


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code