td icon indicating copy to clipboard operation
td copied to clipboard

error: undefined symbol: void td::FormattedText::store<td::log_event::LogEventStorerCalcLength>(td::log_event::LogEventStorerCalcLength&) const

Open yurivict opened this issue 2 months ago • 4 comments

Build fails:

ld: error: undefined symbol: void td::FormattedText::store<td::log_event::LogEventStorerCalcLength>(td::log_event::LogEventStorerCalcLength&) const
>>> referenced by UserManager.cpp
>>>               UserManager.cpp.o:(void td::UserManager::UserFull::store<td::log_event::LogEventStorerCalcLength>(td::log_event::LogEventStorerCalcLength&) const) in archive libtdcore.a

ld: error: undefined symbol: void td::FormattedText::store<td::log_event::LogEventStorerUnsafe>(td::log_event::LogEventStorerUnsafe&) const
>>> referenced by UserManager.cpp
>>>               UserManager.cpp.o:(void td::UserManager::UserFull::store<td::log_event::LogEventStorerUnsafe>(td::log_event::LogEventStorerUnsafe&) const) in archive libtdcore.a

ld: error: undefined symbol: void td::FormattedText::parse<td::log_event::LogEventParser>(td::log_event::LogEventParser&)
>>> referenced by UserManager.cpp
>>>               UserManager.cpp.o:(void td::UserManager::UserFull::parse<td::log_event::LogEventParser>(td::log_event::LogEventParser&)) in archive libtdcore.a

Version: 1.8.56 (rev. 8fbaf8441a79214bd00a1f19ab0bbcc91cd04e52) clang-19 FreeBSD 15 STABLE

yurivict avatar Nov 17 '25 05:11 yurivict

This is fixed in the master version.

levlam avatar Nov 17 '25 10:11 levlam

In what commit was this fixed?

mid-kid avatar Nov 20 '25 11:11 mid-kid

ah it was this one https://github.com/tdlib/td/commit/8365a6ed818bc20502f109750503a01f7115dcaf

mid-kid avatar Nov 20 '25 11:11 mid-kid

@mid-kid https://github.com/tdlib/td/commit/4f4df7c6436085391e0b6d74cc7a54cf274c7edf is also required.

levlam avatar Nov 20 '25 11:11 levlam