Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Nie tworzy się DB kompilacja POMOCY


Rekomendowane odpowiedzi

Opublikowano

Błąd : gmake: *** [Makefile:52: ../db_v1.0] Error 1

 
Ogólnie dodawałem dużo różnych rzeczy  i wszystko działa ale teraz chciałem dodać 250 lvl i zmieniałem w pliku length i constants i po dodaniu tego wszystkie nie tworzy się db ...
Opublikowano

A masz logi z kompilacji może? Albo w sumie masz tutaj tak jak być powinno

 

length.h

 PLAYER_EXP_TABLE_MAX = 250,
 PLAYER_MAX_LEVEL_CONST = 250,

constants.cpp

http://wklej.to/RdiUY

ps Tablica od 99 do 250 wygląda tak samo, więc jak coś to sobie pozmieniasz :D

 

@Edit

yyyy w sumie to te 2 pliki nie mają nic wspólnego z db więc chyba błąd jest gdzieś indziej.

Opublikowano

A masz logi z kompilacji może? Albo w sumie masz tutaj tak jak być powinno

 

length.h

 PLAYER_EXP_TABLE_MAX = 250,
 PLAYER_MAX_LEVEL_CONST = 250,

constants.cpp

http://wklej.to/RdiUY

ps Tablica od 99 do 250 wygląda tak samo, więc jak coś to sobie pozmieniasz :D

Nie pomogło to gdzieś indziej tkwi problem chyba ..

Opublikowano
In file included from ClientManagerGuild.cpp:8:

GuildManager.h: In member function 'bool TGuildDeclareInfo::operator<(const TGuildDeclareInfo&) const':

GuildManager.h:32: warning: suggest parentheses around && within ||

GuildManager.h: In member function 'bool TGuildWaitStartInfo::operator<(const TGuildWaitStartInfo&) const':

GuildManager.h:66: warning: suggest parentheses around && within ||

GuildManager.h: In function 'bool operator<(const TGuildSkillUsed&, const TGuildSkillUsed&)':

GuildManager.h:102: warning: suggest parentheses around && within ||

In file included from GuildManager.cpp:2:

GuildManager.h: In member function 'bool TGuildDeclareInfo::operator<(const TGuildDeclareInfo&) const':

GuildManager.h:32: warning: suggest parentheses around && within ||

GuildManager.h: In member function 'bool TGuildWaitStartInfo::operator<(const TGuildWaitStartInfo&) const':

GuildManager.h:66: warning: suggest parentheses around && within ||

GuildManager.h: In function 'bool operator<(const TGuildSkillUsed&, const TGuildSkillUsed&)':

GuildManager.h:102: warning: suggest parentheses around && within ||

ClientManagerPlayer.cpp: In member function 'char* CClientManager::GetCommand(char*)':

ClientManagerPlayer.cpp:433: warning: address of local variable 'command' returned

ClientManagerPlayer.cpp: In member function 'void CClientManager::RESULT_HIGHSCORE_REGISTER(CPeer*, SQLMsg*)':

ClientManagerPlayer.cpp:1262: warning: suggest parentheses around && within ||

ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeMobTable()':

ClientManagerBoot.cpp:402: warning: statement has no effect

ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeItemTable()':

ClientManagerBoot.cpp:703: warning: unused variable 'testValue'

ClientManagerBoot.cpp: In member function 'bool CClientManager::MirrorItemTableIntoDB()':

ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 25 has type 'long int'

ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 27 has type 'long int'

ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 29 has type 'long int'

ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 31 has type 'long int'

ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 33 has type 'long int'

ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 34 has type 'long int'

ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 35 has type 'long int'

ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 36 has type 'long int'

ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 37 has type 'long int'

ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 38 has type 'long int'

ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 39 has type 'long int'

ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 25 has type 'long int'

ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 27 has type 'long int'

ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 29 has type 'long int'

ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 31 has type 'long int'

ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 33 has type 'long int'

ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 34 has type 'long int'

ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 35 has type 'long int'

ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 36 has type 'long int'

ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 37 has type 'long int'

ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 38 has type 'long int'

ClientManagerBoot.cpp:1491: warning: format '%d' expects type 'int', but argument 39 has type 'long int'

ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 23 has type 'long int'

ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 25 has type 'long int'

ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 27 has type 'long int'

ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 29 has type 'long int'

ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 31 has type 'long int'

ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 32 has type 'long int'

ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 33 has type 'long int'

ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 34 has type 'long int'

ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 35 has type 'long int'

ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 36 has type 'long int'

ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 37 has type 'long int'

ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 23 has type 'long int'

ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 25 has type 'long int'

ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 27 has type 'long int'

ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 29 has type 'long int'

ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 31 has type 'long int'

ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 32 has type 'long int'

ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 33 has type 'long int'

ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 34 has type 'long int'

ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 35 has type 'long int'

ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 36 has type 'long int'

