Kori 170 Posted May 2, 2014 Share Posted May 2, 2014 In file included from char_battle.cpp:27: shop_manager.h:40:7: warning: no newline at end of file In file included from char.cpp:25: shop_manager.h:40:7: warning: no newline at end of file In file included from char.cpp:62: PetSystem.h:163:31: warning: no newline at end of file char.cpp:7234: warning: this decimal constant is unsigned only in ISO C90 char.cpp:7242:2: warning: no newline at end of file In file included from char_item.cpp:47: belt_inventory_helper.h:108:42: warning: no newline at end of file In file included from char_item.cpp:47: belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)': belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const': char_item.cpp:642: warning: comparison is always false due to limited range of data type char_item.cpp:668: warning: comparison is always false due to limited range of data type char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)': char_item.cpp:2389: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2393: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2405: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:2409: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:2436: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2444: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)': char_item.cpp:5156: warning: unused variable 'wDestCell' char_item.cpp:5157: warning: unused variable 'bDestInven' char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)': char_item.cpp:6131: warning: array subscript has type 'char' char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)': char_item.cpp:6195: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(CItem*)': char_item.cpp:6207: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)': char_item.cpp:7391: warning: unused variable 'itemType' char_item.cpp:7392: warning: unused variable 'itemSubType' char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const': char_item.cpp:681: warning: control reaches end of non-void function char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)': char.cpp:3079: warning: comparison between signed and unsigned integer expressions In file included from PetSystem.cpp:8: PetSystem.h:163:31: warning: no newline at end of file PetSystem.cpp:637:2: warning: no newline at end of file PetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()': PetSystem.cpp:246: warning: unused variable 'bDoMoveAlone' PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, CItem*, const char*, bool, DWORD)': PetSystem.cpp:552: warning: unused variable 'petVID' char_state.cpp: In member function 'virtual void CHARACTER::StateMove()': char_state.cpp:901: warning: unused variable 'rider' char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_ValueChange(BYTE, BYTE, BYTE)': char_item.cpp:6242: warning: 'pBuff' may be used uninitialized in this function constants.cpp:291: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:292: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:293: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:294: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:295: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:296: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:297: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:298: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:299: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:300: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:301: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:302: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:303: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:304: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:305: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:306: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:307: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:308: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:309: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:310: warning: this decimal constant is unsigned only in ISO C90 constants.cpp:311: warning: this decimal constant is unsigned only in ISO C90 cube.cpp: In function 'bool Cube_make(CHARACTER*)': cube.cpp:544: warning: comparison between signed and unsigned integer expressions cube.cpp: In function 'void Cube_MakeCubeInformationText()': cube.cpp:716: warning: unused variable 'npcVNUM' cube.cpp: In function 'void Cube_InformationInitialize()': cube.cpp:783: warning: comparison between signed and unsigned integer expressions cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)': cmd_gm.cpp:3926: warning: NULL used in arithmetic desc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD, bool)': desc_client.cpp:299: warning: comparison between signed and unsigned integer expressions In file included from desc_manager.cpp:15: ClientPackageCryptInfo.h:117:41: warning: no newline at end of file config.cpp: In function 'void config_init(const std::string&)': config.cpp:453: warning: NULL used in arithmetic config.cpp:477: warning: NULL used in arithmetic config.cpp:501: warning: NULL used in arithmetic config.cpp:523: warning: unused variable 'line' cmd_gm.cpp:3968: warning: 'n' may be used uninitialized in this function cmd_gm.cpp: In function 'void do_use_item(CHARACTER*, const char*, int, int)': cmd_gm.cpp:4348: warning: 'cell' may be used uninitialized in this function cmd_gm.cpp: In function 'void do_mob_ld(CHARACTER*, const char*, int, int)': cmd_gm.cpp:852: warning: 'x' may be used uninitialized in this function cmd_gm.cpp:852: warning: 'y' may be used uninitialized in this function In file included from input_db.cpp:13: shop_manager.h:40:7: warning: no newline at end of file input_db.cpp:2723:2: warning: no newline at end of file input_auth.cpp: In member function 'int CInputAuth::auth_OpenID(const char*, const char*, char*)': input_auth.cpp:465: warning: unused variable 'last' In file included from input_main.cpp:16: shop_manager.h:40:7: warning: no newline at end of file In file included from item.cpp:22: belt_inventory_helper.h:108:42: warning: no newline at end of file item.cpp:2090:2: warning: no newline at end of file In file included from item.cpp:22: belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)': belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions item.h: In constructor 'CItem::CItem(DWORD)': item.h:286: warning: 'CItem::m_pkRealTimeExpireEvent' will be initialized after item.h:283: warning: 'LPEVENT CItem::m_pkExpireEvent' item.cpp:25: warning: when initialized here item.cpp: In function 'const bool CanPutIntoRing(CItem*, CItem*)': item.cpp:1731: warning: unused variable 'vnum' item.cpp: In member function 'bool CItem::CanPutInto(CItem*)': item.cpp:1764: warning: comparison between signed and unsigned integer expressions item.cpp: In member function 'int CItem::GiveMoreTime_Per(float)': item.cpp:2020: warning: comparison between signed and unsigned integer expressions item.cpp:2022: warning: comparison between signed and unsigned integer expressions item.cpp: In member function 'int CItem::GiveMoreTime_Fix(DWORD)': item.cpp:2044: warning: comparison between signed and unsigned integer expressions item.cpp: In member function 'int CItem::GetDuration()': item.cpp:2075: warning: array subscript has type 'char' input_main.cpp: In member function 'int CInputMain::Chat(CHARACTER*, const char*, size_t)': input_main.cpp:704: warning: unused variable 'len' input_main.cpp:706: warning: unused variable 'len' monarch.cpp:276:2: warning: no newline at end of file p2p.cpp:286:2: warning: no newline at end of file item_manager.cpp: In member function 'TItemTable* ITEM_MANAGER::GetTable(DWORD)': item_manager.cpp:612: warning: comparison between signed and unsigned integer expressions input_main.cpp: In function 'int ProcessTextTag(CHARACTER*, const char*, size_t)': input_main.cpp:252: warning: 'nPrismCount' may be used uninitialized in this function input_main.cpp: In member function 'int CInputMain::Chat(CHARACTER*, const char*, size_t)': input_main.cpp:720: warning: 'len' is used uninitialized in this function party.cpp:1737:2: warning: no newline at end of file In file included from questlua_pet.cpp:11: PetSystem.h:163:31: warning: no newline at end of file questlua_pet.cpp:157:2: warning: no newline at end of file questlua.cpp: In member function 'bool quest::FPartyCheckFlagLt::operator()(CHARACTER*)': questlua.cpp:78: warning: 'returnBool' may be used uninitialized in this function In file included from questlua_npc.cpp:9: shop_manager.h:40:7: warning: no newline at end of file questlua_npc.cpp: In function 'int quest::npc_get_vid_attack_mul(lua_State*)': questlua_npc.cpp:293: warning: unused variable 'q' questlua_npc.cpp: In function 'int quest::npc_set_vid_attack_mul(lua_State*)': questlua_npc.cpp:309: warning: unused variable 'q' questlua_npc.cpp: In function 'int quest::npc_get_vid_damage_mul(lua_State*)': questlua_npc.cpp:324: warning: unused variable 'q' questlua_npc.cpp: In function 'int quest::npc_set_vid_damage_mul(lua_State*)': questlua_npc.cpp:340: warning: unused variable 'q' questnpc.cpp: In member function 'bool quest::NPC::HandleEvent(quest::PC&, int)': questnpc.cpp:500: warning: unused variable 'pPC' shop.cpp:595:2: warning: no newline at end of file In file included from trigger.cpp:8: shop_manager.h:40:7: warning: no newline at end of file shop.cpp: In member function 'virtual bool CShop::IsSellingItem(DWORD)': shop.cpp:586: warning: comparison between signed and unsigned integer expressions utils.cpp: In function 'bool WildCaseCmp(const char*, const char*)': utils.cpp:244: warning: NULL used in arithmetic utils.cpp:256: warning: NULL used in arithmetic utils.cpp:270: warning: NULL used in arithmetic FileMonitor_FreeBSD.cpp:136:2: warning: no newline at end of file In file included from ClientPackageCryptInfo.cpp:2: ClientPackageCryptInfo.h:117:41: warning: no newline at end of file ClientPackageCryptInfo.h: In constructor 'CClientPackageCryptInfo::CClientPackageCryptInfo()': ClientPackageCryptInfo.h:50: warning: 'CClientPackageCryptInfo::m_pSerializedCryptKeyStream' will be initialized after ClientPackageCryptInfo.h:48: warning: 'int CClientPackageCryptInfo::m_nCryptKeyPackageCnt' ClientPackageCryptInfo.cpp:9: warning: when initialized here In file included from dragon_soul_table.cpp:4: dragon_soul_table.h:74:7: warning: no newline at end of file buff_on_attributes.cpp: In member function 'void CBuffOnAttributes::ChangeBuffValue(BYTE)': buff_on_attributes.cpp:112: warning: unused variable 'old_value' buff_on_attributes.cpp:113: warning: unused variable 'new_value' dragon_soul_table.cpp: In member function 'bool DragonSoulTable::ReadAdditionalApplys()': dragon_soul_table.cpp:223: warning: comparison between signed and unsigned integer expressions dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckApplyNumSettings()': dragon_soul_table.cpp:283: warning: comparison between signed and unsigned integer expressions dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckWeightTables()': dragon_soul_table.cpp:311: warning: comparison between signed and unsigned integer expressions dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineGradeTables()': dragon_soul_table.cpp:343: warning: comparison between signed and unsigned integer expressions dragon_soul_table.cpp:372: warning: comparison between signed and unsigned integer expressions dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineStepTables()': dragon_soul_table.cpp:397: warning: comparison between signed and unsigned integer expressions dragon_soul_table.cpp:427: warning: comparison between signed and unsigned integer expressions dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineStrengthTables()': dragon_soul_table.cpp:453: warning: comparison between signed and unsigned integer expressions dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckDragonHeartExtTables()': dragon_soul_table.cpp:494: warning: comparison between signed and unsigned integer expressions dragon_soul_table.cpp:513: warning: comparison between signed and unsigned integer expressions dragon_soul_table.cpp:522: warning: comparison between signed and unsigned integer expressions dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckDragonSoulExtTables()': dragon_soul_table.cpp:545: warning: comparison between signed and unsigned integer expressions In file included from DragonSoul.cpp:9: dragon_soul_table.h:74:7: warning: no newline at end of file group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = std::string]': dragon_soul_table.cpp:129: instantiated from here group_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressions group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = BYTE]': dragon_soul_table.cpp:134: instantiated from here group_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressions group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = int]': dragon_soul_table.cpp:201: instantiated from here group_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressions group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = float]': dragon_soul_table.cpp:260: instantiated from here group_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressions group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = float]': dragon_soul_table.cpp:828: instantiated from here group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions group_text_parse_tree.h: In constructor 'CGroupTextParseTreeLoader::CGroupTextParseTreeLoader()': group_text_parse_tree.h:93: warning: 'CGroupTextParseTreeLoader::m_dwcurLineIndex' will be initialized after group_text_parse_tree.h:91: warning: 'CGroupNode* CGroupTextParseTreeLoader::m_pRootGroupNode' group_text_parse_tree.cpp:5: warning: when initialized here group_text_parse_tree.cpp: In member function 'bool CGroupTextParseTreeLoader::LoadGroup(CGroupNode*)': group_text_parse_tree.cpp:99: warning: comparison between signed and unsigned integer expressions group_text_parse_tree.cpp: In member function 'bool CGroupNode::GetRow(int, const CGroupNode::CGroupNodeRow**) const': group_text_parse_tree.cpp:206: warning: comparison between signed and unsigned integer expressions group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = int]': group_text_parse_tree.h:159: instantiated from 'bool CGroupNode::GetValue(const std::string&, const std::string&, T&) const [with T = int]' group_text_parse_tree.h:203: instantiated from 'bool CGroupNode::GetGroupValue(const std::string&, const std::string&, const std::string&, T&) const [with T = int]' dragon_soul_table.cpp:612: instantiated from here group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = unsigned int]': group_text_parse_tree.h:159: instantiated from 'bool CGroupNode::GetValue(const std::string&, const std::string&, T&) const [with T = unsigned int]' group_text_parse_tree.h:203: instantiated from 'bool CGroupNode::GetGroupValue(const std::string&, const std::string&, const std::string&, T&) const [with T = unsigned int]' dragon_soul_table.cpp:884: instantiated from here group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions ../../../Extern/include/cryptopp/algparam.h: In constructor 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter(const T&, bool) [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]': ../../../Extern/include/cryptopp/filters.h:793: instantiated from here ../../../Extern/include/cryptopp/algparam.h:26: warning: unused variable 'cryptopp_assert_26' char_dragonsoul.cpp:143:2: warning: no newline at end of file ../../../Extern/include/cryptopp/algparam.h: In member function 'void CryptoPP::AlgorithmParametersTemplate<T>::MoveInto(void*) const [with T = CryptoPP::RandomNumberGenerator*]': cipher.cpp:397: instantiated from here ../../../Extern/include/cryptopp/algparam.h:322: warning: unused variable 'p' DragonSoul.cpp: In function 'int Gamble(std::vector<float, std::allocator<float> >&)': DragonSoul.cpp:19: warning: comparison between signed and unsigned integer expressions DragonSoul.cpp:25: warning: comparison between signed and unsigned integer expressions DragonSoul.cpp: In member function 'bool DSManager::RefreshItemAttributes(CItem*)': DragonSoul.cpp:203: warning: comparison between signed and unsigned integer expressions DragonSoul.cpp: In member function 'bool DSManager::PutAttributes(CItem*)': DragonSoul.cpp:273: warning: comparison between signed and unsigned integer expressions DragonSoul.cpp: In member function 'bool DSManager::ExtractDragonHeart(CHARACTER*, CItem*, CItem*)': DragonSoul.cpp:350: warning: unused variable 'sum' DragonSoul.cpp: In member function 'bool DSManager::PullOut(CHARACTER*, TItemPos, CItem*&, CItem*)': DragonSoul.cpp:435: warning: unused variable 'dwVnum' DragonSoul.cpp:469: warning: format '%d' expects type 'int', but argument 3 has type 'double' DragonSoul.cpp:469: warning: format '%d' expects type 'int', but argument 4 has type 'double' DragonSoul.cpp: In member function 'bool DSManager::DoRefineGrade(CHARACTER*, TItemPos (&)[15])': DragonSoul.cpp:555: warning: unused variable 'prob_sum' DragonSoul.cpp: In member function 'bool DSManager::DoRefineStep(CHARACTER*, TItemPos (&)[15])': DragonSoul.cpp:763: warning: unused variable 'sum' char_dragonsoul.cpp: In member function 'bool CHARACTER::DragonSoul_ActivateDeck(int)': char_dragonsoul.cpp:91: warning: control reaches end of non-void function In file included from shop_manager.cpp:22: shop_manager.h:40:7: warning: no newline at end of file shutdown_manager.cpp:173:2: warning: no newline at end of file shutdown_manager.cpp: In member function 'int CShutdownManager::SearchDesc(DESC*)': shutdown_manager.cpp:90: warning: comparison between signed and unsigned integer expressions shopEx.cpp: In member function 'virtual int CShopEx::Buy(CHARACTER*, BYTE)': shopEx.cpp:159: warning: comparison between signed and unsigned integer expressions item_manager_read_tables.cpp: In member function 'bool ITEM_MANAGER::ReadMonsterDropItemGroup(const char*)': item_manager_read_tables.cpp:637: warning: unused variable 'pkGroup' shop_manager.cpp: In function 'bool ConvertToShopItemTable(CGroupNode*, TShopTableEx&)': shop_manager.cpp:473: warning: comparison between signed and unsigned integer expressions group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = unsigned int]': group_text_parse_tree.h:175: instantiated from 'bool CGroupNode::GetValue(const std::string&, int, T&) const [with T = DWORD]' shop_manager.cpp:381: instantiated from here group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]': group_text_parse_tree.h:175: instantiated from 'bool CGroupNode::GetValue(const std::string&, int, T&) const [with T = std::string]' shop_manager.cpp:387: instantiated from here group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = unsigned char]': group_text_parse_tree.h:136: instantiated from 'bool CGroupNode::GetValue(size_t, const std::string&, T&) const [with T = BYTE]' shop_manager.cpp:442: instantiated from here group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions item_manager_read_tables.cpp:627: warning: 'pkGroup' may be used uninitialized in this function ../../../Extern/include/cryptopp/misc.h: At global scope: ../../../Extern/include/cryptopp/misc.h:548: warning: 'std::string CryptoPP::StringNarrow(const wchar_t*, bool)' defined but not used i Need help Link to comment Share on other sites More sharing options...
Think 117 Posted May 3, 2014 Share Posted May 3, 2014 So what do you need help with, Kori? There are are no errors there. Link to comment Share on other sites More sharing options...
adi97ida 6 Posted May 3, 2014 Share Posted May 3, 2014 Fixed. Link to comment Share on other sites More sharing options...
WeXo 0 Posted June 5, 2014 Share Posted June 5, 2014 Please, how to fix a this error: In file included from debug_allocator.h:5, from stdafx.h:7, from buffer_manager.cpp:1: /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameterIn file included from debug_allocator.h:5, from stdafx.h:7, from TrafficProfiler.cpp:10: /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter In file included from debug_allocator.h:5, from stdafx.h:7, from blend_item.cpp:10: /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameterIn file included from debug_allocator.h:5, from stdafx.h:7, from MarkImage.cpp:1: /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter In file included from debug_allocator.h:5, from stdafx.h:7, from MarkManager.cpp:1: /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameterIn file included from cipher.h:6, from desc.h:7, from char_battle.cpp:4: ../../../Extern/include/cryptopp/cryptlib.h:96: error: integer constant is too large for 'long' type In file included from battle.h:4, from char_battle.cpp:10: char.h:733: error: integer constant is too large for 'long' type In file included from char_battle.cpp:27: shop_manager.h:40:7: warning: no newline at end of file In file included from debug_allocator.h:5, from stdafx.h:7, from char_battle.cpp:1: /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter In file included from cipher.h:6, from desc.h:7, from arena.cpp:5: ../../../Extern/include/cryptopp/cryptlib.h:96: error: integer constant is too large for 'long' type In file included from debug_allocator.h:5, from stdafx.h:7, from MarkConvert.cpp:1: /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter In file included from debug_allocator.h:5, from stdafx.h:7, from block_country.cpp:10: /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter In file included from char_horse.cpp:3: char.h:733: error: integer constant is too large for 'long' type In file included from debug_allocator.h:5, from stdafx.h:7, from char_horse.cpp:1: /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter In file included from cipher.h:6, from desc.h:7, from battle.cpp:4: ../../../Extern/include/cryptopp/cryptlib.h:96: error: integer constant is too large for 'long' type gmake: *** [OBJDIR/buffer_manager.o] Error 1 gmake: *** Waiting for unfinished jobs.... In file included from char.cpp:6: char.h:733: error: integer constant is too large for 'long' typeIn file included from debug_allocator.h:5, from stdafx.h:7, from banword.cpp:1: /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter gmake: *** [OBJDIR/TrafficProfiler.o] Error 1 gmake: *** [OBJDIR/MarkImage.o] Error 1 In file included from cipher.h:6, from desc.h:7, from desc_client.h:4, from char.cpp:12: ../../../Extern/include/cryptopp/cryptlib.h:96: error: integer constant is too large for 'long' typeIn file included from castle.cpp:21: char.h:733: error: integer constant is too large for 'long' type In file included from debug_allocator.h:5, from stdafx.h:7, from castle.cpp:12: /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter In file included from OXEvent.cpp:9: char.h:733: error: integer constant is too large for 'long' type In file included from char.cpp:25: shop_manager.h:40:7: warning: no newline at end of file gmake: *** [OBJDIR/MarkManager.o] Error 1 In file included from cipher.h:6, from desc.h:7, from OXEvent.cpp:12: ../../../Extern/include/cryptopp/cryptlib.h:96: error: integer constant is too large for 'long' type In file included from cipher.h:6, from desc.h:7, from char_battle.cpp:4: ../../../Extern/include/cryptopp/cryptlib.h:96: warning: large integer implicitly truncated to unsigned typeIn file included from debug_allocator.h:5, from stdafx.h:7, from OXEvent.cpp:1: /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter In file included from char.cpp:62: PetSystem.h:163:31: warning: no newline at end of file char.cpp:7234: warning: this decimal constant is unsigned only in ISO C90 char.cpp:7242:2: warning: no newline at end of file In file included from debug_allocator.h:5, from stdafx.h:7, from char.cpp:1: /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter gmake: *** [OBJDIR/blend_item.o] Error 1 gmake: *** [OBJDIR/MarkConvert.o] Error 1 gmake: *** [OBJDIR/block_country.o] Error 1 In file included from arena.cpp:9: char.h:733: error: integer constant is too large for 'long' type In file included from debug_allocator.h:5, from stdafx.h:7, from arena.cpp:1: /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter In file included from building.cpp:8: char.h:733: error: integer constant is too large for 'long' type In file included from battle.cpp:5: char.h:733: error: integer constant is too large for 'long' type banword.cpp: In member function 'bool CBanwordManager::Initialize(TBanwordTable*, WORD)': banword.cpp:24: warning: format '%zu' expects type 'size_t', but argument 4 has type 'size_t' In file included from cipher.h:6, from desc.h:7, from building.cpp:12: ../../../Extern/include/cryptopp/cryptlib.h:96: error: integer constant is too large for 'long' type In file included from debug_allocator.h:5, from stdafx.h:7, from battle.cpp:1: /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter In file included from char_change_empire.cpp:4: char.h:733: error: integer constant is too large for 'long' typeIn file included from debug_allocator.h:5, from stdafx.h:7, from building.cpp:1: /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter In file included from debug_allocator.h:5, from stdafx.h:7, from char_change_empire.cpp:2: /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter gmake: *** [OBJDIR/banword.o] Error 1 /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameterIn file included from BattleArena.cpp:6: char.h:733: error: integer constant is too large for 'long' type /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter In file included from debug_allocator.h:5, from stdafx.h:7, from BattleArena.cpp:1: /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter In file included from char_affect.cpp:5: char.h:733: error: integer constant is too large for 'long' type In file included from cipher.h:6, from desc.h:7, from arena.cpp:5: ../../../Extern/include/cryptopp/cryptlib.h:96: warning: large integer implicitly truncated to unsigned type In file included from cipher.h:6, from desc.h:7, from desc_client.h:4, from char_affect.cpp:10: ../../../Extern/include/cryptopp/cryptlib.h:96: error: integer constant is too large for 'long' type In file included from debug_allocator.h:5, from stdafx.h:7, from char_affect.cpp:2: /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parametergmake: *** [OBJDIR/castle.o] Error 1 In file included from cipher.h:6, from desc.h:7, from desc_client.h:4, from char.cpp:12: ../../../Extern/include/cryptopp/cryptlib.h:96: warning: large integer implicitly truncated to unsigned type /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parametergmake: *** [OBJDIR/char_horse.o] Error 1 In file included from cipher.h:6, from desc.h:7, from battle.cpp:4: ../../../Extern/include/cryptopp/cryptlib.h:96: warning: large integer implicitly truncated to unsigned type /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter In file included from ani.cpp:11: char.h:733: error: integer constant is too large for 'long' type In file included from debug_allocator.h:5, from stdafx.h:7, from ani.cpp:10: /usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:100: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:105: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter /usr/include/c++/4.2/new:106: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter In file included from cipher.h:6, from desc.h:7, from OXEvent.cpp:12: ../../../Extern/include/cryptopp/cryptlib.h:96: warning: large integer implicitly truncated to unsigned type OXEvent.cpp: In member function 'void COXEventManager::WarpToAudience()': OXEvent.cpp:375: warning: overflow in implicit constant conversion OXEvent.cpp:376: warning: overflow in implicit constant conversion OXEvent.cpp:377: warning: overflow in implicit constant conversion OXEvent.cpp:378: warning: overflow in implicit constant conversion OXEvent.cpp:379: warning: overflow in implicit constant conversion gmake: *** [OBJDIR/OXEvent.o] Error 1 arena.cpp: In function 'long int ready_to_start_event(LPEVENT, long int)': arena.cpp:327: warning: overflow in implicit constant conversion arena.cpp:328: warning: overflow in implicit constant conversion gmake: *** [OBJDIR/arena.o] Error 1 gmake: *** [OBJDIR/char_change_empire.o] Error 1 In file included from cipher.h:6, from desc.h:7, from building.cpp:12: ../../../Extern/include/cryptopp/cryptlib.h:96: warning: large integer implicitly truncated to unsigned type In file included from cipher.h:6, from desc.h:7, from desc_client.h:4, from char_affect.cpp:10: ../../../Extern/include/cryptopp/cryptlib.h:96: warning: large integer implicitly truncated to unsigned type gmake: *** [OBJDIR/ani.o] Error 1 gmake: *** [OBJDIR/BattleArena.o] Error 1 gmake: *** [OBJDIR/battle.o] Error 1 gmake: *** [OBJDIR/char_affect.o] Error 1 gmake: *** [OBJDIR/char_battle.o] Error 1 char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)': char.cpp:3079: warning: comparison between signed and unsigned integer expressions char.cpp: In member function 'void<unnamed>::FuncCheckWarp::operator()(CEntity*)': char.cpp:6422: warning: overflow in implicit constant conversion gmake: *** [OBJDIR/building.o] Error 1 gmake: *** [OBJDIR/char.o] Error 1 Thanks Link to comment Share on other sites More sharing options...
DasKuchen 11 Posted June 5, 2014 Share Posted June 5, 2014 linking ../game_r123456_32.... linking ../test /usr/bin/ld: cannot find -lmysqlclient /usr/bin/ld: cannot find -lmysqlclient gmake: *** [../game_r123456_32] Error 1 gmake: *** Waiting for unfinished jobs.... gmake: *** [../test] Error 1 He is compiling everything and then he cant link the gamefile Link to comment Share on other sites More sharing options...
Honorable Member NoFr1ends 751 Posted June 5, 2014 Honorable Member Share Posted June 5, 2014 linking ../game_r123456_32.... linking ../test /usr/bin/ld: cannot find -lmysqlclient /usr/bin/ld: cannot find -lmysqlclient gmake: *** [../game_r123456_32] Error 1 gmake: *** Waiting for unfinished jobs.... gmake: *** [../test] Error 1 He is compiling everything and then he cant link the gamefile /usr/bin/ld: cannot find -lmysqlclient nothing more to say. Install mysql client. Link to comment Share on other sites More sharing options...
DasKuchen 11 Posted June 5, 2014 Share Posted June 5, 2014 linking ../game_r123456_32.... linking ../test /usr/bin/ld: cannot find -lmysqlclient /usr/bin/ld: cannot find -lmysqlclient gmake: *** [../game_r123456_32] Error 1 gmake: *** Waiting for unfinished jobs.... gmake: *** [../test] Error 1 He is compiling everything and then he cant link the gamefile /usr/bin/ld: cannot find -lmysqlclient nothing more to say. Install mysql client. Is already installed thats the problem. Link to comment Share on other sites More sharing options...
M.Sorin 282 Posted July 4, 2014 Share Posted July 4, 2014 Succes for db mainline but the mainline game src don`t want to compile ) game perforce revision: 36229 root@:/usr/src/mainline/Srcs/Server/db/src 36229 - my revision game perforce revision: 37229 root@:/usr/src/mainline/Srcs/Server/game/src Finally! Link to comment Share on other sites More sharing options...
Ken 904 Posted July 14, 2014 Share Posted July 14, 2014 linking ../game_r123456_32.... linking ../test /usr/bin/ld: cannot find -lmysqlclient /usr/bin/ld: cannot find -lmysqlclient gmake: *** [../game_r123456_32] Error 1 gmake: *** Waiting for unfinished jobs.... gmake: *** [../test] Error 1 He is compiling everything and then he cant link the gamefile /usr/bin/ld: cannot find -lmysqlclient nothing more to say. Install mysql client. Is already installed thats the problem. Your game missing mysql client library in libmysql. Check it. if it's not exist, you can take it from novaline. Best Regards Ellie 1 Do not be sorry, be better. Link to comment Share on other sites More sharing options...
Shang 368 Posted August 7, 2014 Share Posted August 7, 2014 (edited) linking ../game_r123456_32.... linking ../test /usr/bin/ld: cannot find -lmysqlclient /usr/bin/ld: cannot find -lmysqlclient gmake: *** [../game_r123456_32] Error 1 gmake: *** Waiting for unfinished jobs.... gmake: *** [../test] Error 1 He is compiling everything and then he cant link the gamefile Fix: Open Makefile and #Mysql part it looks like this: Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Active Member ATAG 310 Posted August 7, 2014 Active Member Share Posted August 7, 2014 Add to makefile: LIBDIR += -L/usr/local/lib/mysql Link to comment Share on other sites More sharing options...
brianman 1 Posted August 26, 2014 Share Posted August 26, 2014 Help linking ../game_rUnversioned directory_32.... g++: directory_32: No such file or directory gmake: *** [../game_rUnversioned] Error 1 Link to comment Share on other sites More sharing options...
RachadoPT 26 Posted September 1, 2014 Share Posted September 1, 2014 (edited) I tried to compile the game source in mainline_released branch, just as i've seen in a tutorial in Metin2Zone and when i do gmake -j20 it says: Can anyone help me please? :s Greetz, RachadoPT Edited August 23, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Night 366 Posted September 1, 2014 Share Posted September 1, 2014 do this (still not tested) ln -s /usr/src/dev/Src/Extern /usr/src/mainline_released/mainline_Sg/Src if this does not work quote this post and i will upload an extern that works with it (tested) Link to comment Share on other sites More sharing options...
RachadoPT 26 Posted September 1, 2014 Share Posted September 1, 2014 do this (still not tested) ln -s /usr/src/dev/Src/Extern /usr/src/mainline_released/mainline_Sg/ if this does not work quote this post and i will upload an extern that works with it (tested) It didn't work... But if you're going to upload an extern that works can you please explain me where do i put it, and how do i get it to work well, all that stuff? please? :$ Sorry for asking all of that :$ Greetz, RachadoPT Link to comment Share on other sites More sharing options...
Night 366 Posted September 1, 2014 Share Posted September 1, 2014 do this (still not tested) ln -s /usr/src/dev/Src/Extern /usr/src/mainline_released/mainline_Sg/ if this does not work quote this post and i will upload an extern that works with it (tested) It didn't work... But if you're going to upload an extern that works can you please explain me where do i put it, and how do i get it to work well, all that stuff? please? :$ Sorry for asking all of that :$ Greetz, RachadoPT i edited the path a littel there was a small mistake + i will start uploading in case it didnt work and sorry cz this might take a littel while Link to comment Share on other sites More sharing options...
RachadoPT 26 Posted September 1, 2014 Share Posted September 1, 2014 do this (still not tested) ln -s /usr/src/dev/Src/Extern /usr/src/mainline_released/mainline_Sg/ if this does not work quote this post and i will upload an extern that works with it (tested) It didn't work... But if you're going to upload an extern that works can you please explain me where do i put it, and how do i get it to work well, all that stuff? please? :$ Sorry for asking all of that :$ Greetz, RachadoPT i edited the path a littel there was a small mistake + i will start uploading in case it didnt work and sorry cz this might take a littel while There is absolutly no problem with that... I'm the one who needs to be sorry because i'm always annoying you with problems idk how to resolve >< Link to comment Share on other sites More sharing options...
Night 366 Posted September 2, 2014 Share Posted September 2, 2014 do this (still not tested) ln -s /usr/src/dev/Src/Extern /usr/src/mainline_released/mainline_Sg/ if this does not work quote this post and i will upload an extern that works with it (tested) It didn't work... But if you're going to upload an extern that works can you please explain me where do i put it, and how do i get it to work well, all that stuff? please? :$ Sorry for asking all of that :$ Greetz, RachadoPT i edited the path a littel there was a small mistake + i will start uploading in case it didnt work and sorry cz this might take a littel while There is absolutly no problem with that... I'm the one who needs to be sorry because i'm always annoying you with problems idk how to resolve >< this should do it This is the hidden content, please Sign In or Sign Up upload it to /usr/src/mainline_released/mainline_Sg/Src and that should do it 1 Link to comment Share on other sites More sharing options...
RachadoPT 26 Posted September 2, 2014 Share Posted September 2, 2014 do this (still not tested) ln -s /usr/src/dev/Src/Extern /usr/src/mainline_released/mainline_Sg/ if this does not work quote this post and i will upload an extern that works with it (tested) It didn't work... But if you're going to upload an extern that works can you please explain me where do i put it, and how do i get it to work well, all that stuff? please? :$ Sorry for asking all of that :$ Greetz, RachadoPT i edited the path a littel there was a small mistake + i will start uploading in case it didnt work and sorry cz this might take a littel while There is absolutly no problem with that... I'm the one who needs to be sorry because i'm always annoying you with problems idk how to resolve >< this should do it This is the hidden content, please Sign In or Sign Up upload it to /usr/src/mainline_released/mainline_Sg/Src and that should do it Thank you dude, it worked! Even though i had many warnings, but i guess its okay for now xD Link to comment Share on other sites More sharing options...
Premium ahynoa 15 Posted September 2, 2014 Premium Share Posted September 2, 2014 Hi, can you tell me how i can up max level of Horses Link to comment Share on other sites More sharing options...
Management Karbust 4877 Posted September 26, 2014 Management Share Posted September 26, 2014 Hi I had tried to compile the db, but when I try say this: compile Config.cpp compile NetBase.cpp compile Peer.cpp compile PeerBase.cpp compile Main.cpp compile Lock.cpp compile DBManager.cpp compile Cache.cpp compile LoginData.cpp compile ClientManager.cpp compile ClientManagerPlayer.cpp compile ClientManagerLogin.cpp compile ClientManagerBoot.cpp compile ClientManagerParty.cpp compile ClientManagerGuild.cpp compile GuildManager.cpp compile HB.cpp In file included from ClientManager.cpp:6: ../../common/VnumHelper.h:59:32: warning: no newline at end of file compile MoneyLog.cpp compile ItemAwardManager.cpp compile PrivManager.cpp In file included from ClientManagerBoot.cpp:8: ProtoReader.h:36:7: warning: no newline at end of file Cache.cpp:365:7: warning: no newline at end of file ItemAwardManager.cpp:129:2: warning: no newline at end of file compile ClientManagerEventFlag.cpp compile Marriage.cpp compile Monarch.cpp compile BlockCountry.cpp compile ItemIDRangeManager.cpp compile ClientManagerHorseName.cpp g++: directory": No such file or directory <command-line>: warning: missing terminating " character version.cpp:11: error: missing terminating " character version.cpp: In function 'void WriteVersion()': version.cpp:11: error: expected primary-expression before ')' token gmake: *** [.obj/version.o] Error 1 gmake: *** Waiting for unfinished jobs.... ClientManagerBoot.cpp:20: error: expected initializer before 'if' gmake: *** [.obj/ClientManagerBoot.o] Error 1 ClientManagerPlayer.cpp: In member function 'char* CClientManager::GetCommand(char*)': ClientManagerPlayer.cpp:433: warning: address of local variable 'command' returned Someone now's how to resolve this?? Thanks Link to comment Share on other sites More sharing options...
Traceur3RUN 75 Posted September 26, 2014 Share Posted September 26, 2014 open makefile svn : 123456 (you version file) Link to comment Share on other sites More sharing options...
Alecs 1 Posted September 29, 2014 Share Posted September 29, 2014 linking ... /usr/bin/ld: cannot find -lmysqlclient gmake: *** [../db_r40146] Error 1 root@host:/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src # Can someone help me? Thanks 1 Link to comment Share on other sites More sharing options...
Alecs 1 Posted September 29, 2014 Share Posted September 29, 2014 Sory 2x post Link to comment Share on other sites More sharing options...
Former Staff flygun 302 Posted December 2, 2014 Former Staff Share Posted December 2, 2014 linking ... /usr/bin/ld: cannot find -lmysqlclient gmake: *** [../db_r40146] Error 1 root@host:/usr/src/mainline_released/mainline_sg/Srcs/Server/db/src # Can someone help me? Thanks search for this " LIBS += -lmysqlclient -lz " in Makefile and above it paste this " LIBDIR += -L/usr/local/lib/mysql " Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now