Closed foxcpp closed 6 years ago
Originally was reported downstream.
[ 95%] Linking CXX executable Kepka CMakeFiles/Kepka.dir/SourceFiles/history/history.cpp.o: In function `History::updateSendActionNeedsAnimating(long long, bool)': history.cpp:(.text+0x764f): undefined reference to `lang(LangKey)' history.cpp:(.text+0x7776): undefined reference to `lang(LangKey)' history.cpp:(.text+0x7a1a): undefined reference to `lang(LangKey)' history.cpp:(.text+0x7a55): undefined reference to `lang(LangKey)' history.cpp:(.text+0x7b06): undefined reference to `lang(LangKey)' CMakeFiles/Kepka.dir/SourceFiles/history/history.cpp.o:history.cpp:(.text+0x7b61): more undefined references to `lang(LangKey)' follow CMakeFiles/Kepka.dir/SourceFiles/platform/linux/linux_libs.cpp.o: In function `Platform::Libs::start()': linux_libs.cpp:(.text+0x17): undefined reference to `cDebug()' collect2: error: ld returned 1 exit status make[2]: *** [Telegram/CMakeFiles/Kepka.dir/build.make:4690: Telegram/Kepka] Error 1 make[1]: *** [CMakeFiles/Makefile2:1687: Telegram/CMakeFiles/Kepka.dir/all] Error 2 make: *** [Makefile:95: all] Error 2
Looks like this problem is present only when building in release mode.
Originally was reported downstream.
Looks like this problem is present only when building in release mode.