root@metin2:/usr/metin2/src/db/src # gmake
linking ../db....
ld: error: undefined symbol: CClientManager::UpdateWeatherInfo()
>>> referenced by ClientManager.cpp:3141
>>> .obj/ClientManager.o:(CClientManager::Process())
clang-14: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile:54: ../db] Error 1
Code
- if (!(thecore_heart->pulse % (thecore_heart->passes_per_sec * 3600))) // 한시간에 한번
- {
- CMoneyLog::instance().Save();
- }
- }
- #if defined(__BL_WEATHER_INFO__)
- static bool OnSetup = true;
- if (!(thecore_heart->pulse % (thecore_heart->passes_per_sec * 60 * 20)) || OnSetup)
- {
- UpdateWeatherInfo();
- OnSetup = false;
- }
- #endif
Find den Fehler nicht...