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

Linking issue with LLVM/clang under linux. #28931

Open
RinCat opened this issue Feb 4, 2025 · 0 comments
Open

Linking issue with LLVM/clang under linux. #28931

RinCat opened this issue Feb 4, 2025 · 0 comments
Labels

Comments

@RinCat
Copy link

RinCat commented Feb 4, 2025

Steps to reproduce

  1. Build from sources with LLVM/clang

Expected behaviour

Success build

Actual behaviour

ld.lld: error: undefined symbol: webrtc::VideoFrame::Builder::set_update_rect(std::__1::optional<webrtc::VideoFrame::UpdateRect> const&)
>>> referenced by VideoCameraCapturer.cpp
>>>               VideoCameraCapturer.cpp.o:(tgcalls::VideoCameraCapturer::OnFrame(webrtc::VideoFrame const&)) in archive Telegram/liblib_tgcalls.a

ld.lld: error: undefined symbol: rtc::Base64::DecodeFromArray(char const*, unsigned long, int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>*, unsigned long*)
>>> referenced by AudioStreamingPartInternal.cpp
>>>               AudioStreamingPartInternal.cpp.o:(tgcalls::AudioStreamingPartInternal::AudioStreamingPartInternal(std::__1::vector<unsigned char, std::__1::allocator<unsigned char>>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)) in archive Telegram/liblib_tgcalls.a

ld.lld: error: undefined symbol: rtc::CreateRandomString(unsigned long)
>>> referenced by GroupNetworkManager.cpp
>>>               GroupNetworkManager.cpp.o:(tgcalls::GroupNetworkManager::GroupNetworkManager(webrtc::FieldTrialsView const&, std::__1::function<void (tgcalls::GroupNetworkManager::State const&)>, std::__1::function<void (unsigned int, int)>, std::__1::function<void (bool)>, std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>, std::__1::function<void (unsigned int, unsigned char, bool)>, std::__1::shared_ptr<tgcalls::Threads>)) in archive Telegram/liblib_tgcalls.a
>>> referenced by GroupNetworkManager.cpp
>>>               GroupNetworkManager.cpp.o:(tgcalls::GroupNetworkManager::GroupNetworkManager(webrtc::FieldTrialsView const&, std::__1::function<void (tgcalls::GroupNetworkManager::State const&)>, std::__1::function<void (unsigned int, int)>, std::__1::function<void (bool)>, std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>, std::__1::function<void (unsigned int, unsigned char, bool)>, std::__1::shared_ptr<tgcalls::Threads>)) in archive Telegram/liblib_tgcalls.a
>>> referenced by GroupNetworkManager.cpp
>>>               GroupNetworkManager.cpp.o:(tgcalls::GroupNetworkManager::stop()) in archive Telegram/liblib_tgcalls.a
>>> referenced 7 more times

ld.lld: error: undefined symbol: rtc::RTCCertificateGenerator::GenerateCertificate(rtc::KeyParams const&, std::__1::optional<unsigned long> const&)
>>> referenced by GroupNetworkManager.cpp
>>>               GroupNetworkManager.cpp.o:(tgcalls::GroupNetworkManager::GroupNetworkManager(webrtc::FieldTrialsView const&, std::__1::function<void (tgcalls::GroupNetworkManager::State const&)>, std::__1::function<void (unsigned int, int)>, std::__1::function<void (bool)>, std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>, std::__1::function<void (unsigned int, unsigned char, bool)>, std::__1::shared_ptr<tgcalls::Threads>)) in archive Telegram/liblib_tgcalls.a
>>> referenced by GroupNetworkManager.cpp
>>>               GroupNetworkManager.cpp.o:(tgcalls::GroupNetworkManager::stop()) in archive Telegram/liblib_tgcalls.a
>>> referenced by NativeNetworkingImpl.cpp
>>>               NativeNetworkingImpl.cpp.o:(tgcalls::NativeNetworkingImpl::NativeNetworkingImpl(tgcalls::InstanceNetworking::Configuration&&)) in archive Telegram/liblib_tgcalls.a
>>> referenced 9 more times

