Jump to content
Phishing - Beware of identity theft... ×
  • 0

db compileing


MrLibya

Question

  • Premium

Hallo , :D

 

linking ...
/usr/bin/ld: skipping incompatible ../../libsql/libsql.a when searching for -lsql
/usr/bin/ld: skipping incompatible /usr/lib/libsql.a when searching for -lsql
/usr/bin/ld: skipping incompatible /usr/lib/libsql.a when searching for -lsql
/usr/bin/ld: skipping incompatible /usr/lib/libsql.a when searching for -lsql
/usr/bin/ld: cannot find -lsql
Makefile:54: recipe for target '../db_r40146' failed
gmake: *** [../db_r40146] Error 1
 

 

If you're going to do something, then do it right.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0
  • Premium

Are you sure libsql has lib file?

 

Kind Regards

Zerelth ~ Ellie

 

Yes ( I Compile Game Normal )

recompile libsql.a

Now Get This :

linking ...
.obj/DBManager.o: In function `CDBManager::EscapeString(void*, void const*, unsigned long, int)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/DBManager.cpp:163: undefined reference to `mysql_real_escape_string'
.obj/ClientManager.o: In function `CClientManager::RESULT_PRICELIST_LOAD_FOR_UPDATE(_SQLMsg*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManager.cpp:965: undefined reference to `mysql_fetch_row'
.obj/ClientManager.o: In function `CClientManager::RESULT_PRICELIST_LOAD(CPeer*, _SQLMsg*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManager.cpp:922: undefined reference to `mysql_fetch_row'
.obj/ClientManager.o: In function `CClientManager::RESULT_SAFEBOX_CHANGE_PASSWORD(CPeer*, _SQLMsg*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManager.cpp:874: undefined reference to `mysql_fetch_row'
.obj/ClientManager.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ClientManager.o: In function `CClientManager::BlockChat(TPacketBlockChat*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManager.cpp:2103: undefined reference to `mysql_fetch_row'
.obj/ClientManager.o: In function `CClientManager::ChangeMonarchLord(CPeer*, unsigned int, tChangeMonarchLord*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManager.cpp:4199: undefined reference to `mysql_fetch_row'
.obj/ClientManager.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ClientManager.o: In function `CClientManager::__GetAdminInfo(char const*, std::vector<TAdminInfo, std::allocator<TAdminInfo> >&)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManager.cpp:3727: undefined reference to `mysql_fetch_row'
.obj/ClientManager.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ClientManager.o: In function `CClientManager::__GetHostInfo(std::vector<std::string, std::allocator<std::string> >&)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManager.cpp:3780: undefined reference to `mysql_fetch_row'
.obj/ClientManager.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ClientManager.o: In function `CClientManager::InitializeLocalization()':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManager.cpp:3330: undefined reference to `mysql_fetch_row'
.obj/ClientManager.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ClientManager.o: In function `CClientManager::RESULT_SAFEBOX_LOAD(CPeer*, _SQLMsg*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManager.cpp:534: undefined reference to `mysql_fetch_row'
.obj/ClientManager.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ClientManager.o:/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: more undefined references to `mysql_free_result' follow
.obj/ClientManager.o: In function `CClientManager::QUERY_EMPIRE_SELECT(CPeer*, unsigned int, SEmpireSelectPacket*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManager.cpp:1012: undefined reference to `mysql_fetch_row'
.obj/ClientManager.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ClientManagerPlayer.o: In function `CClientManager::RESULT_QUEST_LOAD(CPeer*, st_mysql_res*, unsigned int, unsigned int)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerPlayer.cpp:742: undefined reference to `mysql_num_rows'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerPlayer.cpp:759: undefined reference to `mysql_fetch_row'
.obj/ClientManagerPlayer.o: In function `CClientManager::RESULT_AFFECT_LOAD(CPeer*, st_mysql_res*, unsigned int)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerPlayer.cpp:702: undefined reference to `mysql_num_rows'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerPlayer.cpp:715: undefined reference to `mysql_fetch_row'
.obj/ClientManagerPlayer.o: In function `CreateItemTableFromRes(st_mysql_res*, std::vector<SPlayerItem, std::allocator<SPlayerItem> >*, unsigned int)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerPlayer.cpp:35: undefined reference to `mysql_num_rows'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerPlayer.cpp:45: undefined reference to `mysql_fetch_row'
.obj/ClientManagerPlayer.o: In function `CreatePlayerTableFromRes(st_mysql_res*, SPlayerTable*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerPlayer.cpp:447: undefined reference to `mysql_num_rows'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerPlayer.cpp:452: undefined reference to `mysql_fetch_row'
.obj/ClientManagerPlayer.o: In function `CClientManager::RESULT_HIGHSCORE_REGISTER(CPeer*, _SQLMsg*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerPlayer.cpp:1258: undefined reference to `mysql_fetch_row'
.obj/ClientManagerPlayer.o: In function `CClientManager::__RESULT_PLAYER_DELETE(CPeer*, _SQLMsg*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerPlayer.cpp:1039: undefined reference to `mysql_fetch_row'
.obj/ClientManagerPlayer.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ClientManagerPlayer.o:/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: more undefined references to `mysql_free_result' follow
.obj/ClientManagerPlayer.o: In function `CClientManager::__QUERY_PLAYER_CREATE(CPeer*, unsigned int, SPlayerCreatePacket*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerPlayer.cpp:826: undefined reference to `mysql_fetch_row'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerPlayer.cpp:860: undefined reference to `mysql_fetch_row'
.obj/ClientManagerPlayer.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ClientManagerPlayer.o:/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: more undefined references to `mysql_free_result' follow
.obj/ClientManagerLogin.o: In function `CreateAccountTableFromRes(st_mysql_res*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerLogin.cpp:246: undefined reference to `mysql_fetch_row'
.obj/ClientManagerLogin.o: In function `CreateAccountPlayerDataFromRes(st_mysql_res*, SAccountTable*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerLogin.cpp:279: undefined reference to `mysql_num_rows'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerLogin.cpp:281: undefined reference to `mysql_fetch_row'
.obj/ClientManagerLogin.o: In function `CClientManager::RESULT_LOGIN_BY_KEY(CPeer*, _SQLMsg*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerLogin.cpp:200: undefined reference to `mysql_fetch_row'
.obj/ClientManagerLogin.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ClientManagerLogin.o: In function `CClientManager::QUERY_CHANGE_NAME(CPeer*, unsigned int, SPacketGDChangeName*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerLogin.cpp:519: undefined reference to `mysql_fetch_row'
.obj/ClientManagerLogin.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ClientManagerBoot.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ClientManagerBoot.o: In function `CClientManager::InitializeBanwordTable()':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerBoot.cpp:953: undefined reference to `mysql_fetch_row'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerBoot.cpp:953: undefined reference to `mysql_fetch_row'
.obj/ClientManagerBoot.o: In function `CClientManager::InitializeRefineTable()':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerBoot.cpp:133: undefined reference to `mysql_fetch_row'
.obj/ClientManagerBoot.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ClientManagerBoot.o: In function `CClientManager::InitializeSkillTable()':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerBoot.cpp:883: undefined reference to `mysql_fetch_row'
.obj/ClientManagerBoot.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ClientManagerBoot.o: In function `CClientManager::InitializeQuestItemTable()':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerBoot.cpp:538: undefined reference to `mysql_fetch_row'
.obj/ClientManagerBoot.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ClientManagerBoot.o: In function `CClientManager::InitializeShopTable()':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerBoot.cpp:470: undefined reference to `mysql_fetch_row'
.obj/ClientManagerBoot.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ClientManagerBoot.o: In function `CClientManager::InitializeObjectTable()':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerBoot.cpp:1311: undefined reference to `mysql_fetch_row'
.obj/ClientManagerBoot.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ClientManagerBoot.o: In function `CClientManager::InitializeObjectProto()':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerBoot.cpp:1244: undefined reference to `mysql_fetch_row'
.obj/ClientManagerBoot.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ClientManagerBoot.o: In function `CClientManager::InitializeLandTable()':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerBoot.cpp:1141: undefined reference to `mysql_fetch_row'
.obj/ClientManagerBoot.o: In function `CClientManager::InitializeItemRareTable()':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerBoot.cpp:1068: undefined reference to `mysql_fetch_row'
.obj/ClientManagerBoot.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ClientManagerBoot.o: In function `CClientManager::InitializeItemAttrTable()':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerBoot.cpp:994: undefined reference to `mysql_fetch_row'
.obj/ClientManagerBoot.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ClientManagerGuild.o: In function `CClientManager::GuildAddMember(CPeer*, SPacketGDGuildAddMember*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerGuild.cpp:49: undefined reference to `mysql_fetch_row'
.obj/ClientManagerGuild.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/GuildManager.o: In function `CGuildManager::ResultRanking(st_mysql_res*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/GuildManager.cpp:229: undefined reference to `mysql_fetch_row'
.obj/GuildManager.o: In function `CGuildManager::ParseResult(_SQLResult*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/GuildManager.cpp:134: undefined reference to `mysql_fetch_row'
.obj/GuildManager.o: In function `GetGuildMemberCount(unsigned int)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/GuildManager.cpp:983: undefined reference to `mysql_fetch_row'
.obj/GuildManager.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/GuildManager.o:/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: more undefined references to `mysql_free_result' follow
.obj/GuildManager.o: In function `GetAverageGuildMemberLevel(unsigned int)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/GuildManager.cpp:968: undefined reference to `mysql_fetch_row'
.obj/GuildManager.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/GuildManager.o: In function `CGuildWarReserve::Initialize()':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/GuildManager.cpp:1228: undefined reference to `mysql_fetch_row'
.obj/GuildManager.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/GuildManager.o: In function `CGuildManager::BootReserveWar()':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/GuildManager.cpp:911: undefined reference to `mysql_fetch_row'
.obj/GuildManager.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/HB.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/HB.o: In function `PlayerHB::Initialize()':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/HB.cpp:27: undefined reference to `mysql_fetch_row'
.obj/ItemAwardManager.o: In function `ItemAwardManager::Load(_SQLMsg*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ItemAwardManager.cpp:33: undefined reference to `mysql_fetch_row'
.obj/ClientManagerEventFlag.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ClientManagerEventFlag.o: In function `CClientManager::LoadEventFlag()':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerEventFlag.cpp:19: undefined reference to `mysql_fetch_row'
.obj/Marriage.o: In function `marriage::CManager::Initialize()':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/Marriage.cpp:53: undefined reference to `mysql_fetch_row'
.obj/Marriage.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/Marriage.o:/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: more undefined references to `mysql_free_result' follow
.obj/Monarch.o: In function `CMonarch::SetMonarch(char const*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/Monarch.cpp:224: undefined reference to `mysql_fetch_row'
.obj/Monarch.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/Monarch.o: In function `CMonarch::LoadMonarch()':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/Monarch.cpp:189: undefined reference to `mysql_fetch_row'
.obj/Monarch.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/BlockCountry.o: In function `CBlockCountry::Load()':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/BlockCountry.cpp:59: undefined reference to `mysql_fetch_row'
.obj/BlockCountry.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/BlockCountry.o: In function `CBlockCountry::Load()':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/BlockCountry.cpp:88: undefined reference to `mysql_fetch_row'
.obj/BlockCountry.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ItemIDRangeManager.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ItemIDRangeManager.o: In function `CItemIDRangeManager::BuildRange(unsigned int, unsigned int, tItemIDRange&)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ItemIDRangeManager.cpp:102: undefined reference to `mysql_fetch_row'
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ItemIDRangeManager.cpp:134: undefined reference to `mysql_fetch_row'
.obj/ItemIDRangeManager.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ClientManagerHorseName.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
.obj/ClientManagerHorseName.o: In function `CClientManager::AckHorseName(unsigned int, CPeer*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/ClientManagerHorseName.cpp:33: undefined reference to `mysql_fetch_row'
.obj/ClientManagerHorseName.o: In function `~_SQLResult':
/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src/../../libsql/AsyncSQL.h:30: undefined reference to `mysql_free_result'
../../libsql/libsql.a(AsyncSQL.o): In function `CAsyncSQL::EscapeString(char*, unsigned long, char const*, unsigned long)':
AsyncSQL.cpp:(.text+0x208): undefined reference to `mysql_real_escape_string'
../../libsql/libsql.a(AsyncSQL.o): In function `CAsyncSQL::Connect()':
AsyncSQL.cpp:(.text+0x3d1): undefined reference to `mysql_init'
AsyncSQL.cpp:(.text+0x428): undefined reference to `mysql_real_connect'
AsyncSQL.cpp:(.text+0x448): undefined reference to `mysql_options'
AsyncSQL.cpp:(.text+0x479): undefined reference to `mysql_thread_id'
AsyncSQL.cpp:(.text+0x4a0): undefined reference to `mysql_options'
AsyncSQL.cpp:(.text+0x4b0): undefined reference to `mysql_error'
AsyncSQL.cpp:(.text+0x4d4): undefined reference to `mysql_error'
AsyncSQL.cpp:(.text+0x4f7): undefined reference to `mysql_error'
../../libsql/libsql.a(AsyncSQL.o): In function `CAsyncSQL::QueryLocaleSet()':
AsyncSQL.cpp:(.text+0x5d1): undefined reference to `mysql_set_character_set'
AsyncSQL.cpp:(.text+0x5dd): undefined reference to `mysql_error'
AsyncSQL.cpp:(.text+0x5e8): undefined reference to `mysql_errno'
../../libsql/libsql.a(AsyncSQL.o): In function `CAsyncSQL::Destroy()':
AsyncSQL.cpp:(.text+0x681): undefined reference to `mysql_close'
../../libsql/libsql.a(AsyncSQL.o): In function `CAsyncSQL::DirectQuery(char const*)':
AsyncSQL.cpp:(.text+0xb54): undefined reference to `mysql_thread_id'
AsyncSQL.cpp:(.text+0xb83): undefined reference to `mysql_thread_id'
AsyncSQL.cpp:(.text+0xc19): undefined reference to `mysql_real_query'
AsyncSQL.cpp:(.text+0xc34): undefined reference to `mysql_num_rows'
AsyncSQL.cpp:(.text+0xc63): undefined reference to `mysql_next_result'
AsyncSQL.cpp:(.text+0xca5): undefined reference to `mysql_store_result'
AsyncSQL.cpp:(.text+0xcb9): undefined reference to `mysql_insert_id'
AsyncSQL.cpp:(.text+0xccd): undefined reference to `mysql_affected_rows'
AsyncSQL.cpp:(.text+0xd0d): undefined reference to `mysql_next_result'
AsyncSQL.cpp:(.text+0xd3b): undefined reference to `mysql_error'
AsyncSQL.cpp:(.text+0xd71): undefined reference to `mysql_errno'
../../libsql/libsql.a(AsyncSQL.o): In function `CAsyncSQL::ChildLoop()':
AsyncSQL.cpp:(.text+0x2b4a): undefined reference to `mysql_thread_id'
AsyncSQL.cpp:(.text+0x2b82): undefined reference to `mysql_thread_id'
AsyncSQL.cpp:(.text+0x2ba3): undefined reference to `mysql_real_query'
AsyncSQL.cpp:(.text+0x2bbd): undefined reference to `mysql_errno'
AsyncSQL.cpp:(.text+0x2bd9): undefined reference to `mysql_error'
AsyncSQL.cpp:(.text+0x2cf2): undefined reference to `mysql_free_result'
AsyncSQL.cpp:(.text+0x2d91): undefined reference to `mysql_num_rows'
AsyncSQL.cpp:(.text+0x2dc0): undefined reference to `mysql_next_result'
AsyncSQL.cpp:(.text+0x2dff): undefined reference to `mysql_store_result'
AsyncSQL.cpp:(.text+0x2e10): undefined reference to `mysql_insert_id'
AsyncSQL.cpp:(.text+0x2e21): undefined reference to `mysql_affected_rows'
AsyncSQL.cpp:(.text+0x2e60): undefined reference to `mysql_next_result'
AsyncSQL.cpp:(.text+0x2ee0): undefined reference to `mysql_thread_id'
AsyncSQL.cpp:(.text+0x2f10): undefined reference to `mysql_thread_id'
AsyncSQL.cpp:(.text+0x2f2c): undefined reference to `mysql_real_query'
AsyncSQL.cpp:(.text+0x2f41): undefined reference to `mysql_errno'
AsyncSQL.cpp:(.text+0x2f55): undefined reference to `mysql_error'
AsyncSQL.cpp:(.text+0x3012): undefined reference to `mysql_free_result'
AsyncSQL.cpp:(.text+0x30a7): undefined reference to `mysql_num_rows'
AsyncSQL.cpp:(.text+0x30d6): undefined reference to `mysql_next_result'
AsyncSQL.cpp:(.text+0x3115): undefined reference to `mysql_store_result'
AsyncSQL.cpp:(.text+0x3126): undefined reference to `mysql_insert_id'
AsyncSQL.cpp:(.text+0x3137): undefined reference to `mysql_affected_rows'
AsyncSQL.cpp:(.text+0x3176): undefined reference to `mysql_next_result'
Makefile:54: recipe for target '../db_r40146' failed
gmake: *** [../db_r40146] Error 1
 

If you're going to do something, then do it right.

Link to comment
Share on other sites

  • 0

 

cd /usr/src/mainline_released/mainline_sg/Srcs/Server/libsql && gmake clean && gmake

Recompile db

 

 

same

https://metin2.download/picture/5IGzZFwP7wen1zpsDL7eut4J1JC28uYe/.png

 

I think I know what the problem is, you have not done addiction. use this command:

cd /usr/src/mainline_released/mainline_sg/Srcs/Server/libsql && gmake clean
cd /usr/src/mainline_released/mainline_sg/Srcs/Server/libsql && gmake dep
cd /usr/src/mainline_released/mainline_sg/Srcs/Server/libsql && gmake gmake
Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.