< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate-users] How to compile the resip for Android in release mode


I have no Android experience to help in that area but here are a few pointers:
1.  Look at the following wiki page for how to build debug vs non-debug builds:  https://www.resiprocate.org/Configuration_Options#Debug_vs_non-debug_builds

2.  The assert you are referencing indicates a bug in your application (ie: you might be calling accept twice).

Scott

On Wed, Mar 25, 2015 at 9:20 AM, Karlsson <boost.regex@xxxxxxxxx> wrote:
Hi, how could I compile the resip for android in release mode ?

Sometimes I got the assert error in DUM when my application is running, 

ServerInviteSession.cxx:
ServerInviteSession::accept(int code)

      case UAS_Accepted:
      case UAS_WaitingToOffer:
      case UAS_WaitingToRequestOffer:
         assert(0);  // Already Accepted  ======> this assert error was reported
         break;


I think it will no appears if I can compile the resip in nodebug mode(release mode).
I've tried add a line in Makefile.osarch:

VOCAL_COMPILE_TYPE := nodebug  //======> added this line

ifdef LIB_DYNAMIC
BUILD_SHARED_LIBS := yes
endif


But seems the assert still effect.

Thanks

_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/