ld.lld: error: undefined symbol: cricket::PortAllocator::SetConfiguration(std::__1::set<rtc::SocketAddress, std::__1::less<rtc::SocketAddress>, std::__1::allocator<rtc::SocketAddress>> const&, std::__1::vector<cricket::RelayServerConfig, std::__1::allocator<cricket::RelayServerConfig>> const&, int, webrtc::PortPrunePolicy, webrtc::TurnCustomizer*, std::__1::optional<int> const&)
>>> referenced by GroupNetworkManager.cpp
>>>               GroupNetworkManager.cpp.o:(tgcalls::GroupNetworkManager::resetDtlsSrtpTransport()) in archive Telegram/liblib_tgcalls.a
>>> referenced by NativeNetworkingImpl.cpp
>>>               NativeNetworkingImpl.cpp.o:(tgcalls::NativeNetworkingImpl::resetDtlsSrtpTransport()) in archive Telegram/liblib_tgcalls.a
>>> referenced by NetworkManager.cpp
>>>               NetworkManager.cpp.o:(tgcalls::NetworkManager::start()) in archive Telegram/liblib_tgcalls.a

ld.lld: error: undefined symbol: cricket::P2PTransportChannel::Create(std::__1::basic_string_view<char, std::__1::char_traits<char>>, int, webrtc::IceTransportInit)
>>> referenced by GroupNetworkManager.cpp
>>>               GroupNetworkManager.cpp.o:(tgcalls::GroupNetworkManager::resetDtlsSrtpTransport()) in archive Telegram/liblib_tgcalls.a
>>> referenced by NativeNetworkingImpl.cpp
>>>               NativeNetworkingImpl.cpp.o:(tgcalls::NativeNetworkingImpl::resetDtlsSrtpTransport()) in archive Telegram/liblib_tgcalls.a
>>> referenced by NetworkManager.cpp
>>>               NetworkManager.cpp.o:(tgcalls::NetworkManager::start()) in archive Telegram/liblib_tgcalls.a

ld.lld: error: undefined symbol: webrtc::RtpTransport::transport_name() const
>>> referenced by GroupNetworkManager.cpp
>>>               GroupNetworkManager.cpp.o:(vtable for tgcalls::WrappedDtlsSrtpTransport) in archive Telegram/liblib_tgcalls.a
>>> referenced by NativeNetworkingImpl.cpp
>>>               NativeNetworkingImpl.cpp.o:(vtable for tgcalls::(anonymous namespace)::MtProtoRtpTransport) in archive Telegram/liblib_tgcalls.a

ld.lld: error: undefined symbol: rtc::Thread::SetName(std::__1::basic_string_view<char, std::__1::char_traits<char>>, void const*)
>>> referenced by DesktopCaptureSourceHelper.cpp
>>>               DesktopCaptureSourceHelper.cpp.o:(tgcalls::(anonymous namespace)::GlobalCapturerThread()::$_0::operator()() const) in archive Telegram/liblib_tgcalls.a
>>> referenced by StaticThreads.cpp
>>>               StaticThreads.cpp.o:(tgcalls::ThreadsImpl::create(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)) in archive Telegram/liblib_tgcalls.a
>>> referenced by StaticThreads.cpp
>>>               StaticThreads.cpp.o:(tgcalls::ThreadsImpl::create_network(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)) in archive Telegram/liblib_tgcalls.a
>>> referenced 1 more times

ld.lld: error: undefined symbol: webrtc::DesktopAndCursorComposer::DesktopAndCursorComposer(std::__1::unique_ptr<webrtc::DesktopCapturer, std::__1::default_delete<webrtc::DesktopCapturer>>, webrtc::DesktopCaptureOptions const&)
>>> referenced by DesktopCaptureSourceHelper.cpp
>>>               DesktopCaptureSourceHelper.cpp.o:(std::__1::__function::__func<tgcalls::DesktopCaptureSourceHelper::DesktopCaptureSourceHelper(tgcalls::DesktopCaptureSource, tgcalls::DesktopCaptureSourceData)::$_0, std::__1::allocator<tgcalls::DesktopCaptureSourceHelper::DesktopCaptureSourceHelper(tgcalls::DesktopCaptureSource, tgcalls::DesktopCaptureSourceData)::$_0>, void ()>::operator()()) in archive Telegram/liblib_tgcalls.a

