Çözüldü g++: Internal error: Killed: 9 (program cc1plus) hatası

Bu konu çözüme ulaştırılmıştır. Çözüm için konuya yazılan tüm yorumları okumayı unutmayın. Eğer konudaki yorumlar sorununuzu çözmediyse yeni bir konu açabilirsiniz.
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.

Hyuna Akali

Full Stack Developer
Grafiker
Usta Üye
Editör
Mesaj
727
Çözümler
20
Beğeni
585
Puan
839
Ticaret Puanı
0
Game SRC Build:
compile BattleArena.cpp
compile FSM.cpp
compile MarkConvert.cpp
compile MarkImage.cpp
compile MarkManager.cpp
compile OXEvent.cpp
compile TrafficProfiler.cpp
compile ani.cpp
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
char.cpp:7234: warning: this decimal constant is unsigned only in ISO C90
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
g++: Internal error: Killed: 9 (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Makefile:130: recipe for target 'OBJDIR/building.o' failed
gmake: *** [OBJDIR/building.o] Error 1
gmake: *** Waiting for unfinished jobs....
char_battle.cpp: In member function 'void CHARACTER::Reward(bool)':
char_battle.cpp:775: warning: suggest explicit braces to avoid ambiguous 'else'
char.cpp: In member function 'int CHARACTER::GetPolymorphPoint(BYTE) const':
char.cpp:2871: warning: suggest parentheses around && within ||
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 CHARACTER::SetTarget(CHARACTER*)':
char.cpp:5116: warning: suggest parentheses around && within ||
char_skill.cpp: In member function 'bool CHARACTER::UseSkill(DWORD, CHARACTER*, bool)':
char_skill.cpp:2489: warning: suggest parentheses around && within ||
char_skill.cpp:2595: warning: suggest parentheses around && within ||
char.cpp: In member function 'bool CHARACTER::CanSummon(int)':
char.cpp:6301: warning: suggest parentheses around && within ||
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:3619: warning: suggest parentheses around && within ||
char_item.cpp:3643: warning: suggest parentheses around && within ||
char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
char_item.cpp:5302: warning: suggest parentheses around comparison in operand of |
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_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

char.cpp de değişecek olan bi DWORD değeri var onu biliyorum @Whistle videoda açıklamıştı onun haricinde herşeyi aynı yaptım 2 kere kontrol ettim fakat atladığım yeri bulamadım
 
Sunucuya ne kadar kaynak ayırdınız? Ram ve cpu olarak
 
RAM'i en azından 2'ye yükseltme şansınız var mı?
Çünkü bu hata sistem kaynağı yetersiz olduğu için vermiş.
Bash:
g++: Internal error: Killed: 9 (program cc1plus)

Ben sanal makinaya fazla kaynak ayırabildiğim için videoda gmake -j6 ile build ettiriyorum. Sizde kaynak az olduğu için -j kullanmayın. Sadece gmake komutunu yazınız.
 
tamamdır ben genelde editlerken düşük ram yeterli olur diye biliyordum o yüzden 1 verdim hemen 2 ye çekiyorum
 
Derleme işlemleri fazla kaynak tüketiyor. Verebildiğiniz kadar kaynak ayırınız. -j kullanmayın. Sadece gmake / gmake all komutunu yazınız. Bu şekilde hatayı vermez diye düşünüyorum.
 
Ohoho ama ben sunucuya baya kaynak ayırmıştım. 4 cpu / 8 gb ram. Ben -j14 yazabilirim. Çünkü bu kadar işlemi kaldıracak RAM var. :)
Siz -j yazmayın.
Videoda gmake all -jx yazdıysam siz gmake all yazın.
Yada gmake -j14 yazdıysam siz gmake yazın.
Yani -j komutunu kullanmayın. :D

Not: Videolarda ilk kez kullandığım komut hakkında açıklama yapıyorum. Bu yüzden anlatımı da dikkatli dinlemeniz gerekiyor. :lamer:
 
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.
Geri
Üst