game összeállítási hiba

Indította Szekeny, 2023-07-02, 13:50:45

Sziasztok!


Használja valaki az eridanus2 serverfile-t?


Olyan problémám van vele, hogy haössze akarom állítani akkor a következő hibákat kapom:
root@turkmmo:/usr/src/source/Server/game/src # sh c.sh
cleaning ../game .obj
Note: gcc autodepend is autodetected, so target dep skipped
compiling attr_transfer.cpp
compiling BattleArena.cpp
compiling FSM.cpp
compiling MarkConvert.cpp
compiling MarkImage.cpp
compiling MarkManager.cpp
compiling OXEvent.cpp
compiling ani.cpp
compiling arena.cpp
compiling banword.cpp
compiling battle.cpp
compiling blend_item.cpp
compiling buffer_manager.cpp
compiling building.cpp
compiling char.cpp
compiling char2.cpp
compiling char_affect.cpp
compiling char_battle.cpp
compiling char_change_empire.cpp
compiling char_horse.cpp
compiling char_item.cpp
compiling char_manager.cpp
compiling char_quickslot.cpp
compiling char_resist.cpp
compiling char_skill.cpp
compiling char_state.cpp
compiling PetSystem.cpp
compiling cmd.cpp
compiling cmd_emotion.cpp
compiling cmd_general.cpp
compiling cmd_gm.cpp
compiling cmd_oxevent.cpp
compiling config.cpp
compiling constants.cpp
compiling crc32.cpp
compiling db.cpp
compiling desc.cpp
compiling desc_client.cpp
compiling desc_manager.cpp
compiling desc_p2p.cpp
compiling dev_log.cpp
compiling dungeon.cpp
compiling empire_text_convert.cpp
compiling entity.cpp
compiling entity_view.cpp
compiling event.cpp
compiling event_queue.cpp
compiling exchange.cpp
compiling file_loader.cpp
compiling fishing.cpp
compiling gm.cpp
compiling guild.cpp
compiling guild_manager.cpp
compiling guild_war.cpp
compiling horse_rider.cpp
compiling horsename_manager.cpp
compiling input.cpp
compiling input_auth.cpp
compiling input_db.cpp
compiling input_login.cpp
compiling input_main.cpp
compiling input_p2p.cpp
compiling input_teen.cpp
compiling input_udp.cpp
compiling ip_ban.cpp
compiling item.cpp
compiling item_addon.cpp
compiling item_attribute.cpp
compiling item_manager.cpp
compiling item_manager_idrange.cpp
compiling locale.cpp
compiling locale_service.cpp
compiling log.cpp
compiling login_data.cpp
compiling lzo_manager.cpp
compiling marriage.cpp
compiling messenger_manager.cpp
compiling mining.cpp
compiling mob_manager.cpp
compiling motion.cpp
compiling over9refine.cpp
compiling p2p.cpp
compiling packet_info.cpp
compiling party.cpp
compiling pcbang.cpp
compiling polymorph.cpp
compiling priv_manager.cpp
compiling pvp.cpp
compiling questevent.cpp
compiling questlua.cpp
compiling questlua_affect.cpp
compiling questlua_arena.cpp
compiling questlua_ba.cpp
compiling questlua_building.cpp
compiling questlua_danceevent.cpp
compiling questlua_dungeon.cpp
compiling questlua_game.cpp
compiling questlua_global.cpp
compiling questlua_guild.cpp
compiling questlua_horse.cpp
compiling questlua_pet.cpp
compiling questlua_item.cpp
compiling questlua_marriage.cpp
compiling questlua_npc.cpp
compiling questlua_oxevent.cpp
compiling questlua_party.cpp
compiling questlua_pc.cpp
compiling questlua_quest.cpp
compiling questlua_target.cpp
compiling questmanager.cpp
root@turkmmo:/usr/src/source/Server/game/src #