ld.lld: error: undefined symbol: cricket::CreateAudioCodec(int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int, unsigned long)
>>> referenced by GroupInstanceCustomImpl.cpp
>>>               GroupInstanceCustomImpl.cpp.o:(void rtc::FunctionView<void ()>::CallVoidPtr<tgcalls::(anonymous namespace)::IncomingAudioChannel::IncomingAudioChannel(tgcalls::ChannelManager*, webrtc::Call*, webrtc::RtpTransport*, rtc::UniqueRandomIdGenerator*, bool, tgcalls::(anonymous namespace)::ChannelId, std::__1::function<void (tgcalls::(anonymous namespace)::AudioSinkImpl::Update)>&&, std::__1::function<void (unsigned int, tgcalls::AudioFrame const&)>, std::__1::shared_ptr<tgcalls::Threads>)::'lambda'()>(rtc::FunctionView<void ()>::VoidUnion)) in archive Telegram/liblib_tgcalls.a
>>> referenced by GroupInstanceCustomImpl.cpp
>>>               GroupInstanceCustomImpl.cpp.o:(void rtc::FunctionView<void ()>::CallVoidPtr<tgcalls::(anonymous namespace)::IncomingAudioChannel::IncomingAudioChannel(tgcalls::ChannelManager*, webrtc::Call*, webrtc::RtpTransport*, rtc::UniqueRandomIdGenerator*, bool, tgcalls::(anonymous namespace)::ChannelId, std::__1::function<void (tgcalls::(anonymous namespace)::AudioSinkImpl::Update)>&&, std::__1::function<void (unsigned int, tgcalls::AudioFrame const&)>, std::__1::shared_ptr<tgcalls::Threads>)::'lambda'()>(rtc::FunctionView<void ()>::VoidUnion)) in archive Telegram/liblib_tgcalls.a
>>> referenced by ContentNegotiation.cpp
>>>               ContentNegotiation.cpp.o:(tgcalls::(anonymous namespace)::convertSingalingContentToContentInfo(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, tgcalls::signaling::MediaContent const&, webrtc::RtpTransceiverDirection)) in archive Telegram/liblib_tgcalls.a
>>> referenced 4 more times

ld.lld: error: undefined symbol: cricket::Codec::SetParam(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int)
>>> referenced by GroupInstanceCustomImpl.cpp
>>>               GroupInstanceCustomImpl.cpp.o:(void rtc::FunctionView<void ()>::CallVoidPtr<tgcalls::(anonymous namespace)::IncomingAudioChannel::IncomingAudioChannel(tgcalls::ChannelManager*, webrtc::Call*, webrtc::RtpTransport*, rtc::UniqueRandomIdGenerator*, bool, tgcalls::(anonymous namespace)::ChannelId, std::__1::function<void (tgcalls::(anonymous namespace)::AudioSinkImpl::Update)>&&, std::__1::function<void (unsigned int, tgcalls::AudioFrame const&)>, std::__1::shared_ptr<tgcalls::Threads>)::'lambda'()>(rtc::FunctionView<void ()>::VoidUnion)) in archive Telegram/liblib_tgcalls.a
>>> referenced by GroupInstanceCustomImpl.cpp
>>>               GroupInstanceCustomImpl.cpp.o:(void rtc::FunctionView<void ()>::CallVoidPtr<tgcalls::(anonymous namespace)::IncomingAudioChannel::IncomingAudioChannel(tgcalls::ChannelManager*, webrtc::Call*, webrtc::RtpTransport*, rtc::UniqueRandomIdGenerator*, bool, tgcalls::(anonymous namespace)::ChannelId, std::__1::function<void (tgcalls::(anonymous namespace)::AudioSinkImpl::Update)>&&, std::__1::function<void (unsigned int, tgcalls::AudioFrame const&)>, std::__1::shared_ptr<tgcalls::Threads>)::'lambda'()>(rtc::FunctionView<void ()>::VoidUnion)) in archive Telegram/liblib_tgcalls.a
>>> referenced by GroupInstanceCustomImpl.cpp
>>>               GroupInstanceCustomImpl.cpp.o:(tgcalls::GroupInstanceCustomInternal::createOutgoingAudioChannel()) in archive Telegram/liblib_tgcalls.a
>>> referenced 14 more times

