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

libwebrtc_full.a undefined symbol #287

Closed
juha-h opened this issue Oct 8, 2020 · 1 comment
Closed

libwebrtc_full.a undefined symbol #287

juha-h opened this issue Oct 8, 2020 · 1 comment

Comments

@juha-h
Copy link

juha-h commented Oct 8, 2020

I'm trying to use libwebrtc_full.a from webrtc-22215-ab42706-linux-x64.tar.gz in baresip app. Build works fine, but when I start the app, it complains:

dl: mod: /usr/lib/baresip/modules/webrtc_aec.so (/usr/lib/baresip/modules/webrtc_aec.so: undefined symbol: _ZN6webrtc17WebRtcAec_ProcessEPvPKPKfmPKPfmsi)

When I check libwebrtc_full.a, it does include this symbol, but it is both defined "U" and defined "T":

$ nm /usr/src/orig/webrtc_sdk/lib/x64/Release/libwebrtc_full.a  | grep WebRtcAec_Process
                 U _ZN6webrtc17WebRtcAec_ProcessEPvPKPKfmPKPfmsi
0000000000000000 T _ZN6webrtc17WebRtcAec_ProcessEPvPKPKfmPKPfmsi
                 U _ZN6webrtc23WebRtcAec_ProcessFramesEPNS_7AecCoreEPKPKfmmiPKPf
0000000000000000 T _ZN6webrtc23WebRtcAec_ProcessFramesEPNS_7AecCoreEPKPKfmmiPKPf

Why is that? Any hints on how to solve the problem?

@juha-h
Copy link
Author

juha-h commented Oct 8, 2020

It turned out that the static lib was not included in baresip app binary.

@juha-h juha-h closed this as completed Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant