自从上一年以来,我正在为我的项目使用CSipSimple代码,不幸的是CSipSimple的开发已停止并且也支持。
我想将pjsip版本更新为代码。我还尝试插入pjsip的最新代码。但是使用'make'命令在使用最新的pjsip代码编译CSipSimple时面临很多问题。我用 CSipSimple - >替换了最新的pjsip代码/目录。 jni - > pjsip - >来源目录,但没有运气。
构建环境
如果有人已经完成了这个或对我的错误有任何想法,请帮助我,我将非常感激。
[armeabi] Compile thumb : pjsipjni <= pjsua_jni_addons.c
[armeabi] Compile thumb : pjsipjni <= reason_parser.c
[armeabi] Compile thumb : pjsipjni <= zrtp_android.c
[armeabi] Compile++ thumb: pjsipjni <= zrtp_android_callback.cpp
[armeabi] Compile thumb : pjsipjni <= pjsip_opus_sdp_rewriter.c
[armeabi] Compile thumb : pjsipjni <= ringback_tone.c
[armeabi] Compile thumb : pjsipjni <= android_logger.c
[armeabi] Compile thumb : pjsipjni <= audio_codecs.c
[armeabi] Compile thumb : pjsipjni <= csipsimple_codecs_utils.c
[armeabi] Compile thumb : pj_amr_stagefright_codec <= stagefright_amr.c
[armeabi] Compile thumb : pjsip <= sip_config.c
jni/pjsip/android_toolchain/pjsip/../../sources/pjsip/src/pjsip/sip_config.c:57:5: error: initializer element is not constant
},
^
jni/pjsip/android_toolchain/pjsip/../../sources/pjsip/src/pjsip/sip_config.c:57:5: error: (near initialization for 'pjsip_sip_cfg_var.tcp.keep_alive_interval')
jni/pjsip/android_toolchain/pjsip/../../sources/pjsip/src/pjsip/sip_config.c:62:5: error: initializer element is not constant
}
^
jni/pjsip/android_toolchain/pjsip/../../sources/pjsip/src/pjsip/sip_config.c:62:5: error: (near initialization for 'pjsip_sip_cfg_var.tls.keep_alive_interval')
make[1]: *** [obj/local/armeabi/objs/pjsip/src/pjsip/sip_config.o] Error 1
make[1]: *** Waiting for unfinished jobs....
rm jni/swig-glue/android_toolchain/../.pjsua.i
make[1]: Leaving directory `/backup/CSipSimple-trunk/CSipSimple'
Makefile:14: recipe for target 'libraries' failed
make: *** [libraries] Error 2