Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Mian-Zaid opened this issue Jun 14, 2022 · 4 comments

Comments

@Mian-Zaid
Copy link

[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

@google-oss-bot
Copy link

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

@Mian-Zaid Mian-Zaid changed the title [Conflicts between Firebase SDK and WebRtc SDK | ssl_lib.cc multiple definitions of functions] [General Question] Conflicts between Firebase SDK and WebRtc SDK | ssl_lib.cc multiple definitions of functions Jun 14, 2022
@chkuang-g chkuang-g added api: core needs-attention Need Googler's attention and removed new New issue. needs-triage labels Jun 17, 2022
@chkuang-g
Copy link
Contributor

Are you able to build from source? That should work around with this issue.

If not, we should have a fix in the next release.
#1000

@chkuang-g chkuang-g added type: bug and removed type: question needs-attention Need Googler's attention labels Jun 17, 2022
@jonsimantov jonsimantov self-assigned this Jun 27, 2022
@Mian-Zaid
Copy link
Author

Are you able to build from source? That should work around with this issue.

If not, we should have a fix in the next release. #1000

No i haven't

@jonsimantov
Copy link
Contributor

This should be fixed in the latest release.

@firebase firebase locked and limited conversation to collaborators Sep 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants