compilare sursa

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
Cobra94
Nivel 1

Nivel 1
Mesaje: 144
Membru din: 29 Ian 2019, 22:14
Server: Metin2Romania
Regat: Chunjo
Aprecieri: 3  
Mulţumiri: 159  
Medalii

*Problemă: nu se creaza game_r40250_32
Tipologie server(PvM / PvP): pvm
*Resursă folosită: Exclusiv Just4Metin
*ServerFiles utilizat: Svf Metin2Rivaled
*Syserr:
Poză:
*Detalii suplimentare: Aceasta este ce imi da in puty cand incerc sa compilez

gmake: Warning: File `Makefile' has modification time 190404602 s in the future
compile BattleArena.cpp
compile black_event.cpp
compile FSM.cpp
compile MarkConvert.cpp
compile MarkImage.cpp
compile MarkManager.cpp
compile OXEvent.cpp
compile TrafficProfiler.cpp
compile ani.cpp
black_event.cpp: In function 'void black_event::kis_event()':
black_event.cpp:99:7: warning: unused variable 'kis' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
black_event.cpp: In function 'void black_event::futbol_event()':
black_event.cpp:143:373: warning: unused variable 'futbol' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
black_event.cpp: In function 'void black_event::ayisik_event()':
black_event.cpp:174:78: warning: unused variable 'ayisigi' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
black_event.cpp: In function 'void black_event::sonsuz_kis()':
black_event.cpp:205:152: warning: unused variable 'sonsuz_kis' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
black_event.cpp: In function 'void black_event::col_firtinasi()':
black_event.cpp:238:228: warning: unused variable 'col_sandigi' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
black_event.cpp: In function 'void black_event::Altigen()':
black_event.cpp:271:302: warning: unused variable 'altigen' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
compile arena.cpp
compile banword.cpp
compile battle.cpp
compile blend_item.cpp
compile block_country.cpp
compile buffer_manager.cpp
compile building.cpp
compile castle.cpp
compile char.cpp
compile char_affect.cpp
compile char_battle.cpp
compile char_change_empire.cpp
compile char_horse.cpp
compile char_item.cpp
compile char_manager.cpp
compile char_quickslot.cpp
compile char_resist.cpp
compile char_skill.cpp
compile char_state.cpp
compile PetSystem.cpp
compile cmd.cpp
compile cmd_emotion.cpp
compile cmd_general.cpp
compile cmd_gm.cpp
compile cmd_oxevent.cpp
compile config.cpp
config.cpp: In function 'void config_init(const string&)':
config.cpp:491:22: warning: NULL used in arithmetic [-Wpointer-arith]
if (NULL != line[0])
^
config.cpp:515:22: warning: NULL used in arithmetic [-Wpointer-arith]
if (NULL != line[0])
^
config.cpp:539:22: warning: NULL used in arithmetic [-Wpointer-arith]
if (NULL != line[0])
^
config.cpp:561:17: warning: unused variable 'line' [-Wunused-variable]
const char * line = two_arguments(value_string, openid_host, sizeof(openid_host), openid_uri, sizeof(openid_uri));
^
{standard input}: Assembler messages:
{standard input}: Warning: end of file not at end of a line; newline inserted
{standard input}: Assembler messages:
{standard input}: Warning: end of file not at end of a line; newline inserted
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
{standard input}:471: Error: number of operands mismatch for `mov'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
gmake: *** [OBJDIR/cmd_general.o] Error 4
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
gmake: *** Waiting for unfinished jobs....
gmake: *** [OBJDIR/config.o] Error 4
gmake: *** [OBJDIR/cmd_gm.o] Error 4
gmake: *** [OBJDIR/cmd_emotion.o] Error 4
gmake: *** [OBJDIR/cmd.o] Error 4
gmake: *** [OBJDIR/PetSystem.o] Error 4
gmake: *** [OBJDIR/char_battle.o] Error 4
gmake: *** [OBJDIR/building.o] Error 4
In file included from ../../libthecore/include/stdafx.h:141:0,
from stdafx.h:9,
from char_item.cpp:1:
belt_inventory_helper.h: In static member function 'static CBeltInventoryHelper::TGradeUnit CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)':
../../libthecore/include/utils.h:143:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define _countof(_Array) sizeof(*__countof_helper(_Array))
^
belt_inventory_helper.h:28:16: note: in expansion of macro '_countof'
if (level >= _countof(beltGradeByLevelTable))
^
char_item.cpp: In member function 'bool CHARACTER::UseItemEx(LPITEM, TItemPos)':
char_item.cpp:2198:41: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
std::vector <LPITEM> item_gets(NULL);
^
char_item.cpp:2262:40: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
std::vector <LPITEM> item_gets(NULL);
^
char_item.cpp:2622:162: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
sprintf(buf, "Inc %ds by item{VN:%d SOC%d:%d}", ret, item->GetVnum(), ITEM_SOCKET_CHARGING_AMOUNT_IDX, item->GetSocket(ITEM_SOCKET_CHARGING_AMOUNT_IDX));
^
char_item.cpp:2626:159: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
sprintf(buf, "Inc %ds by item{VN:%d VAL%d:%d}", ret, item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
^
char_item.cpp:2638:159: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
sprintf(buf, "No change by item{VN:%d SOC%d:%d}", item->GetVnum(), ITEM_SOCKET_CHARGING_AMOUNT_IDX, item->GetSocket(ITEM_SOCKET_CHARGING_AMOUNT_IDX));
^
char_item.cpp:2642:156: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
sprintf(buf, "No change by item{VN:%d VAL%d:%d}", item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
^
char_item.cpp:2669:163: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
sprintf(buf, "Increase %ds by item{VN:%d VAL%d:%d}", ret, item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
^
char_item.cpp:2677:155: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
sprintf(buf, "No change by item{VN:%d VAL%d:%d}", item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
^
char_item.cpp:3857:45: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
std::vector <LPITEM> item_gets(NULL);
^
char_item.cpp:3861:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (item->GetVnum() == ITEM_VALENTINE_ROSE && SEX_MALE==GET_SEX(this) ||
^
char_item.cpp:3881:45: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
std::vector <LPITEM> item_gets(NULL);
^
char_item.cpp:3885:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (item->GetVnum() == ITEM_WHITEDAY_CANDY && SEX_MALE==GET_SEX(this) ||
^
char_item.cpp:3904:45: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
std::vector <LPITEM> item_gets(NULL);
^
In file included from ../../libthecore/include/stdafx.h:141:0,
from stdafx.h:9,
from char_item.cpp:1:
../../libthecore/include/utils.h:143:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define _countof(_Array) sizeof(*__countof_helper(_Array))
^
char_item.cpp:5358:31: note: in expansion of macro '_countof'
if (item->GetSocket(0) >= _countof(aApplyInfo))
^
char_item.cpp:1900:6: warning: variable 'iLimitTimerBasedOnWearFlagIndex' set but not used [-Wunused-but-set-variable]
int iLimitTimerBasedOnWearFlagIndex = -1;
^
char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
char_item.cpp:5584:22: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
if (item->GetVnum() == 50200 | item->GetVnum() == 71049)
^
char_item.cpp:5430:7: warning: unused variable 'wDestCell' [-Wunused-variable]
WORD wDestCell = DestCell.cell;
^
char_item.cpp:5431:7: warning: unused variable 'bDestInven' [-Wunused-variable]
BYTE bDestInven = DestCell.window_type;
^
char_item.cpp: In member function 'bool CHARACTER::EquipItem(LPITEM, int)':
char_item.cpp:6802:141: warning: array subscript has type 'char' [-Wchar-subscripts]
long duration = (0 != item->GetSocket(0)) ? item->GetSocket(0) : item->GetProto()->aLimits[item->GetProto()->cLimitRealTimeFirstUseIndex].lValue;
^
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(LPITEM)':
char_item.cpp:6887:79: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < sizeof(g_aBuffOnAttrPoints)/sizeof(g_aBuffOnAttrPoints[0]); i++)
^
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(LPITEM)':
char_item.cpp:6899:79: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < sizeof(g_aBuffOnAttrPoints)/sizeof(g_aBuffOnAttrPoints[0]); i++)
^
char_item.cpp: In member function 'bool CHARACTER::InformationSpecialItemGroup(DWORD, std::vector<unsigned int>&, std::vector<unsigned int>&, std::vector<CItem*>&, int&)':
char_item.cpp:7751:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < CountTotal; i++)
^
char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
char_item.cpp:778:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
char_skill.cpp: In member function 'bool CHARACTER::UseSkill(DWORD, LPCHARACTER, bool)':
char_skill.cpp:2527:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (IsAffectFlag(AFF_TANHWAN_DASH) || pkVictim && pkVictim != this)
^
char_skill.cpp:2633:96: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (pkSk->dwVnum == SKILL_MUYEONG || pkSk->IsChargeSkill() && !IsAffectFlag(AFF_TANHWAN_DASH) && !pkVictim)
^
char_state.cpp: In member function 'virtual void CHARACTER::StateMove()':
char_state.cpp:803:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (!IsWalking() && !IsRiding())
^
char_state.cpp:901:17: warning: unused variable 'rider' [-Wunused-variable]
LPCHARACTER rider = GetRider();
^
char.cpp: In member function 'void CHARACTER::Disconnect(const char*)':
char.cpp:1413:97: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long int' [-Wformat=]
inet_ntoa(GetDesc()->GetAddr().sin_addr), GetGold(), g_bChannel, GetMapIndex(), GetAlignment());
^
char.cpp:1413:97: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long int' [-Wformat=]
char.cpp: In member function 'int CHARACTER::GetPolymorphPoint(BYTE) const':
char.cpp:3043:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (GetJob() == JOB_SHAMAN || GetJob() == JOB_SURA && GetSkillGroup() == 2)
^
char.cpp: In member function 'void CHARACTER::SetTarget(LPCHARACTER)':
char.cpp:5704:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (m_pkChrTarget->IsPC() && !m_pkChrTarget->IsPolymorphed() || m_pkChrTarget->GetMaxHP() <= 0)
^
char.cpp: In member function 'bool CHARACTER::CanSummon(int)':
char.cpp:6890:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return (iLeaderShip >= 20 || iLeaderShip >= 12 && m_dwLastDeadTime + 180 > get_dword_time());
^
root@localhost:/usr/src/average-core/Srcs/Server/game/src #
Avatar utilizator
[RaffaeL]
Software Developer

Software Developer
Mesaje: 3223
Membru din: 19 Mar 2016, 12:58
Server: ...
Aprecieri: 15  
Mulţumiri: 2502  
  Rezolvări prob.: 2
Discord: Copiază ID
 Contact:
Medalii

Cobra94 scrie:*Problemă: nu se creaza game_r40250_32
Tipologie server(PvM / PvP): pvm
*Resursă folosită: Exclusiv Just4Metin
*ServerFiles utilizat: Svf Metin2Rivaled
*Syserr:
Poză:
*Detalii suplimentare: Aceasta este ce imi da in puty cand incerc sa compilez

gmake: Warning: File `Makefile' has modification time 190404602 s in the future
compile BattleArena.cpp
compile black_event.cpp
compile FSM.cpp
compile MarkConvert.cpp
compile MarkImage.cpp
compile MarkManager.cpp
compile OXEvent.cpp
compile TrafficProfiler.cpp
compile ani.cpp
black_event.cpp: In function 'void black_event::kis_event()':
black_event.cpp:99:7: warning: unused variable 'kis' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
black_event.cpp: In function 'void black_event::futbol_event()':
black_event.cpp:143:373: warning: unused variable 'futbol' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
black_event.cpp: In function 'void black_event::ayisik_event()':
black_event.cpp:174:78: warning: unused variable 'ayisigi' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
black_event.cpp: In function 'void black_event::sonsuz_kis()':
black_event.cpp:205:152: warning: unused variable 'sonsuz_kis' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
black_event.cpp: In function 'void black_event::col_firtinasi()':
black_event.cpp:238:228: warning: unused variable 'col_sandigi' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
black_event.cpp: In function 'void black_event::Altigen()':
black_event.cpp:271:302: warning: unused variable 'altigen' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
compile arena.cpp
compile banword.cpp
compile battle.cpp
compile blend_item.cpp
compile block_country.cpp
compile buffer_manager.cpp
compile building.cpp
compile castle.cpp
compile char.cpp
compile char_affect.cpp
compile char_battle.cpp
compile char_change_empire.cpp
compile char_horse.cpp
compile char_item.cpp
compile char_manager.cpp
compile char_quickslot.cpp
compile char_resist.cpp
compile char_skill.cpp
compile char_state.cpp
compile PetSystem.cpp
compile cmd.cpp
compile cmd_emotion.cpp
compile cmd_general.cpp
compile cmd_gm.cpp
compile cmd_oxevent.cpp
compile config.cpp
config.cpp: In function 'void config_init(const string&)':
config.cpp:491:22: warning: NULL used in arithmetic [-Wpointer-arith]
if (NULL != line[0])
^
config.cpp:515:22: warning: NULL used in arithmetic [-Wpointer-arith]
if (NULL != line[0])
^
config.cpp:539:22: warning: NULL used in arithmetic [-Wpointer-arith]
if (NULL != line[0])
^
config.cpp:561:17: warning: unused variable 'line' [-Wunused-variable]
const char * line = two_arguments(value_string, openid_host, sizeof(openid_host), openid_uri, sizeof(openid_uri));
^
{standard input}: Assembler messages:
{standard input}: Warning: end of file not at end of a line; newline inserted
{standard input}: Assembler messages:
{standard input}: Warning: end of file not at end of a line; newline inserted
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
{standard input}:471: Error: number of operands mismatch for `mov'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
gmake: *** [OBJDIR/cmd_general.o] Error 4
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
gmake: *** Waiting for unfinished jobs....
gmake: *** [OBJDIR/config.o] Error 4
gmake: *** [OBJDIR/cmd_gm.o] Error 4
gmake: *** [OBJDIR/cmd_emotion.o] Error 4
gmake: *** [OBJDIR/cmd.o] Error 4
gmake: *** [OBJDIR/PetSystem.o] Error 4
gmake: *** [OBJDIR/char_battle.o] Error 4
gmake: *** [OBJDIR/building.o] Error 4
In file included from ../../libthecore/include/stdafx.h:141:0,
from stdafx.h:9,
from char_item.cpp:1:
belt_inventory_helper.h: In static member function 'static CBeltInventoryHelper::TGradeUnit CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)':
../../libthecore/include/utils.h:143:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define _countof(_Array) sizeof(*__countof_helper(_Array))
^
belt_inventory_helper.h:28:16: note: in expansion of macro '_countof'
if (level >= _countof(beltGradeByLevelTable))
^
char_item.cpp: In member function 'bool CHARACTER::UseItemEx(LPITEM, TItemPos)':
char_item.cpp:2198:41: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
std::vector <LPITEM> item_gets(NULL);
^
char_item.cpp:2262:40: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
std::vector <LPITEM> item_gets(NULL);
^
char_item.cpp:2622:162: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
sprintf(buf, "Inc %ds by item{VN:%d SOC%d:%d}", ret, item->GetVnum(), ITEM_SOCKET_CHARGING_AMOUNT_IDX, item->GetSocket(ITEM_SOCKET_CHARGING_AMOUNT_IDX));
^
char_item.cpp:2626:159: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
sprintf(buf, "Inc %ds by item{VN:%d VAL%d:%d}", ret, item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
^
char_item.cpp:2638:159: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
sprintf(buf, "No change by item{VN:%d SOC%d:%d}", item->GetVnum(), ITEM_SOCKET_CHARGING_AMOUNT_IDX, item->GetSocket(ITEM_SOCKET_CHARGING_AMOUNT_IDX));
^
char_item.cpp:2642:156: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
sprintf(buf, "No change by item{VN:%d VAL%d:%d}", item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
^
char_item.cpp:2669:163: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
sprintf(buf, "Increase %ds by item{VN:%d VAL%d:%d}", ret, item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
^
char_item.cpp:2677:155: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
sprintf(buf, "No change by item{VN:%d VAL%d:%d}", item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
^
char_item.cpp:3857:45: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
std::vector <LPITEM> item_gets(NULL);
^
char_item.cpp:3861:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (item->GetVnum() == ITEM_VALENTINE_ROSE && SEX_MALE==GET_SEX(this) ||
^
char_item.cpp:3881:45: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
std::vector <LPITEM> item_gets(NULL);
^
char_item.cpp:3885:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (item->GetVnum() == ITEM_WHITEDAY_CANDY && SEX_MALE==GET_SEX(this) ||
^
char_item.cpp:3904:45: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
std::vector <LPITEM> item_gets(NULL);
^
In file included from ../../libthecore/include/stdafx.h:141:0,
from stdafx.h:9,
from char_item.cpp:1:
../../libthecore/include/utils.h:143:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define _countof(_Array) sizeof(*__countof_helper(_Array))
^
char_item.cpp:5358:31: note: in expansion of macro '_countof'
if (item->GetSocket(0) >= _countof(aApplyInfo))
^
char_item.cpp:1900:6: warning: variable 'iLimitTimerBasedOnWearFlagIndex' set but not used [-Wunused-but-set-variable]
int iLimitTimerBasedOnWearFlagIndex = -1;
^
char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
char_item.cpp:5584:22: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
if (item->GetVnum() == 50200 | item->GetVnum() == 71049)
^
char_item.cpp:5430:7: warning: unused variable 'wDestCell' [-Wunused-variable]
WORD wDestCell = DestCell.cell;
^
char_item.cpp:5431:7: warning: unused variable 'bDestInven' [-Wunused-variable]
BYTE bDestInven = DestCell.window_type;
^
char_item.cpp: In member function 'bool CHARACTER::EquipItem(LPITEM, int)':
char_item.cpp:6802:141: warning: array subscript has type 'char' [-Wchar-subscripts]
long duration = (0 != item->GetSocket(0)) ? item->GetSocket(0) : item->GetProto()->aLimits[item->GetProto()->cLimitRealTimeFirstUseIndex].lValue;
^
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(LPITEM)':
char_item.cpp:6887:79: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < sizeof(g_aBuffOnAttrPoints)/sizeof(g_aBuffOnAttrPoints[0]); i++)
^
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(LPITEM)':
char_item.cpp:6899:79: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < sizeof(g_aBuffOnAttrPoints)/sizeof(g_aBuffOnAttrPoints[0]); i++)
^
char_item.cpp: In member function 'bool CHARACTER::InformationSpecialItemGroup(DWORD, std::vector<unsigned int>&, std::vector<unsigned int>&, std::vector<CItem*>&, int&)':
char_item.cpp:7751:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < CountTotal; i++)
^
char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
char_item.cpp:778:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
char_skill.cpp: In member function 'bool CHARACTER::UseSkill(DWORD, LPCHARACTER, bool)':
char_skill.cpp:2527:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (IsAffectFlag(AFF_TANHWAN_DASH) || pkVictim && pkVictim != this)
^
char_skill.cpp:2633:96: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (pkSk->dwVnum == SKILL_MUYEONG || pkSk->IsChargeSkill() && !IsAffectFlag(AFF_TANHWAN_DASH) && !pkVictim)
^
char_state.cpp: In member function 'virtual void CHARACTER::StateMove()':
char_state.cpp:803:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (!IsWalking() && !IsRiding())
^
char_state.cpp:901:17: warning: unused variable 'rider' [-Wunused-variable]
LPCHARACTER rider = GetRider();
^
char.cpp: In member function 'void CHARACTER::Disconnect(const char*)':
char.cpp:1413:97: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long int' [-Wformat=]
inet_ntoa(GetDesc()->GetAddr().sin_addr), GetGold(), g_bChannel, GetMapIndex(), GetAlignment());
^
char.cpp:1413:97: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long int' [-Wformat=]
char.cpp: In member function 'int CHARACTER::GetPolymorphPoint(BYTE) const':
char.cpp:3043:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (GetJob() == JOB_SHAMAN || GetJob() == JOB_SURA && GetSkillGroup() == 2)
^
char.cpp: In member function 'void CHARACTER::SetTarget(LPCHARACTER)':
char.cpp:5704:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (m_pkChrTarget->IsPC() && !m_pkChrTarget->IsPolymorphed() || m_pkChrTarget->GetMaxHP() <= 0)
^
char.cpp: In member function 'bool CHARACTER::CanSummon(int)':
char.cpp:6890:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return (iLeaderShip >= 20 || iLeaderShip >= 12 && m_dwLastDeadTime + 180 > get_dword_time());
^
root@localhost:/usr/src/average-core/Srcs/Server/game/src #
gmake: Warning: File `Makefile' has modification time 190404602 s in the future-> anuleaza skew clock detect, ruland

Cod: Selectaţi tot

usr/src/Sursa ta/game
find . -type f | xargs -n 5 touch
config.cpp:539:22: warning: NULL used in arithmetic [-Wpointer-arith] ->schimba NULL != orice ai acolo, cu definitia respectiva != 0

g++48: internal compiler error: Killed: 9 (program cc1plus) -> foloseste gmake -j1, pentru ca esti "out of memory", si din aceasta cauza bsd-ul tau inchide procesele(cu cat este mai mare cifra adaugata dupa "j", cu atat sunt executate mai multe procese in acelasi timp; ex: j20=> 20 procese simultan...Sper ca ai inteles.).

Pentru moment, ignora celelalte warn-uri.
Pentru acest mesaj, [RaffaeL] a primit 2 (de) mulţumiri
Clawders • alexandu91
Imagine
Imagine
https://www.youtube.com/watch?v=GhYkCIETEto
Do everything, if you know what you're doing, else... Imagine
Ma gasesti si aici: Discord https://discord.gg/5J5GnyZVSR
Afișează semnătura
Avatar utilizator
Cobra94
Nivel 1

Nivel 1
Mesaje: 144
Membru din: 29 Ian 2019, 22:14
Server: Metin2Romania
Regat: Chunjo
Aprecieri: 3  
Mulţumiri: 159  
Medalii

[RaffaeL] scrie:
Cobra94 scrie:*Problemă: nu se creaza game_r40250_32
Tipologie server(PvM / PvP): pvm
*Resursă folosită: Exclusiv Just4Metin
*ServerFiles utilizat: Svf Metin2Rivaled
*Syserr:
Poză:
*Detalii suplimentare: Aceasta este ce imi da in puty cand incerc sa compilez

gmake: Warning: File `Makefile' has modification time 190404602 s in the future
compile BattleArena.cpp
compile black_event.cpp
compile FSM.cpp
compile MarkConvert.cpp
compile MarkImage.cpp
compile MarkManager.cpp
compile OXEvent.cpp
compile TrafficProfiler.cpp
compile ani.cpp
black_event.cpp: In function 'void black_event::kis_event()':
black_event.cpp:99:7: warning: unused variable 'kis' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
black_event.cpp: In function 'void black_event::futbol_event()':
black_event.cpp:143:373: warning: unused variable 'futbol' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
black_event.cpp: In function 'void black_event::ayisik_event()':
black_event.cpp:174:78: warning: unused variable 'ayisigi' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
black_event.cpp: In function 'void black_event::sonsuz_kis()':
black_event.cpp:205:152: warning: unused variable 'sonsuz_kis' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
black_event.cpp: In function 'void black_event::col_firtinasi()':
black_event.cpp:238:228: warning: unused variable 'col_sandigi' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
black_event.cpp: In function 'void black_event::Altigen()':
black_event.cpp:271:302: warning: unused variable 'altigen' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
compile arena.cpp
compile banword.cpp
compile battle.cpp
compile blend_item.cpp
compile block_country.cpp
compile buffer_manager.cpp
compile building.cpp
compile castle.cpp
compile char.cpp
compile char_affect.cpp
compile char_battle.cpp
compile char_change_empire.cpp
compile char_horse.cpp
compile char_item.cpp
compile char_manager.cpp
compile char_quickslot.cpp
compile char_resist.cpp
compile char_skill.cpp
compile char_state.cpp
compile PetSystem.cpp
compile cmd.cpp
compile cmd_emotion.cpp
compile cmd_general.cpp
compile cmd_gm.cpp
compile cmd_oxevent.cpp
compile config.cpp
config.cpp: In function 'void config_init(const string&)':
config.cpp:491:22: warning: NULL used in arithmetic [-Wpointer-arith]
if (NULL != line[0])
^
config.cpp:515:22: warning: NULL used in arithmetic [-Wpointer-arith]
if (NULL != line[0])
^
config.cpp:539:22: warning: NULL used in arithmetic [-Wpointer-arith]
if (NULL != line[0])
^
config.cpp:561:17: warning: unused variable 'line' [-Wunused-variable]
const char * line = two_arguments(value_string, openid_host, sizeof(openid_host), openid_uri, sizeof(openid_uri));
^
{standard input}: Assembler messages:
{standard input}: Warning: end of file not at end of a line; newline inserted
{standard input}: Assembler messages:
{standard input}: Warning: end of file not at end of a line; newline inserted
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
{standard input}:471: Error: number of operands mismatch for `mov'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
gmake: *** [OBJDIR/cmd_general.o] Error 4
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
gmake: *** Waiting for unfinished jobs....
gmake: *** [OBJDIR/config.o] Error 4
gmake: *** [OBJDIR/cmd_gm.o] Error 4
gmake: *** [OBJDIR/cmd_emotion.o] Error 4
gmake: *** [OBJDIR/cmd.o] Error 4
gmake: *** [OBJDIR/PetSystem.o] Error 4
gmake: *** [OBJDIR/char_battle.o] Error 4
gmake: *** [OBJDIR/building.o] Error 4
In file included from ../../libthecore/include/stdafx.h:141:0,
from stdafx.h:9,
from char_item.cpp:1:
belt_inventory_helper.h: In static member function 'static CBeltInventoryHelper::TGradeUnit CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)':
../../libthecore/include/utils.h:143:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define _countof(_Array) sizeof(*__countof_helper(_Array))
^
belt_inventory_helper.h:28:16: note: in expansion of macro '_countof'
if (level >= _countof(beltGradeByLevelTable))
^
char_item.cpp: In member function 'bool CHARACTER::UseItemEx(LPITEM, TItemPos)':
char_item.cpp:2198:41: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
std::vector <LPITEM> item_gets(NULL);
^
char_item.cpp:2262:40: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
std::vector <LPITEM> item_gets(NULL);
^
char_item.cpp:2622:162: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
sprintf(buf, "Inc %ds by item{VN:%d SOC%d:%d}", ret, item->GetVnum(), ITEM_SOCKET_CHARGING_AMOUNT_IDX, item->GetSocket(ITEM_SOCKET_CHARGING_AMOUNT_IDX));
^
char_item.cpp:2626:159: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
sprintf(buf, "Inc %ds by item{VN:%d VAL%d:%d}", ret, item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
^
char_item.cpp:2638:159: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
sprintf(buf, "No change by item{VN:%d SOC%d:%d}", item->GetVnum(), ITEM_SOCKET_CHARGING_AMOUNT_IDX, item->GetSocket(ITEM_SOCKET_CHARGING_AMOUNT_IDX));
^
char_item.cpp:2642:156: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
sprintf(buf, "No change by item{VN:%d VAL%d:%d}", item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
^
char_item.cpp:2669:163: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
sprintf(buf, "Increase %ds by item{VN:%d VAL%d:%d}", ret, item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
^
char_item.cpp:2677:155: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
sprintf(buf, "No change by item{VN:%d VAL%d:%d}", item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
^
char_item.cpp:3857:45: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
std::vector <LPITEM> item_gets(NULL);
^
char_item.cpp:3861:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (item->GetVnum() == ITEM_VALENTINE_ROSE && SEX_MALE==GET_SEX(this) ||
^
char_item.cpp:3881:45: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
std::vector <LPITEM> item_gets(NULL);
^
char_item.cpp:3885:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (item->GetVnum() == ITEM_WHITEDAY_CANDY && SEX_MALE==GET_SEX(this) ||
^
char_item.cpp:3904:45: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
std::vector <LPITEM> item_gets(NULL);
^
In file included from ../../libthecore/include/stdafx.h:141:0,
from stdafx.h:9,
from char_item.cpp:1:
../../libthecore/include/utils.h:143:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define _countof(_Array) sizeof(*__countof_helper(_Array))
^
char_item.cpp:5358:31: note: in expansion of macro '_countof'
if (item->GetSocket(0) >= _countof(aApplyInfo))
^
char_item.cpp:1900:6: warning: variable 'iLimitTimerBasedOnWearFlagIndex' set but not used [-Wunused-but-set-variable]
int iLimitTimerBasedOnWearFlagIndex = -1;
^
char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
char_item.cpp:5584:22: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
if (item->GetVnum() == 50200 | item->GetVnum() == 71049)
^
char_item.cpp:5430:7: warning: unused variable 'wDestCell' [-Wunused-variable]
WORD wDestCell = DestCell.cell;
^
char_item.cpp:5431:7: warning: unused variable 'bDestInven' [-Wunused-variable]
BYTE bDestInven = DestCell.window_type;
^
char_item.cpp: In member function 'bool CHARACTER::EquipItem(LPITEM, int)':
char_item.cpp:6802:141: warning: array subscript has type 'char' [-Wchar-subscripts]
long duration = (0 != item->GetSocket(0)) ? item->GetSocket(0) : item->GetProto()->aLimits[item->GetProto()->cLimitRealTimeFirstUseIndex].lValue;
^
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(LPITEM)':
char_item.cpp:6887:79: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < sizeof(g_aBuffOnAttrPoints)/sizeof(g_aBuffOnAttrPoints[0]); i++)
^
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(LPITEM)':
char_item.cpp:6899:79: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < sizeof(g_aBuffOnAttrPoints)/sizeof(g_aBuffOnAttrPoints[0]); i++)
^
char_item.cpp: In member function 'bool CHARACTER::InformationSpecialItemGroup(DWORD, std::vector<unsigned int>&, std::vector<unsigned int>&, std::vector<CItem*>&, int&)':
char_item.cpp:7751:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < CountTotal; i++)
^
char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
char_item.cpp:778:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
char_skill.cpp: In member function 'bool CHARACTER::UseSkill(DWORD, LPCHARACTER, bool)':
char_skill.cpp:2527:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (IsAffectFlag(AFF_TANHWAN_DASH) || pkVictim && pkVictim != this)
^
char_skill.cpp:2633:96: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (pkSk->dwVnum == SKILL_MUYEONG || pkSk->IsChargeSkill() && !IsAffectFlag(AFF_TANHWAN_DASH) && !pkVictim)
^
char_state.cpp: In member function 'virtual void CHARACTER::StateMove()':
char_state.cpp:803:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (!IsWalking() && !IsRiding())
^
char_state.cpp:901:17: warning: unused variable 'rider' [-Wunused-variable]
LPCHARACTER rider = GetRider();
^
char.cpp: In member function 'void CHARACTER::Disconnect(const char*)':
char.cpp:1413:97: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long int' [-Wformat=]
inet_ntoa(GetDesc()->GetAddr().sin_addr), GetGold(), g_bChannel, GetMapIndex(), GetAlignment());
^
char.cpp:1413:97: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long int' [-Wformat=]
char.cpp: In member function 'int CHARACTER::GetPolymorphPoint(BYTE) const':
char.cpp:3043:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (GetJob() == JOB_SHAMAN || GetJob() == JOB_SURA && GetSkillGroup() == 2)
^
char.cpp: In member function 'void CHARACTER::SetTarget(LPCHARACTER)':
char.cpp:5704:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (m_pkChrTarget->IsPC() && !m_pkChrTarget->IsPolymorphed() || m_pkChrTarget->GetMaxHP() <= 0)
^
char.cpp: In member function 'bool CHARACTER::CanSummon(int)':
char.cpp:6890:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return (iLeaderShip >= 20 || iLeaderShip >= 12 && m_dwLastDeadTime + 180 > get_dword_time());
^
root@localhost:/usr/src/average-core/Srcs/Server/game/src #
gmake: Warning: File `Makefile' has modification time 190404602 s in the future-> anuleaza skew clock detect, ruland

Cod: Selectaţi tot

usr/src/Sursa ta/game
find . -type f | xargs -n 5 touch
config.cpp:539:22: warning: NULL used in arithmetic [-Wpointer-arith] ->schimba NULL != orice ai acolo, cu definitia respectiva != 0

g++48: internal compiler error: Killed: 9 (program cc1plus) -> foloseste gmake -j1, pentru ca esti "out of memory", si din aceasta cauza bsd-ul tau inchide procesele(cu cat este mai mare cifra adaugata dupa "j", cu atat sunt executate mai multe procese in acelasi timp; ex: j20=> 20 procese simultan...Sper ca ai inteles.).

Pentru moment, ignora celelalte warn-uri.
imediat verific si revin cu edit
Avatar utilizator
Cobra94
Nivel 1

Nivel 1
Mesaje: 144
Membru din: 29 Ian 2019, 22:14
Server: Metin2Romania
Regat: Chunjo
Aprecieri: 3  
Mulţumiri: 159  
Medalii

Cobra94 scrie:
[RaffaeL] scrie:
Cobra94 scrie:*Problemă: nu se creaza game_r40250_32
Tipologie server(PvM / PvP): pvm
*Resursă folosită: Exclusiv Just4Metin
*ServerFiles utilizat: Svf Metin2Rivaled
*Syserr:
Poză:
*Detalii suplimentare: Aceasta este ce imi da in puty cand incerc sa compilez

gmake: Warning: File `Makefile' has modification time 190404602 s in the future-> anuleaza skew clock detect, ruland

Cod: Selectaţi tot

usr/src/Sursa ta/game
find . -type f | xargs -n 5 touch
config.cpp:539:22: warning: NULL used in arithmetic [-Wpointer-arith] ->schimba NULL != orice ai acolo, cu definitia respectiva != 0

g++48: internal compiler error: Killed: 9 (program cc1plus) -> foloseste gmake -j1, pentru ca esti "out of memory", si din aceasta cauza bsd-ul tau inchide procesele(cu cat este mai mare cifra adaugata dupa "j", cu atat sunt executate mai multe procese in acelasi timp; ex: j20=> 20 procese simultan...Sper ca ai inteles.).

Pentru moment, ignora celelalte warn-uri.
imediat verific si revin cu edit
gmake: *** [OBJDIR/config.o] Error 1
imi da aceasta eroare si nu gasesc config.o in OBJDIR ca sa il sterg , din cate stiu asa se rezolva ca sa se reinstaleze
Avatar utilizator
[RaffaeL]
Software Developer

Software Developer
Mesaje: 3223
Membru din: 19 Mar 2016, 12:58
Server: ...
Aprecieri: 15  
Mulţumiri: 2502  
  Rezolvări prob.: 2
Discord: Copiază ID
 Contact:
Medalii

Sterge tot ce este in objdir, si recompileaza clean.
Imagine
Imagine
https://www.youtube.com/watch?v=GhYkCIETEto
Do everything, if you know what you're doing, else... Imagine
Ma gasesti si aici: Discord https://discord.gg/5J5GnyZVSR
Afișează semnătura
Avatar utilizator
Cobra94
Nivel 1

Nivel 1
Mesaje: 144
Membru din: 29 Ian 2019, 22:14
Server: Metin2Romania
Regat: Chunjo
Aprecieri: 3  
Mulţumiri: 159  
Medalii

[RaffaeL] scrie:Sterge tot ce este in objdir, si recompileaza clean.
aceiasi eroare cu objdir clean :(
http://prntscr.com/mkq4vd nu este niciun config :O
Avatar utilizator
Cobra94
Nivel 1

Nivel 1
Mesaje: 144
Membru din: 29 Ian 2019, 22:14
Server: Metin2Romania
Regat: Chunjo
Aprecieri: 3  
Mulţumiri: 159  
Medalii

up
Avatar utilizator
Titan
Metin Master

Metin Master
Mesaje: 2783
Membru din: 01 Iun 2015, 15:09
Server: In curand.
Regat: Chunjo
Aprecieri: 42  
Mulţumiri: 377  
  Rezolvări prob.: 3
Discord: Copiază ID
 Contact:
Medalii

Gmake clean

[ Postat de pe Android ] Imagine
Imagine
Afișează semnătura
Avatar utilizator
Diaconu
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 754
Membru din: 07 Aug 2013, 21:42
Aprecieri: 0
Mulţumiri: 43  
 Contact:
Medalii

sterge cum a spus si Raffael mai sus objdir apoi gmake clean default si iti va merge.
Imagine
Mult prea slab sa controlez puterea,
Mult prea mic sa inteleg durerea.
Discord: Diaconu#6969 pentru orice fel de ajutor
Afișează semnătura
Avatar utilizator
FRANCIS
Administrator Adjunct

Administrator Adjunct
Mesaje: 7879
Membru din: 06 Noi 2015, 19:52
Regat: Chunjo
Aprecieri: 334  
Mulţumiri: 54529  
Discord: Copiază ID
Medalii

Topic inactiv . Arhivat !
If you talk to a man in a language he understands, that goes to his head. If you talk to him in his own language, that goes to his heart.
Imagine
ENJOY
Imagine
Afișează semnătura
Închis

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Baidu [Spider] și 52 vizitatori