ClientManagerBoot.cpp:1519: warning: format '%d' expects type 'int', but argument 37 has type 'long int'

In file included from ClientManager.cpp:15:

GuildManager.h: In member function 'bool TGuildDeclareInfo::operator<(const TGuildDeclareInfo&) const':

GuildManager.h:32: warning: suggest parentheses around && within ||

GuildManager.h: In member function 'bool TGuildWaitStartInfo::operator<(const TGuildWaitStartInfo&) const':

GuildManager.h:66: warning: suggest parentheses around && within ||

GuildManager.h: In function 'bool operator<(const TGuildSkillUsed&, const TGuildSkillUsed&)':

GuildManager.h:102: warning: suggest parentheses around && within ||

ClientManager.cpp: In member function 'void CClientManager::RESULT_SAFEBOX_CHANGE_PASSWORD(CPeer*, SQLMsg*)':

ClientManager.cpp:876: warning: suggest parentheses around && within ||

CsvReader.cpp: In member function 'const char* cCsvAlias::operator[](size_t) const':

CsvReader.cpp:72: warning: left-hand operand of comma has no effect

CsvReader.cpp:72: warning: right-hand operand of comma has no effect

CsvReader.cpp: In member function 'size_t cCsvAlias::operator[](const char*) const':

CsvReader.cpp:90: warning: left-hand operand of comma has no effect

CsvReader.cpp:90: warning: right-hand operand of comma has no effect

ProtoReader.cpp: In function 'std::string* StringSplit(std::string, std::string)':

ProtoReader.cpp:33: warning: comparison between signed and unsigned integer expressions

ProtoReader.cpp: In function 'int get_Item_Type_Value(std::string)':

ProtoReader.cpp:87: warning: comparison between signed and unsigned integer expressions

ProtoReader.cpp: In function 'int get_Item_SubType_Value(int, std::string)':

ProtoReader.cpp:204: warning: comparison between signed and unsigned integer expressions

ProtoReader.cpp:207: warning: comparison between signed and unsigned integer expressions

ProtoReader.cpp: In function 'int get_Item_AntiFlag_Value(std::string)':

ProtoReader.cpp:250: warning: comparison between signed and unsigned integer expressions

ProtoReader.cpp: In function 'int get_Item_Flag_Value(std::string)':

ProtoReader.cpp:279: warning: comparison between signed and unsigned integer expressions

ProtoReader.cpp: In function 'int get_Item_WearFlag_Value(std::string)':

ProtoReader.cpp:307: warning: comparison between signed and unsigned integer expressions

ProtoReader.cpp: In function 'int get_Item_Immune_Value(std::string)':

ProtoReader.cpp:333: warning: comparison between signed and unsigned integer expressions

ProtoReader.cpp: In function 'int get_Item_LimitType_Value(std::string)':

ProtoReader.cpp:361: warning: comparison between signed and unsigned integer expressions

ProtoReader.cpp: In function 'int get_Item_ApplyType_Value(std::string)':

ProtoReader.cpp:400: warning: comparison between signed and unsigned integer expressions

ProtoReader.cpp: In function 'int get_Mob_Rank_Value(std::string)':

ProtoReader.cpp:426: warning: comparison between signed and unsigned integer expressions

ProtoReader.cpp: In function 'int get_Mob_Type_Value(std::string)':

ProtoReader.cpp:448: warning: comparison between signed and unsigned integer expressions

ProtoReader.cpp: In function 'int get_Mob_BattleType_Value(std::string)':

ProtoReader.cpp:469: warning: comparison between signed and unsigned integer expressions

ProtoReader.cpp: In function 'int get_Mob_Size_Value(std::string)':

ProtoReader.cpp:490: warning: comparison between signed and unsigned integer expressions

ProtoReader.cpp: In function 'int get_Mob_AIFlag_Value(std::string)':

ProtoReader.cpp:512: warning: comparison between signed and unsigned integer expressions

ProtoReader.cpp: In function 'int get_Mob_RaceFlag_Value(std::string)':

ProtoReader.cpp:537: warning: comparison between signed and unsigned integer expressions

ProtoReader.cpp: In function 'int get_Mob_ImmuneFlag_Value(std::string)':

ProtoReader.cpp:561: warning: comparison between signed and unsigned integer expressions

ProtoReader.cpp: In function 'bool Set_Proto_Item_Table(TItemTable*, cCsvTable&, std::map<int, const char*, std::less<int>, std::allocator<std::pair<const int, const char*> > >&)':

ProtoReader.cpp:696: warning: comparison between signed and unsigned integer expressions

ProtoReader.cpp:757: warning: comparison between signed and unsigned integer expressions

/usr/lib/crt1.o: In function `_start1':

crt1_c.c:(.text+0xa6): undefined reference to `main'

.obj/DBManager.o: In function `CDBManager::Connect(int, char const*, int, char const*, char const*, char const*)':

/usr/mainline_sg/Server/db/src/DBManager.cpp:103: undefined reference to `g_stLocale'

/usr/mainline_sg/Server/db/src/DBManager.cpp:112: undefined reference to `g_stLocale'

/usr/mainline_sg/Server/db/src/DBManager.cpp:120: undefined reference to `g_stLocale'

.obj/Cache.o: In function `CItemCache::Delete()':

/usr/mainline_sg/Server/db/src/Cache.cpp:47: undefined reference to `g_test_server'

.obj/Cache.o: In function `CItemPriceListTableCache':

/usr/mainline_sg/Server/db/src/Cache.cpp:187: undefined reference to `g_iItemPriceListTableCacheFlushSeconds'

.obj/Cache.o: In function `CPlayerTableCache':

/usr/mainline_sg/Server/db/src/Cache.cpp:161: undefined reference to `g_iPlayerCacheFlushSeconds'

.obj/Cache.o: In function `CItemCache':

/usr/mainline_sg/Server/db/src/Cache.cpp:25: undefined reference to `g_iItemCacheFlushSeconds'

.obj/Cache.o: In function `CItemPriceListTableCache':

/usr/mainline_sg/Server/db/src/Cache.cpp:187: undefined reference to `g_iItemPriceListTableCacheFlushSeconds'

.obj/Cache.o: In function `CItemCache':

/usr/mainline_sg/Server/db/src/Cache.cpp:25: undefined reference to `g_iItemCacheFlushSeconds'

.obj/Cache.o: In function `CPlayerTableCache':

/usr/mainline_sg/Server/db/src/Cache.cpp:161: undefined reference to `g_iPlayerCacheFlushSeconds'

.obj/Cache.o: In function `CItemPriceListTableCache::OnFlush()':

/usr/mainline_sg/Server/db/src/Cache.cpp:254: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/Cache.cpp:265: undefined reference to `GetTablePostfix()'

.obj/Cache.o: In function `CPlayerTableCache::OnFlush()':

/usr/mainline_sg/Server/db/src/Cache.cpp:170: undefined reference to `g_test_server'

.obj/Cache.o: In function `CItemCache::OnFlush()':

/usr/mainline_sg/Server/db/src/Cache.cpp:64: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/Cache.cpp:67: undefined reference to `g_test_server'

/usr/mainline_sg/Server/db/src/Cache.cpp:142: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/Cache.cpp:144: undefined reference to `g_test_server'

.obj/ClientManager.o: In function `CClientManager::UpdateItemCacheSet(unsigned int)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:3852: undefined reference to `g_test_server'

/usr/mainline_sg/Server/db/src/ClientManager.cpp:3866: undefined reference to `g_log'

.obj/ClientManager.o: In function `CClientManager::UpdatePlayerCache()':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:1525: undefined reference to `g_log'

.obj/ClientManager.o: In function `CClientManager::UpdateItemCache()':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:1559: undefined reference to `g_test_server'

.obj/ClientManager.o: In function `CClientManager::FlushItemCacheSet(unsigned int)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:1405: undefined reference to `g_log'

.obj/ClientManager.o: In function `CClientManager::QUERY_ITEM_FLUSH(CPeer*, char const*)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:1272: undefined reference to `g_log'

.obj/ClientManager.o: In function `CClientManager::Election(CPeer*, unsigned int, char const*)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:3893: undefined reference to `g_test_server'

/usr/mainline_sg/Server/db/src/ClientManager.cpp:3885: undefined reference to `g_test_server'

.obj/ClientManager.o: In function `CClientManager::SetMonarch(CPeer*, unsigned int, char const*)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:4100: undefined reference to `g_test_server'

.obj/ClientManager.o: In function `CClientManager::TakeMonarchMoney(CPeer*, unsigned int, char const*)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:4030: undefined reference to `g_test_server'

.obj/ClientManager.o: In function `CClientManager::DecMonarchMoney(CPeer*, unsigned int, char const*)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:3992: undefined reference to `g_test_server'

.obj/ClientManager.o:/usr/mainline_sg/Server/db/src/ClientManager.cpp:3957: more undefined references to `g_test_server' follow

.obj/ClientManager.o: In function `CClientManager::PutItemCache(SPlayerItem*, bool)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:1437: undefined reference to `g_log'

/usr/mainline_sg/Server/db/src/ClientManager.cpp:1447: undefined reference to `g_log'

/usr/mainline_sg/Server/db/src/ClientManager.cpp:1461: undefined reference to `g_log'

