Skip to content

[General Question] Conflicts between Firebase SDK and WebRtc SDK | ssl_lib.cc multiple definitions of functions #989

Closed
@Mian-Zaid

Description

@Mian-Zaid

[REQUIRED] Please fill in the following fields:

  • Pre-built SDK from the website or open-source from this repo: _____
  • 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.)
  • Platform you are using the C++ SDK on: Ubuntu 18.04.6 LTS_ (Mac, Windows, or Linux)
  • Platform you are targeting: Desktop___ (iOS, Android, and/or desktop)

[REQUIRED] Please describe the question here:

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.

here are my CMakeLists.txt

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions