Closed coffeeplanter closed 4 months ago
aes_icm
and aes_icm_ossl
are not supposed to be built together.
https://github.com/pjsip/pjproject/blob/master/third_party/build/os-auto.mak.in#L54
Try cleaning and rebuilding. Follow the docs.
As far as I understand the problem is that SRTP is also included in OpenSSL, so duplicated symbols are defined in both the PJSIP SRTP library and OpenSSL default implementation. This is not described in docs unfortunatelly.
Describe the bug
Trying to build demo Android app included in the repo. Built PJSIP with OpenSSL, trying to generate SWIG Java bindings and after entering command
make
getting three errors of duplicate symbol in aes_icm.c and aes_icm_ossl.c files. I'm not a specialist in C/C++, so cannot understand how to solve the problem. Please help.Steps to reproduce
Built OpenSSL Built PJSIP Trying to build SWIG Java bindings (entered
make
)PJSIP version
2.14.1
Context
Building on MacOS for Android app Using NDK 22.1.7171670 configure-android --with-ssl=[path] config_site.h — default values Using OpenSSL 3.3.1
Log, call stack, etc