ld.lld: error: undefined symbol: webrtc::RtpExtension::RtpExtension(std::__1::basic_string_view<char, std::__1::char_traits<char>>, int)
>>> referenced by GroupInstanceCustomImpl.cpp
>>>               GroupInstanceCustomImpl.cpp.o:(void rtc::FunctionView<void ()>::CallVoidPtr<tgcalls::(anonymous namespace)::IncomingAudioChannel::IncomingAudioChannel(tgcalls::ChannelManager*, webrtc::Call*, webrtc::RtpTransport*, rtc::UniqueRandomIdGenerator*, bool, tgcalls::(anonymous namespace)::ChannelId, std::__1::function<void (tgcalls::(anonymous namespace)::AudioSinkImpl::Update)>&&, std::__1::function<void (unsigned int, tgcalls::AudioFrame const&)>, std::__1::shared_ptr<tgcalls::Threads>)::'lambda'()>(rtc::FunctionView<void ()>::VoidUnion)) in archive Telegram/liblib_tgcalls.a
>>> referenced by GroupInstanceCustomImpl.cpp
>>>               GroupInstanceCustomImpl.cpp.o:(void rtc::FunctionView<void ()>::CallVoidPtr<tgcalls::(anonymous namespace)::IncomingAudioChannel::IncomingAudioChannel(tgcalls::ChannelManager*, webrtc::Call*, webrtc::RtpTransport*, rtc::UniqueRandomIdGenerator*, bool, tgcalls::(anonymous namespace)::ChannelId, std::__1::function<void (tgcalls::(anonymous namespace)::AudioSinkImpl::Update)>&&, std::__1::function<void (unsigned int, tgcalls::AudioFrame const&)>, std::__1::shared_ptr<tgcalls::Threads>)::'lambda'()>(rtc::FunctionView<void ()>::VoidUnion)) in archive Telegram/liblib_tgcalls.a
>>> referenced by GroupInstanceCustomImpl.cpp
>>>               GroupInstanceCustomImpl.cpp.o:(void rtc::FunctionView<void ()>::CallVoidPtr<tgcalls::(anonymous namespace)::IncomingAudioChannel::IncomingAudioChannel(tgcalls::ChannelManager*, webrtc::Call*, webrtc::RtpTransport*, rtc::UniqueRandomIdGenerator*, bool, tgcalls::(anonymous namespace)::ChannelId, std::__1::function<void (tgcalls::(anonymous namespace)::AudioSinkImpl::Update)>&&, std::__1::function<void (unsigned int, tgcalls::AudioFrame const&)>, std::__1::shared_ptr<tgcalls::Threads>)::'lambda'()>(rtc::FunctionView<void ()>::VoidUnion)) in archive Telegram/liblib_tgcalls.a
>>> referenced 36 more times

