Firebase SDK conflicts with WebRtc SDK | ssl_lib.cc multiple definitions of functions

156 Views Asked by At

Pre-requisites

  • Pre-built SDK from the website

  • Firebase C++ SDK version: 9.0.0

  • Main Firebase Components in concern: App (Auth, Database, etc.)

  • Other Firebase Components in use: Database (Auth, Database, etc.)

  • The platform you are using the C++ SDK on Ubuntu 18.04.6 LTS (Mac, Windows, or Linux)

  • The platform you are targeting: Desktop (iOS, Android, and/or desktop)

Problem-Statement

I am building Firebase Sdk with WebRtc. while adding firebase App classes I am getting the following error.

home/webrtc/lib_webrtc/src/third_party/boringssl/src/ssl/ssl_lib.cc.o first defined here

../firebase/libs/linux/x86_64/legacy/libfirebase_app.a(93f69bbf5771d4a5b72056dec59d993b_ssl_lib.cc.o): In function ssl_st::~ssl_st()':

/home/runner/work/firebase-cpp-sdk/firebase-cpp-sdk/out-sdk/external/src/boringssl/src/ssl/ssl_lib.cc:655: multiple definition of ssl_st::~ssl_st()'

getting the same error for every function of ssl_st

Stand-alone Both Firebase SDK and Webrtc SDK are working fine, the above error arises upon integrating these two.

0

There are 0 best solutions below