/usr/mainline_sg/Server/db/src/ClientManager.cpp:1471: undefined reference to `g_log'

/usr/mainline_sg/Server/db/src/ClientManager.cpp:1428: undefined reference to `g_log'

.obj/ClientManager.o:/usr/mainline_sg/Server/db/src/ClientManager.cpp:1374: more undefined references to `g_log' follow

.obj/ClientManager.o: In function `CClientManager::QUERY_SAFEBOX_LOAD(CPeer*, unsigned int, SSafeboxLoadPacket*, bool)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:495: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/ClientManager.cpp:497: undefined reference to `g_log'

.obj/ClientManager.o: In function `CClientManager::QUERY_QUEST_SAVE(CPeer*, SQuestTable*, unsigned int)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:470: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/ClientManager.cpp:476: undefined reference to `GetTablePostfix()'

.obj/ClientManager.o: In function `CClientManager::MyshopPricelistRequest(CPeer*, unsigned int, unsigned int)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:2232: undefined reference to `GetTablePostfix()'

.obj/ClientManager.o: In function `CClientManager::MyshopPricelistUpdate(SPacketMyshopPricelistHeader const*)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:2198: undefined reference to `GetTablePostfix()'

.obj/ClientManager.o: In function `CClientManager::UpdateLand(unsigned int*)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:2055: undefined reference to `GetTablePostfix()'

.obj/ClientManager.o:/usr/mainline_sg/Server/db/src/ClientManager.cpp:1598: more undefined references to `GetTablePostfix()' follow

.obj/ClientManager.o: In function `CClientManager::QUERY_ITEM_DESTROY(CPeer*, char const*)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:1600: undefined reference to `g_log'

.obj/ClientManager.o: In function `CClientManager::QUERY_ITEM_SAVE(CPeer*, char const*)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:1349: undefined reference to `g_test_server'

/usr/mainline_sg/Server/db/src/ClientManager.cpp:1298: undefined reference to `g_test_server'

/usr/mainline_sg/Server/db/src/ClientManager.cpp:1336: undefined reference to `GetTablePostfix()'

.obj/ClientManager.o: In function `CClientManager::QUERY_SAFEBOX_SAVE(CPeer*, SSafeboxTable*)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:987: undefined reference to `GetTablePostfix()'

.obj/ClientManager.o: In function `CClientManager::RESULT_SAFEBOX_CHANGE_PASSWORD(CPeer*, _SQLMsg*)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:882: undefined reference to `GetTablePostfix()'

.obj/ClientManager.o: In function `CClientManager::QUERY_SAFEBOX_CHANGE_PASSWORD(CPeer*, unsigned int, SSafeboxChangePasswordPacket*)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:861: undefined reference to `GetTablePostfix()'

.obj/ClientManager.o: In function `CClientManager::QUERY_SAFEBOX_CHANGE_SIZE(CPeer*, unsigned int, SSafeboxChangeSizePacket*)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:832: undefined reference to `GetTablePostfix()'

.obj/ClientManager.o:/usr/mainline_sg/Server/db/src/ClientManager.cpp:830: more undefined references to `GetTablePostfix()' follow

.obj/ClientManager.o: In function `CClientManager::QUERY_BOOT(CPeer*, SPacketGDBoot*)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:415: undefined reference to `g_test_server'

.obj/ClientManager.o: In function `CClientManager::QUERY_AUTH_LOGIN(CPeer*, unsigned int, SPacketGDAuthLogin*)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:1761: undefined reference to `g_test_server'

.obj/ClientManager.o: In function `operator!=<char, std::char_traits<char>, std::allocator<char> >':

/usr/include/c++/4.2/bits/basic_string.h:2215: undefined reference to `g_stLocale'

.obj/ClientManager.o: In function `std::string::assign(char const*)':

/usr/mainline_sg/Server/db/src/../../common/singleton.h:26: undefined reference to `g_stLocale'

/usr/mainline_sg/Server/db/src/../../common/singleton.h:26: undefined reference to `g_stLocaleNameColumn'

.obj/ClientManager.o: In function `std::string::_M_data() const':

/usr/include/c++/4.2/bits/basic_string.h:280: undefined reference to `g_stLocale'

.obj/ClientManager.o: In function `std::string::assign(char const*)':

/usr/include/c++/4.2/bits/basic_string.h:930: undefined reference to `g_stLocaleNameColumn'

.obj/ClientManager.o: In function `operator!=<char, std::char_traits<char>, std::allocator<char> >':

/usr/include/c++/4.2/bits/basic_string.h:2215: undefined reference to `g_stLocale'

.obj/ClientManager.o: In function `std::string::assign(char const*)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:3695: undefined reference to `g_stLocale'

