HackWebRTC/webrtc

absl not reference error

zengpeace opened this issue · 2 comments

Dear:
I use your poject and update to m78 the day before yesterday, when I build, it is not correct, log is:

/work/av/m78/src/media/base/codec.cc:66: undefined reference to `absl::EqualsIgnoreCase

but I can find the symbol in libabsl_absl_strings.a
root@m:~/AndroidStudioProjects/apprtcmobileEx/libwebrtc/.cxx/cmake/debug/arm64-v8a/third_party/abseil-cpp/abseil-cpp/absl/strings# aarch64-linux-gnu-nm libabsl_absl_strings.a |grep "EqualsIgnoreCase"
0000000000000000 T ZN4absl16EqualsIgnoreCaseENS_11string_viewES0
U ZN4absl16EqualsIgnoreCaseENS_11string_viewES0

I find that, in the main CMakeList.txt, there is absl::strings in target_link_libraries

is there someting different in the new code ? if I use new code tree, but the old abseil-cpp floder or the offical floder download from github, the same problem occur.

ps:
I can build correctly when I do not update the code to m78.

please help, thanks !

Piasy commented

There is no guarantee that you can build it for different webrtc revision, currently it only support #28513.

Facing issue while building

gn.py: Could not find checkout in any parent of the current path.
This must be run inside a checkout.