nope_log.txt tartalma:
In file included from attr_transfer.cpp:9:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from ani.cpp:12:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from battle.cpp:8:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from blend_item.cpp:15:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from fishing.h:5,
from char.cpp:20:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from char_affect.cpp:18:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from char_battle.cpp:7:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
char_battle.cpp: In member function 'bool CHARACTER::Damage(LPCHARACTER, int, EDamageType)':
char_battle.cpp:1761:6: warning: unused variable 'iCurHP' [-Wunused-variable]
1761 | int iCurHP = GetHP();
| ^~~~~~
char_battle.cpp:1762:6: warning: unused variable 'iCurSP' [-Wunused-variable]
1762 | int iCurSP = GetSP();
| ^~~~~~
In file included from char_horse.cpp:9:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from fishing.h:5,
from char_item.cpp:23:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from party.h:369,
from char_manager.cpp:8:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
char_manager.cpp: In member function 'const TEventManagerData* CHARACTER_MANAGER::CheckEventIsActive(BYTE, BYTE)':
char_manager.cpp:1257:19: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
1257 | for (const auto& [dayIndex, dayVector] : m_eventData)
| ^
char_manager.cpp:1255:18: warning: variable 'vKey' set but not used [-Wunused-but-set-variable]
1255 | const struct tm vKey = *localtime(&cur_Time);
| ^~~~
char_manager.cpp: In member function 'void CHARACTER_MANAGER::CompareEventSendData(TEMP_BUFFER*)':
char_manager.cpp:1404:19: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
1404 | for (const auto& [dayIndex, dayData] : m_eventData)
| ^
char_manager.cpp:1413:19: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
1413 | for (const auto& [dayIndex, dayData] : m_eventData)
| ^
In file included from char_quickslot.cpp:7:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from char_skill.cpp:14:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from party.h:369,
from char_state.cpp:10:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from PetSystem.cpp:13:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from party.h:369,
from cmd_general.cpp:19:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
cmd_general.cpp: In function 'void do_event_manager(LPCHARACTER, const char*, int, int)':
cmd_general.cpp:3434:52: warning: 'removeIndex' may be used uninitialized in this function [-Wmaybe-uninitialized]
3434 | if(CHARACTER_MANAGER::Instance().CloseEventManuel(removeIndex))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from fishing.h:5,
from cmd_gm.cpp:18:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
cmd_gm.cpp: In function 'void do_priv_guild(LPCHARACTER, const char*, int, int)':
cmd_gm.cpp:2920:31: warning: zero-length gnu_printf format string [-Wformat-zero-length]
2920 | snprintf(buf, sizeof(buf), msg, g->GetID());
| ^~~
In file included from db.cpp:13:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from party.h:369,
from desc_client.cpp:13:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from party.h:369,
from dungeon.cpp:5:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from exchange.cpp:7:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from fishing.h:5,
from fishing.cpp:4:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from fishing.h:5,
from input.cpp:15:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
input.cpp: In member function 'virtual bool CInputProcessor::process(LPDESC, const void*, int, int&)':
input.cpp:91:7: warning: unused variable 'originalPacketSize' [-Wunused-variable]
91 | int originalPacketSize = iPacketLen;
| ^~~~~~~~~~~~~~~~~~
input.cpp:92:8: warning: unused variable 'preAnalyzeSeq' [-Wunused-variable]
92 | BYTE preAnalyzeSeq = *(BYTE*)(c_pData + iPacketLen - sizeof(BYTE));
| ^~~~~~~~~~~~~
In file included from input_db.cpp:8:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from input_login.cpp:10:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from input_main.cpp:12:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from party.h:369,
from input_p2p.cpp:11:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from item.cpp:17:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from item_addon.cpp:4:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from item_attribute.cpp:4:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from item_manager.cpp:18:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
item_manager.cpp: In member function 'bool ITEM_MANAGER::GetDropPct(LPCHARACTER, LPCHARACTER, int&, int&)':
item_manager.cpp:1021:27: warning: operation on 'extraDrop' may be undefined [-Wsequence-point]
1021 | int extraDrop = extraDrop+=CPrivManager::instance().GetPriv(pkKiller, PRIV_ITEM_DROP)+(pkKiller->IsEquipUniqueItem(UNIQUE_ITEM_DOUBLE_ITEM) ? 100 : 0);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
item_manager.cpp:1021:27: warning: 'extraDrop' may be used uninitialized in this function [-Wmaybe-uninitialized]
1021 | int extraDrop = extraDrop+=CPrivManager::instance().GetPriv(pkKiller, PRIV_ITEM_DROP)+(pkKiller->IsEquipUniqueItem(UNIQUE_ITEM_DOUBLE_ITEM) ? 100 : 0);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from log.cpp:8:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from marriage.cpp:12:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from mining.cpp:6:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from over9refine.cpp:6:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from party.h:369,
from p2p.cpp:12:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from party.h:369,
from party.cpp:4:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from polymorph.cpp:5:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from party.h:369,
from pvp.cpp:22:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from party.h:369,
from questlua_dungeon.cpp:7:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
questlua_dungeon.cpp: In function 'int quest::dungeon_get_rank(lua_State*)':
questlua_dungeon.cpp:191:19: warning: 'level' may be used uninitialized in this function [-Wmaybe-uninitialized]
191 | ch->ChatPacket(CHAT_TYPE_COMMAND, "UpdateMyDungeonRanking %d %s %d %d", p, name, level, points);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
questlua_dungeon.cpp:191:19: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
questlua_dungeon.cpp:149:20: warning: 'level' may be used uninitialized in this function [-Wmaybe-uninitialized]
149 | ch->ChatPacket(CHAT_TYPE_COMMAND, "UpdateDungeonRanking %s %d %d", name, level, points);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from questlua_game.cpp:7:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from fishing.h:5,
from questlua_global.cpp:12:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from questlua_item.cpp:4:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from party.h:369,
from questlua_npc.cpp:6:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from party.h:369,
from questlua_party.cpp:5:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
In file included from questlua_pc.cpp:9:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
questlua_pc.cpp: In function 'int quest::pc_change_sex(lua_State*)':
questlua_pc.cpp:822:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
822 | if (item = ch->GetWear(WEAR_COSTUME_BODY)) {
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
questlua_pc.cpp:825:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
825 | } else if (item = ch->GetWear(WEAR_COSTUME_HAIR)) {
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from questmanager.cpp:13:
item.h:287:7: warning: extra tokens at end of #endif directive [-Wendif-labels]
287 | #endif;
| ^
questmanager.cpp:22:10: fatal error: boost/tokenizer.hpp: No such file or directory
22 | #include <boost/tokenizer.hpp>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake: *** [Makefile:177: .obj/questmanager.o] Error 1


Esetleg tud rá valaki megoldát ?  ;D
Discord: adminsmanji

2023-07-02, 14:03:37 #1 Utolsó szerkesztés: 2023-07-02, 14:06:46 Szerző: Szekeny
.
Discord: adminsmanji

A hibát sikerült javitanom.... de most új került elő....

/usr/local/bin/ld: /usr/lib/liblzma.a(check.o): in function `lzma_sha256_init':
/usr/src/contrib/xz/src/liblzma/check/check.h:143: undefined reference to `_libmd_SHA256_Init'
/usr/local/bin/ld: /usr/lib/liblzma.a(check.o): in function `lzma_sha256_update':
/usr/src/contrib/xz/src/liblzma/check/check.h:160: undefined reference to `_libmd_SHA256_Update'
/usr/local/bin/ld: /usr/lib/liblzma.a(check.o): in function `lzma_sha256_finish':
/usr/src/contrib/xz/src/liblzma/check/check.h:167: undefined reference to `_libmd_SHA256_Final'
collect2: error: ld returned 1 exit status
gmake: *** [Makefile:191: ../game] Error 1


Valaki esetleg?
Discord: adminsmanji

MEGOLDVA!
Discord: adminsmanji