/usr/mainline_sg/Server/db/src/ClientManager.cpp:3695: undefined reference to `g_stLocaleNameColumn'

.obj/ClientManager.o: In function `operator!=<char, std::char_traits<char>, std::allocator<char> >':

/usr/include/c++/4.2/bits/basic_string.h:2215: undefined reference to `g_stLocale'

.obj/ClientManager.o: In function `std::string::assign(char const*)':

/usr/include/c++/4.2/bits/basic_string.h:930: undefined reference to `g_stLocale'

.obj/ClientManager.o: In function `std::string::assign(char const*)':

/usr/include/c++/4.2/bits/stl_vector.h:619: undefined reference to `g_stLocaleNameColumn'

.obj/ClientManager.o: In function `CClientManager::InitializeLocalization()':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:3476: undefined reference to `g_stLocale'

.obj/ClientManager.o: In function `operator!=<char, std::char_traits<char>, std::allocator<char> >':

/usr/include/c++/4.2/bits/basic_string.h:2215: undefined reference to `g_stLocale'

.obj/ClientManager.o: In function `CClientManager::InitializeLocalization()':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:3666: undefined reference to `g_stLocale'

.obj/ClientManager.o: In function `operator!=<char, std::char_traits<char>, std::allocator<char> >':

/usr/include/c++/4.2/bits/basic_string.h:2215: undefined reference to `g_stLocale'

/usr/include/c++/4.2/bits/basic_string.h:2215: undefined reference to `g_stLocale'

.obj/ClientManager.o:/usr/mainline_sg/Server/db/src/ClientManager.cpp:3656: more undefined references to `g_stLocale' follow

.obj/ClientManager.o: In function `CClientManager::BlockChat(TPacketBlockChat*)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:2095: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/ClientManager.cpp:2097: undefined reference to `GetTablePostfix()'

.obj/ClientManager.o: In function `CClientManager::RESULT_SAFEBOX_LOAD(CPeer*, _SQLMsg*)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:585: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/ClientManager.cpp:780: undefined reference to `GetTablePostfix()'

.obj/ClientManager.o: In function `CClientManager::DeleteObject(unsigned int)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:2020: undefined reference to `GetTablePostfix()'

.obj/ClientManager.o:/usr/mainline_sg/Server/db/src/ClientManager.cpp:996: more undefined references to `GetTablePostfix()' follow

.obj/ClientManager.o: In function `CClientManager::ProcessPackets(CPeer*)':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:2274: undefined reference to `g_test_server'

.obj/ClientManager.o: In function `CClientManager::Process()':

/usr/mainline_sg/Server/db/src/ClientManager.cpp:2982: undefined reference to `g_test_server'

/usr/mainline_sg/Server/db/src/ClientManager.cpp:3178: undefined reference to `g_log'

/usr/mainline_sg/Server/db/src/ClientManager.cpp:3169: undefined reference to `g_log'

.obj/ClientManagerPlayer.o: In function `CClientManager::UpdateLogoutPlayer()':

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:1331: undefined reference to `g_iLogoutSeconds'

.obj/ClientManagerPlayer.o: In function `CClientManager::PutPlayerCache(SPlayerTable*)':

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:199: undefined reference to `g_bHotBackup'

.obj/ClientManagerPlayer.o: In function `CClientManager::QUERY_PLAYER_SAVE(CPeer*, unsigned int, SPlayerTable*)':

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:781: undefined reference to `g_test_server'

.obj/ClientManagerPlayer.o: In function `CClientManager::InsertLogoutPlayer(unsigned int)':

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:1292: undefined reference to `g_log'

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:1304: undefined reference to `g_log'

.obj/ClientManagerPlayer.o: In function `CClientManager::QUERY_HIGHSCORE_REGISTER(CPeer*, SPacketGDHighscore*)':

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:1218: undefined reference to `GetTablePostfix()'

.obj/ClientManagerPlayer.o: In function `CClientManager::QUERY_REMOVE_AFFECT(CPeer*, SPacketGDRemoveAffect*)':

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:1209: undefined reference to `GetTablePostfix()'

.obj/ClientManagerPlayer.o: In function `CClientManager::QUERY_ADD_AFFECT(CPeer*, SPacketGDAddAffect*)':

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:1198: undefined reference to `GetTablePostfix()'

.obj/ClientManagerPlayer.o: In function `CClientManager::RESULT_HIGHSCORE_REGISTER(CPeer*, _SQLMsg*)':

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:1269: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:1276: undefined reference to `GetTablePostfix()'

.obj/ClientManagerPlayer.o:/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:160: more undefined references to `GetTablePostfix()' follow