ld.lld: error: undefined symbol: cricket::StreamParams::set_stream_ids(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>> const&)
>>> referenced by GroupInstanceCustomImpl.cpp
>>>               GroupInstanceCustomImpl.cpp.o:(void rtc::FunctionView<void ()>::CallVoidPtr<tgcalls::(anonymous namespace)::IncomingAudioChannel::IncomingAudioChannel(tgcalls::ChannelManager*, webrtc::Call*, webrtc::RtpTransport*, rtc::UniqueRandomIdGenerator*, bool, tgcalls::(anonymous namespace)::ChannelId, std::__1::function<void (tgcalls::(anonymous namespace)::AudioSinkImpl::Update)>&&, std::__1::function<void (unsigned int, tgcalls::AudioFrame const&)>, std::__1::shared_ptr<tgcalls::Threads>)::'lambda'()>(rtc::FunctionView<void ()>::VoidUnion)) in archive Telegram/liblib_tgcalls.a
>>> referenced by GroupInstanceCustomImpl.cpp
>>>               GroupInstanceCustomImpl.cpp.o:(void rtc::FunctionView<void ()>::CallVoidPtr<tgcalls::(anonymous namespace)::IncomingVideoChannel::IncomingVideoChannel(tgcalls::ChannelManager*, webrtc::Call*, webrtc::RtpTransport*, rtc::UniqueRandomIdGenerator*, std::__1::vector<webrtc::SdpVideoFormat, std::__1::allocator<webrtc::SdpVideoFormat>> const&, tgcalls::GroupJoinVideoInformation, unsigned int, tgcalls::VideoChannelDescription::Quality, tgcalls::VideoChannelDescription::Quality, tgcalls::GroupParticipantVideoInformation const&, std::__1::shared_ptr<tgcalls::Threads>)::'lambda'()>(rtc::FunctionView<void ()>::VoidUnion)) in archive Telegram/liblib_tgcalls.a
>>> referenced by ContentNegotiation.cpp
>>>               ContentNegotiation.cpp.o:(tgcalls::(anonymous namespace)::convertSingalingContentToContentInfo(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, tgcalls::signaling::MediaContent const&, webrtc::RtpTransceiverDirection)) in archive Telegram/liblib_tgcalls.a
>>> referenced 4 more times

ld.lld: error: undefined symbol: cricket::SsrcGroup::SsrcGroup(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::vector<unsigned int, std::__1::allocator<unsigned int>> const&)
>>> referenced by GroupInstanceCustomImpl.cpp
>>>               GroupInstanceCustomImpl.cpp.o:(void rtc::FunctionView<void ()>::CallVoidPtr<tgcalls::(anonymous namespace)::IncomingVideoChannel::IncomingVideoChannel(tgcalls::ChannelManager*, webrtc::Call*, webrtc::RtpTransport*, rtc::UniqueRandomIdGenerator*, std::__1::vector<webrtc::SdpVideoFormat, std::__1::allocator<webrtc::SdpVideoFormat>> const&, tgcalls::GroupJoinVideoInformation, unsigned int, tgcalls::VideoChannelDescription::Quality, tgcalls::VideoChannelDescription::Quality, tgcalls::GroupParticipantVideoInformation const&, std::__1::shared_ptr<tgcalls::Threads>)::'lambda'()>(rtc::FunctionView<void ()>::VoidUnion)) in archive Telegram/liblib_tgcalls.a
>>> referenced by GroupInstanceCustomImpl.cpp
>>>               GroupInstanceCustomImpl.cpp.o:(tgcalls::GroupInstanceCustomInternal::generateSsrcs()) in archive Telegram/liblib_tgcalls.a
>>> referenced by GroupInstanceCustomImpl.cpp
>>>               GroupInstanceCustomImpl.cpp.o:(tgcalls::GroupInstanceCustomInternal::generateSsrcs()) in archive Telegram/liblib_tgcalls.a
>>> referenced 8 more times

ld.lld: error: undefined symbol: cricket::TurnPort::SetTurnLoggingId(std::__1::basic_string_view<char, std::__1::char_traits<char>>)
>>> referenced by ReflectorRelayPortFactory.cpp
>>>               ReflectorRelayPortFactory.cpp.o:(tgcalls::ReflectorRelayPortFactory::Create(cricket::CreateRelayPortArgs const&, rtc::AsyncPacketSocket*)) in archive Telegram/liblib_tgcalls.a
>>> referenced by ReflectorRelayPortFactory.cpp
>>>               ReflectorRelayPortFactory.cpp.o:(tgcalls::ReflectorRelayPortFactory::Create(cricket::CreateRelayPortArgs const&, int, int)) in archive Telegram/liblib_tgcalls.a

