How to resolve the linker error in C++ compiler
问题 I have to compile PJSIP in CPP compiler. Because I am integrating an API with PJSIP . It is in CPP . So I have to use g++ instead of gcc . But now I didn't integrate any other API. But I am getting linker error in CPP compiler. If it is C compiler, it is working fine. Error: Undefined symbols for architecture arm: "_crypto_alloc", referenced from: srtp_stream_clone(srtp_stream_ctx_t const*, unsigned int, srtp_stream_ctx_t**)in libsrtp-arm-apple-darwin9.a(srtp.o) srtp_stream_alloc(srtp_stream