.obj/ClientManagerPlayer.o: In function `CClientManager::QUERY_PLAYER_LOAD(CPeer*, unsigned int, SPlayerLoadPacket*)':

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:296: undefined reference to `g_test_server'

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:308: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:315: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:371: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:383: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:391: undefined reference to `GetTablePostfix()'

.obj/ClientManagerPlayer.o:/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:399: more undefined references to `GetTablePostfix()' follow

.obj/ClientManagerPlayer.o: In function `operator!=<char, std::char_traits<char>, std::allocator<char> >':

/usr/include/c++/4.2/bits/basic_string.h:2215: undefined reference to `g_stLocale'

.obj/ClientManagerPlayer.o: In function `CClientManager::__QUERY_PLAYER_DELETE(CPeer*, unsigned int, SPlayerDeletePacket*)':

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:1020: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:1020: undefined reference to `GetTablePostfix()'

.obj/ClientManagerPlayer.o: In function `CClientManager::__QUERY_PLAYER_CREATE(CPeer*, unsigned int, SPlayerCreatePacket*)':

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:814: undefined reference to `GetTablePostfix()'

.obj/ClientManagerPlayer.o: In function `operator==<char, std::char_traits<char>, std::allocator<char> >':

/usr/include/c++/4.2/bits/basic_string.h:2178: undefined reference to `g_stLocale'

.obj/ClientManagerPlayer.o: In function `CClientManager::__QUERY_PLAYER_CREATE(CPeer*, unsigned int, SPlayerCreatePacket*)':

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:848: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:845: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:887: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:902: undefined reference to `g_test_server'

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:909: undefined reference to `g_test_server'

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:922: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/ClientManagerPlayer.cpp:929: undefined reference to `GetTablePostfix()'

.obj/ClientManagerLogin.o: In function `CClientManager::RESULT_PLAYER_INDEX_CREATE(CPeer*, _SQLMsg*)':

/usr/mainline_sg/Server/db/src/ClientManagerLogin.cpp:217: undefined reference to `GetTablePostfix()'

.obj/ClientManagerLogin.o: In function `CClientManager::QUERY_LOGIN_BY_KEY(CPeer*, unsigned int, SPacketGDLoginByKey*)':

/usr/mainline_sg/Server/db/src/ClientManagerLogin.cpp:142: undefined reference to `GetTablePostfix()'

.obj/ClientManagerLogin.o: In function `CClientManager::QUERY_LOGOUT(CPeer*, unsigned int, char const*)':

/usr/mainline_sg/Server/db/src/ClientManagerLogin.cpp:459: undefined reference to `g_test_server'

/usr/mainline_sg/Server/db/src/ClientManagerLogin.cpp:474: undefined reference to `g_log'

/usr/mainline_sg/Server/db/src/ClientManagerLogin.cpp:466: undefined reference to `g_log'

.obj/ClientManagerLogin.o: In function `operator==<char, std::char_traits<char>, std::allocator<char> >':

/usr/include/c++/4.2/bits/basic_string.h:2178: undefined reference to `g_stLocale'

.obj/ClientManagerLogin.o: In function `CClientManager::RESULT_LOGIN_BY_KEY(CPeer*, _SQLMsg*)':

/usr/mainline_sg/Server/db/src/ClientManagerLogin.cpp:197: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/ClientManagerLogin.cpp:164: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/ClientManagerLogin.cpp:203: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/ClientManagerLogin.cpp:175: undefined reference to `GetTablePostfix()'

.obj/ClientManagerLogin.o: In function `operator==<char, std::char_traits<char>, std::allocator<char> >':

/usr/include/c++/4.2/bits/basic_string.h:2178: undefined reference to `g_stLocale'

.obj/ClientManagerLogin.o: In function `CClientManager::QUERY_CHANGE_NAME(CPeer*, unsigned int, SPacketGDChangeName*)':

/usr/mainline_sg/Server/db/src/ClientManagerLogin.cpp:486: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/ClientManagerLogin.cpp:489: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/ClientManagerLogin.cpp:516: undefined reference to `GetTablePostfix()'

.obj/ClientManagerLogin.o: In function `operator==<char, std::char_traits<char>, std::allocator<char> >':

/usr/include/c++/4.2/bits/basic_string.h:2178: undefined reference to `g_stLocale'

.obj/ClientManagerLogin.o: In function `CClientManager::RESULT_LOGIN(CPeer*, _SQLMsg*)':

/usr/mainline_sg/Server/db/src/ClientManagerLogin.cpp:391: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/ClientManagerLogin.cpp:385: undefined reference to `GetTablePostfix()'

.obj/ClientManagerBoot.o: In function `std::string::c_str() const':

/usr/include/c++/4.2/bits/basic_string.h:1533: undefined reference to `g_stLocaleNameColumn'

.obj/ClientManagerBoot.o: In function `CClientManager::MirrorItemTableIntoDB()':

/usr/mainline_sg/Server/db/src/ClientManagerBoot.cpp:1491: undefined reference to `GetTablePostfix()'

.obj/ClientManagerBoot.o: In function `operator!=<char, std::char_traits<char>, std::allocator<char> >':

/usr/include/c++/4.2/bits/basic_string.h:2215: undefined reference to `g_stLocaleNameColumn'

.obj/ClientManagerBoot.o: In function `CClientManager::MirrorItemTableIntoDB()':

/usr/mainline_sg/Server/db/src/ClientManagerBoot.cpp:1519: undefined reference to `GetTablePostfix()'

.obj/ClientManagerBoot.o: In function `CClientManager::MirrorMobTableIntoDB()':

/usr/mainline_sg/Server/db/src/ClientManagerBoot.cpp:1402: undefined reference to `GetTablePostfix()'

.obj/ClientManagerBoot.o: In function `operator==<char, std::char_traits<char>, std::allocator<char> >':

/usr/include/c++/4.2/bits/basic_string.h:2178: undefined reference to `g_stLocaleNameColumn'

.obj/ClientManagerBoot.o: In function `std::string::c_str() const':

/usr/include/c++/4.2/bits/basic_string.h:1533: undefined reference to `g_stLocaleNameColumn'

.obj/ClientManagerBoot.o: In function `CClientManager::MirrorMobTableIntoDB()':

/usr/mainline_sg/Server/db/src/ClientManagerBoot.cpp:1454: undefined reference to `GetTablePostfix()'

.obj/ClientManagerBoot.o: In function `CClientManager::InitializeSkillTable()':

/usr/mainline_sg/Server/db/src/ClientManagerBoot.cpp:861: undefined reference to `GetTablePostfix()'

.obj/ClientManagerBoot.o: In function `CClientManager::InitializeObjectProto()':

/usr/mainline_sg/Server/db/src/ClientManagerBoot.cpp:1228: undefined reference to `GetTablePostfix()'

.obj/ClientManagerBoot.o: In function `CClientManager::InitializeLandTable()':

/usr/mainline_sg/Server/db/src/ClientManagerBoot.cpp:1125: undefined reference to `GetTablePostfix()'

.obj/ClientManagerBoot.o: In function `CClientManager::InitializeObjectTable()':

/usr/mainline_sg/Server/db/src/ClientManagerBoot.cpp:1297: undefined reference to `GetTablePostfix()'

.obj/ClientManagerBoot.o:/usr/mainline_sg/Server/db/src/ClientManagerBoot.cpp:110: more undefined references to `GetTablePostfix()' follow

.obj/ClientManagerBoot.o: In function `CClientManager::InitializeQuestItemTable()':

/usr/mainline_sg/Server/db/src/ClientManagerBoot.cpp:525: undefined reference to `g_stLocaleNameColumn'

.obj/ClientManagerBoot.o: In function `CClientManager::InitializeItemRareTable()':

/usr/mainline_sg/Server/db/src/ClientManagerBoot.cpp:1047: undefined reference to `GetTablePostfix()'

.obj/ClientManagerBoot.o: In function `CClientManager::InitializeItemAttrTable()':

/usr/mainline_sg/Server/db/src/ClientManagerBoot.cpp:973: undefined reference to `GetTablePostfix()'

.obj/ClientManagerGuild.o: In function `CClientManager::GuildRemoveMember(CPeer*, SPacketGuild*)':

/usr/mainline_sg/Server/db/src/ClientManagerGuild.cpp:73: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/ClientManagerGuild.cpp:76: undefined reference to `GetTablePostfix()'

.obj/ClientManagerGuild.o: In function `CClientManager::GuildDisband(CPeer*, SPacketGuild*)':

/usr/mainline_sg/Server/db/src/ClientManagerGuild.cpp:106: undefined reference to `GetTablePostfix()'

.obj/ClientManagerGuild.o:/usr/mainline_sg/Server/db/src/ClientManagerGuild.cpp:109: more undefined references to `GetTablePostfix()' follow

.obj/GuildManager.o: In function `isEurope()':

/usr/mainline_sg/Server/db/src/GuildManager.cpp:17: undefined reference to `g_stLocale'

/usr/mainline_sg/Server/db/src/GuildManager.cpp:18: undefined reference to `g_stLocale'

/usr/mainline_sg/Server/db/src/GuildManager.cpp:19: undefined reference to `g_stLocale'

/usr/mainline_sg/Server/db/src/GuildManager.cpp:20: undefined reference to `g_stLocale'

/usr/mainline_sg/Server/db/src/GuildManager.cpp:21: undefined reference to `g_stLocale'

.obj/GuildManager.o:/usr/mainline_sg/Server/db/src/GuildManager.cpp:22: more undefined references to `g_stLocale' follow

.obj/GuildManager.o: In function `CGuildManager::QueryRanking()':

/usr/mainline_sg/Server/db/src/GuildManager.cpp:202: undefined reference to `GetTablePostfix()'

.obj/GuildManager.o: In function `CGuildManager::ProcessReserveWar()':

/usr/mainline_sg/Server/db/src/GuildManager.cpp:1137: undefined reference to `g_stLocale'

/usr/mainline_sg/Server/db/src/GuildManager.cpp:1139: undefined reference to `g_stLocale'

.obj/GuildManager.o: In function `CGuildManager::MoneyChange(unsigned int, unsigned int)':

/usr/mainline_sg/Server/db/src/GuildManager.cpp:778: undefined reference to `GetTablePostfix()'

.obj/GuildManager.o: In function `CGuildManager::ChangeLadderPoint(unsigned int, int)':

/usr/mainline_sg/Server/db/src/GuildManager.cpp:742: undefined reference to `GetTablePostfix()'

.obj/GuildManager.o: In function `CGuildManager::GuildWarDraw(unsigned int)':

/usr/mainline_sg/Server/db/src/GuildManager.cpp:382: undefined reference to `GetTablePostfix()'

.obj/GuildManager.o: In function `CGuildManager::GuildWarLose(unsigned int)':

/usr/mainline_sg/Server/db/src/GuildManager.cpp:368: undefined reference to `GetTablePostfix()'

.obj/GuildManager.o: In function `CGuildManager::GuildWarWin(unsigned int)':

/usr/mainline_sg/Server/db/src/GuildManager.cpp:354: undefined reference to `GetTablePostfix()'

.obj/GuildManager.o:/usr/mainline_sg/Server/db/src/GuildManager.cpp:963: more undefined references to `GetTablePostfix()' follow

.obj/HB.o: In function `PlayerHB::Query(unsigned int)':

/usr/mainline_sg/Server/db/src/HB.cpp:82: undefined reference to `GetPlayerDBName()'

.obj/HB.o: In function `PlayerHB::Initialize()':

/usr/mainline_sg/Server/db/src/HB.cpp:20: undefined reference to `GetTablePostfix()'

.obj/ClientManagerEventFlag.o: In function `CClientManager::SetEventFlag(SPacketSetEventFlag*)':

/usr/mainline_sg/Server/db/src/ClientManagerEventFlag.cpp:54: undefined reference to `GetTablePostfix()'

.obj/ClientManagerEventFlag.o: In function `CClientManager::LoadEventFlag()':

/usr/mainline_sg/Server/db/src/ClientManagerEventFlag.cpp:12: undefined reference to `GetTablePostfix()'

.obj/Marriage.o: In function `marriage::CManager::Initialize()':

/usr/mainline_sg/Server/db/src/Marriage.cpp:41: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/Marriage.cpp:41: undefined reference to `GetTablePostfix()'

.obj/Monarch.o: In function `CMonarch::ElectMonarch()':

/usr/mainline_sg/Server/db/src/Monarch.cpp:56: undefined reference to `g_test_server'

.obj/Monarch.o: In function `CMonarch::TakeMoney(int, unsigned int, long long)':

/usr/mainline_sg/Server/db/src/Monarch.cpp:170: undefined reference to `g_test_server'

.obj/Monarch.o: In function `CMonarch::SetMonarch(char const*)':

/usr/mainline_sg/Server/db/src/Monarch.cpp:233: undefined reference to `g_test_server'

.obj/Monarch.o: In function `CMonarch::LoadMonarch()':

/usr/mainline_sg/Server/db/src/Monarch.cpp:179: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/Monarch.cpp:200: undefined reference to `g_test_server'

.obj/ItemIDRangeManager.o: In function `CItemIDRangeManager::BuildRange(unsigned int, unsigned int, tItemIDRange&)':

/usr/mainline_sg/Server/db/src/ItemIDRangeManager.cpp:94: undefined reference to `GetTablePostfix()'

/usr/mainline_sg/Server/db/src/ItemIDRangeManager.cpp:125: undefined reference to `GetTablePostfix()'

gmake: *** [Makefile:52: ../db_v1.0] Error 1
Opublikowano

Nie wydaje mi się żeby to była wina tego

undefined reference to `GetTablePostfix()'

 

Zmieniałeś coś w pliku Makefile?

Może ta kropka przy db_v1.0 jest traktowana jako jakieś rozszerzenie, ja niestety nie mam innego pomysłu.

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...