ld.lld: error: undefined symbol: rtc::SocketAddress::SocketAddress(std::__1::basic_string_view<char, std::__1::char_traits<char>>, int)
>>> referenced by ReflectorRelayPortFactory.cpp
>>>               ReflectorRelayPortFactory.cpp.o:(tgcalls::ReflectorRelayPortFactory::Create(cricket::CreateRelayPortArgs const&, rtc::AsyncPacketSocket*)) in archive Telegram/liblib_tgcalls.a
>>> referenced by ReflectorRelayPortFactory.cpp
>>>               ReflectorRelayPortFactory.cpp.o:(tgcalls::ReflectorRelayPortFactory::Create(cricket::CreateRelayPortArgs const&, int, int)) in archive Telegram/liblib_tgcalls.a
>>> referenced by ReflectorPort.cpp
>>>               ReflectorPort.cpp.o:(tgcalls::ReflectorPort::HandleIncomingPacket(rtc::AsyncPacketSocket*, rtc::ReceivedPacket const&)) in archive Telegram/liblib_tgcalls.a
>>> referenced 8 more times

ld.lld: error: undefined symbol: cricket::Port::Port(webrtc::TaskQueueBase*, std::__1::basic_string_view<char, std::__1::char_traits<char>>, rtc::PacketSocketFactory*, rtc::Network const*, std::__1::basic_string_view<char, std::__1::char_traits<char>>, std::__1::basic_string_view<char, std::__1::char_traits<char>>, webrtc::FieldTrialsView const*)
>>> referenced by ReflectorPort.cpp
>>>               ReflectorPort.cpp.o:(tgcalls::ReflectorPort::ReflectorPort(cricket::CreateRelayPortArgs const&, rtc::AsyncPacketSocket*, unsigned char, int, bool, unsigned int)) in archive Telegram/liblib_tgcalls.a

ld.lld: error: undefined symbol: cricket::TurnPort::TurnPort(webrtc::TaskQueueBase*, rtc::PacketSocketFactory*, rtc::Network const*, rtc::AsyncPacketSocket*, std::__1::basic_string_view<char, std::__1::char_traits<char>>, std::__1::basic_string_view<char, std::__1::char_traits<char>>, cricket::ProtocolAddress const&, cricket::RelayCredentials const&, int, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>> const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>> const&, webrtc::TurnCustomizer*, rtc::SSLCertificateVerifier*, webrtc::FieldTrialsView const*)
>>> referenced by ReflectorRelayPortFactory.cpp
>>>               ReflectorRelayPortFactory.cpp.o:(cricket::TurnPort::Create(cricket::CreateRelayPortArgs const&, rtc::AsyncPacketSocket*)) in archive Telegram/liblib_tgcalls.a

ld.lld: error: undefined symbol: cricket::TurnPort::TurnPort(webrtc::TaskQueueBase*, rtc::PacketSocketFactory*, rtc::Network const*, unsigned short, unsigned short, std::__1::basic_string_view<char, std::__1::char_traits<char>>, std::__1::basic_string_view<char, std::__1::char_traits<char>>, cricket::ProtocolAddress const&, cricket::RelayCredentials const&, int, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>> const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>> const&, webrtc::TurnCustomizer*, rtc::SSLCertificateVerifier*, webrtc::FieldTrialsView const*)
>>> referenced by ReflectorRelayPortFactory.cpp
>>>               ReflectorRelayPortFactory.cpp.o:(cricket::TurnPort::Create(cricket::CreateRelayPortArgs const&, int, int)) in archive Telegram/liblib_tgcalls.a

ld.lld: error: undefined symbol: cricket::Port::Port(webrtc::TaskQueueBase*, std::__1::basic_string_view<char, std::__1::char_traits<char>>, rtc::PacketSocketFactory*, rtc::Network const*, unsigned short, unsigned short, std::__1::basic_string_view<char, std::__1::char_traits<char>>, std::__1::basic_string_view<char, std::__1::char_traits<char>>, webrtc::FieldTrialsView const*)
>>> referenced by ReflectorPort.cpp
>>>               ReflectorPort.cpp.o:(tgcalls::ReflectorPort::ReflectorPort(cricket::CreateRelayPortArgs const&, unsigned short, unsigned short, unsigned char, int, bool, unsigned int)) in archive Telegram/liblib_tgcalls.a

ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

Operating system

Linux / Gentoo / KDE / x86_64

Version of Telegram Desktop

5.10.0

Installation source

Other (unofficial) source

Crash ID

No response

Logs

build.log

@RinCat RinCat added the bug label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant