Aller au contenu

Nouveau membre ?! Pense à te présenter pour accéder au contenu du forum !

New member ?! Introduce yourself to get access to the forum !

  • 0
Link

en cours Problème de compilation sources

Question

Bonsoir à tous,

 

J'ai un problème quand je compile mes sources sur mon serveur en locale, j'utilise la VM des files 2014 de @#Saw sa me fais que des erreurs dedans quand je veux les compiler db comme game, je vous met ci dessous les erreurs que sa me fais.

Game :

Game :
[email protected]:/usr/src/mainline/Srcs/Server/db/src # cd /usr/src/mainline/Srcs/Server/game/src
[email protected]:/usr/src/mainline/Srcs/Server/game/src # gmake -j20
compile BattleArena.cpp
compile OXEvent.cpp
compile ani.cpp
compile arena.cpp
compile banword.cpp
compile battle.cpp
compile blend_item.cpp
compile block_country.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
In file included from char.cpp:25:
shop_manager.h:40:7: warning: no newline at end of file
In file included from char_battle.cpp:27:
shop_manager.h:40:7: warning: no newline at end of file
compile char_state.cpp
compile PetSystem.cpp
compile cmd.cpp
char_state.cpp: In member function 'virtual void CHARACTER::StateMove()':
char_state.cpp:901: warning: unused variable 'rider'
In file included from char.cpp:62:
PetSystem.h:163:31: warning: no newline at end of file
char.cpp:7221: warning: this decimal constant is unsigned only in ISO C90
char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)':
char.cpp:3088: 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
compile cmd_emotion.cpp
compile cmd_general.cpp
compile cmd_gm.cpp
compile cmd_oxevent.cpp
In file included from char_item.cpp:47:
belt_inventory_helper.h:108:42: 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'
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:640: warning: comparison is always false due to limited range of data type
char_item.cpp:666: 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:2387: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2391: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2403: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:2407: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:2434: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2442: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:5087: warning: comparison between signed and unsigned integer expressions
char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
char_item.cpp:5159: warning: unused variable 'wDestCell'
char_item.cpp:5160: warning: unused variable 'bDestInven'
char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)':
char_item.cpp:6160: warning: array subscript has type 'char'
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)':
char_item.cpp:6224: warning: comparison between signed and unsigned integer expressions
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(CItem*)':
char_item.cpp:6236: 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:7422: warning: unused variable 'itemType'
char_item.cpp:7423: warning: unused variable 'itemSubType'
cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:3935: warning: NULL used in arithmetic
cmd_gm.cpp: In function 'void do_use_item(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:4357: warning: 'cell' may be used uninitialized in this function
cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:3977: warning: 'n' may be used uninitialized in this function
char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
char_item.cpp:679: warning: control reaches end of non-void function
compile config.cpp
cmd_gm.cpp: In function 'void do_mob_ld(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:855: warning: 'x' may be used uninitialized in this function
cmd_gm.cpp:855: warning: 'y' may be used uninitialized in this function
compile constants.cpp
In file included from config.cpp:22:
check_server.h: In static member function 'static bool CheckServer::CheckIp(const char*)':
check_server.h:24: warning: comparison between signed and unsigned integer expressions
config.cpp: In function 'void config_init(const std::string&)':
config.cpp:435: warning: NULL used in arithmetic
config.cpp:459: warning: NULL used in arithmetic
config.cpp:483: warning: NULL used in arithmetic
config.cpp:505: warning: unused variable 'line'
compile cube.cpp
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
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_ValueChange(BYTE, BYTE, BYTE)':
char_item.cpp:6271: warning: 'pBuff' may be used uninitialized in this function
compile db.cpp
compile desc.cpp
compile desc_client.cpp
compile desc_manager.cpp
compile desc_p2p.cpp
compile dungeon.cpp
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
{standard input}: Assembler messages:
{standard input}:27816: Warning: end of file not at end of a line; newline inserted
{standard input}:28191: Error: undefined symbol `.LLSDACSE4420' in operation
{standard input}:28249: Error: undefined symbol `.LF' in operation
compile entity.cpp
{standard input}: Assembler messages:
{standard input}:15272: Warning: end of file not at end of a line; newline inserted
{standard input}:16573: Error: bad register name `%'
compile entity_view.cpp
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 'bool Cube_InformationInitialize()':
cube.cpp:783: warning: comparison between signed and unsigned integer expressions
compile exchange.cpp
compile fishing.cpp
g++: Internal error: Killed: 9 (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
compile gm.cpp
g++: Internal error: Killed: 9 (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake: *** [Makefile:130: OBJDIR/char_item.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [Makefile:130: OBJDIR/char.o] Error 1
g++: Internal error: Killed: 9 (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake: *** [Makefile:130: OBJDIR/char_battle.o] Error 1
[email protected]:/usr/src/mainline/Srcs/Server/game/src #
  
DB
[email protected]:/usr/src/mainline/Srcs/Server/db/src # gmake -j20
compile Main.cpp
compile Cache.cpp
compile ClientManager.cpp
compile AuctionManager.cpp
compile ProtoReader.cpp
compile CsvReader.cpp
AuctionManager.cpp:719:7: warning: no newline at end of file
In file included from ProtoReader.cpp:4:
ProtoReader.h:36:7: warning: no newline at end of file
CsvReader.cpp: In member function 'const char* cCsvAlias::operator[](size_t) const':
CsvReader.cpp:72: warning: left-hand operand of comma has no effect
CsvReader.cpp:72: warning: right-hand operand of comma has no effect
CsvReader.cpp: In member function 'size_t cCsvAlias::operator[](const char*) const':
CsvReader.cpp:90: warning: left-hand operand of comma has no effect
CsvReader.cpp:90: warning: right-hand operand of comma has no effect
ProtoReader.cpp: In function 'std::string* StringSplit(std::string, std::string)':
ProtoReader.cpp:33: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Item_Type_Value(std::string)':
ProtoReader.cpp:87: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Item_SubType_Value(int, std::string)':
ProtoReader.cpp:204: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp:207: warning: comparison between signed and unsigned integer expressions
compile version.cpp
ProtoReader.cpp: In function 'int get_Item_AntiFlag_Value(std::string)':
ProtoReader.cpp:250: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Item_Flag_Value(std::string)':
ProtoReader.cpp:279: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Item_WearFlag_Value(std::string)':
ProtoReader.cpp:307: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Item_Immune_Value(std::string)':
ProtoReader.cpp:333: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Item_LimitType_Value(std::string)':
ProtoReader.cpp:361: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Item_ApplyType_Value(std::string)':
ProtoReader.cpp:400: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Mob_Rank_Value(std::string)':
ProtoReader.cpp:426: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Mob_Type_Value(std::string)':
ProtoReader.cpp:448: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Mob_BattleType_Value(std::string)':
ProtoReader.cpp:469: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Mob_Size_Value(std::string)':
ProtoReader.cpp:490: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Mob_AIFlag_Value(std::string)':
ProtoReader.cpp:512: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Mob_RaceFlag_Value(std::string)':
ProtoReader.cpp:537: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'int get_Mob_ImmuneFlag_Value(std::string)':
ProtoReader.cpp:561: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp: In function 'bool Set_Proto_Item_Table(TItemTable*, cCsvTable&, std::map<int, const char*, std::less<int>, std::allocator<std::pair<const int, const char*> > >&)':
ProtoReader.cpp:696: warning: comparison between signed and unsigned integer expressions
ProtoReader.cpp:757: warning: comparison between signed and unsigned integer expressions
linking ...
linking ...
.obj/Main.o: In function `main':
/usr/src/mainline/Srcs/Server/db/src/Main.cpp:77: undefined reference to `CGuildManager::CGuildManager()'
/usr/src/mainline/Srcs/Server/db/src/Main.cpp:91: undefined reference to `CGuildManager::Initialize()'
/usr/src/mainline/Srcs/Server/db/src/Main.cpp:121: undefined reference to `CGuildManager::~CGuildManager()'
.obj/ClientManager.o: In function `CClientManager::QUERY_RELOAD_PROTO()':
/usr/src/mainline/Srcs/Server/db/src/ClientManager.cpp:1646: undefined reference to `CClientManager::InitializeTables()'
.obj/ClientManager.o: In function `CClientManager::GuildWarBet(TPacketGDGuildWarBet*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManager.cpp:1930: undefined reference to `CGuildManager::Bet(unsigned int, char const*, unsigned int, unsigned int)'
.obj/ClientManager.o: In function `CClientManager::GuildWithdrawMoneyGiveReply(SPacketGDGuildMoneyWithdrawGiveReply*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManager.cpp:1925: undefined reference to `CGuildManager::WithdrawMoneyReply(unsigned int, unsigned char, int)'
.obj/ClientManager.o: In function `CClientManager::GuildWithdrawMoney(CPeer*, SPacketGDGuildMoney*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManager.cpp:1920: undefined reference to `CGuildManager::WithdrawMoney(CPeer*, unsigned int, int)'
.obj/ClientManager.o: In function `CClientManager::GuildDepositMoney(SPacketGDGuildMoney*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManager.cpp:1915: undefined reference to `CGuildManager::DepositMoney(unsigned int, int)'
.obj/ClientManager.o: In function `CClientManager::QUERY_SETUP(CPeer*, unsigned int, char const*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManager.cpp:1262: undefined reference to `CGuildManager::OnSetup(CPeer*)'
.obj/ClientManager.o: In function `CClientManager::Initialize()':
/usr/src/mainline/Srcs/Server/db/src/ClientManager.cpp:111: undefined reference to `CClientManager::InitializeTables()'
/usr/src/mainline/Srcs/Server/db/src/ClientManager.cpp:117: undefined reference to `CGuildManager::BootReserveWar()'
.obj/ClientManager.o: In function `CClientManager::AnalyzeQueryResult(_SQLMsg*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManager.cpp:2838: undefined reference to `CGuildManager::ResultRanking(st_mysql_res*)'
.obj/ClientManager.o: In function `CClientManager::Process()':
/usr/src/mainline/Srcs/Server/db/src/ClientManager.cpp:3060: undefined reference to `CGuildManager::Update()'
.obj/Main.o: In function `main':
/usr/src/mainline/Srcs/Server/db/src/Main.cpp:77: undefined reference to `CGuildManager::CGuildManager()'
/usr/src/mainline/Srcs/Server/db/src/Main.cpp:91: undefined reference to `CGuildManager::Initialize()'
/usr/src/mainline/Srcs/Server/db/src/Main.cpp:121: undefined reference to `CGuildManager::~CGuildManager()'
.obj/ClientManagerBoot.o: In function `__gthread_trigger()':
/usr/include/c++/4.2/bits/gthr-default.h:167: undefined reference to `__gthread_active'
.obj/ClientManagerBoot.o: In function `__static_initialization_and_destruction_0(int, int)':
/usr/src/mainline/Srcs/Server/db/src/../../common/length.h:721: undefined reference to `NPOS'
/usr/src/mainline/Srcs/Server/db/src/../../common/length.h:722: undefined reference to `NPOS'
.obj/ClientManagerBoot.o: In function `__static_initialization_and_destruction_0(int, int)':
/usr/include/c++/4.2/iostream:77: undefined reference to `std::__ioinit'
.obj/ClientManagerBoot.o: In function `__tcf_0':
/usr/include/c++/4.2/iostream:77: undefined reference to `std::__ioinit'
.obj/ClientManagerBoot.o: In function `__gthread_active_p()':
/usr/include/c++/4.2/bits/gthr-default.h:177: undefined reference to `__gthread_active'
/usr/include/c++/4.2/bits/gthr-default.h:184: undefined reference to `__gthrw_pthread_once(pthread_once*, void (*)())'
/usr/include/c++/4.2/bits/gthr-default.h:188: undefined reference to `__gthread_active_p()::__gthread_active_mutex'
/usr/include/c++/4.2/bits/gthr-default.h:188: undefined reference to `__gthrw_pthread_mutex_lock(pthread_mutex**)'
/usr/include/c++/4.2/bits/gthr-default.h:189: undefined reference to `__gthread_active_p()::__gthread_active_once'
/usr/include/c++/4.2/bits/gthr-default.h:189: undefined reference to `__gthrw_pthread_once(pthread_once*, void (*)())'
/usr/include/c++/4.2/bits/gthr-default.h:190: undefined reference to `__gthread_active_p()::__gthread_active_mutex'
/usr/include/c++/4.2/bits/gthr-default.h:190: undefined reference to `__gthrw_pthread_mutex_unlock(pthread_mutex**)'
/usr/include/c++/4.2/bits/gthr-default.h:194: undefined reference to `__gthread_active'
/usr/include/c++/4.2/bits/gthr-default.h:197: undefined reference to `__gthread_active'
/usr/include/c++/4.2/bits/gthr-default.h:195: undefined reference to `__gthread_active'
.obj/ClientManagerBoot.o: In function `std::vector<TItemAttrTable, std::allocator<TItemAttrTable> >::reserve(unsigned int)':
/usr/include/c++/4.2/bits/vector.tcc:71: undefined reference to `.L705'
.obj/ClientManagerGuild.o: In function `CClientManager::GuildCreate(CPeer*, unsigned int)':
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:16: undefined reference to `CGuildManager::Load(unsigned int)'
.obj/ClientManagerGuild.o: In function `CClientManager::GuildChangeMaster(tChangeGuildMaster*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:234: undefined reference to `CGuildManager::ChangeMaster(unsigned int, unsigned int, unsigned int)'
.obj/ClientManagerGuild.o: In function `CClientManager::GuildUseSkill(SPacketGuildUseSkill*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:215: undefined reference to `CGuildManager::UseSkill(unsigned int, unsigned int, unsigned int)'
.obj/ClientManagerGuild.o: In function `CClientManager::GuildChangeLadderPoint(SPacketGuildLadderPoint*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:209: undefined reference to `CGuildManager::ChangeLadderPoint(unsigned int, int)'
.obj/ClientManagerGuild.o: In function `CClientManager::GuildWarScore(CPeer*, SPacketGuildWarScore*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:203: undefined reference to `CGuildManager::UpdateScore(unsigned int, unsigned int, int, int)'
.obj/ClientManagerGuild.o: In function `CClientManager::GuildWar(CPeer*, SPacketGuildWar*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:167: undefined reference to `CGuildManager::RemoveDeclare(unsigned int, unsigned int)'
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:169: undefined reference to `CGuildManager::ReserveWar(SPacketGuildWar*)'
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:145: undefined reference to `CGuildManager::AddDeclare(unsigned char, unsigned int, unsigned int)'
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:150: undefined reference to `CGuildManager::RemoveDeclare(unsigned int, unsigned int)'
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:194: undefined reference to `CGuildManager::CancelWar(unsigned int, unsigned int)'
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:178: undefined reference to `CGuildManager::RemoveDeclare(unsigned int, unsigned int)'
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:179: undefined reference to `CGuildManager::StartWar(unsigned char, unsigned int, unsigned int, CGuildWarReserve*)'
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:184: undefined reference to `CGuildManager::RecvWarOver(unsigned int, unsigned int, bool, long)'
.obj/ClientManagerGuild.o: In function `CClientManager::GuildAddMember(CPeer*, SPacketGDGuildAddMember*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:27: undefined reference to `CGuildManager::TouchGuild(unsigned int)'
.obj/ClientManagerGuild.o: In function `CClientManager::GuildWar(CPeer*, SPacketGuildWar*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:189: undefined reference to `CGuildManager::RecvWarEnd(unsigned int, unsigned int)'
.obj/ClientManager.o: In function `CClientManager::QUERY_RELOAD_PROTO()':
/usr/src/mainline/Srcs/Server/db/src/ClientManager.cpp:1646: undefined reference to `CClientManager::InitializeTables()'
.obj/ClientManager.o: In function `CClientManager::GuildWarBet(TPacketGDGuildWarBet*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManager.cpp:1930: undefined reference to `CGuildManager::Bet(unsigned int, char const*, unsigned int, unsigned int)'
.obj/ClientManager.o: In function `CClientManager::GuildWithdrawMoneyGiveReply(SPacketGDGuildMoneyWithdrawGiveReply*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManager.cpp:1925: undefined reference to `CGuildManager::WithdrawMoneyReply(unsigned int, unsigned char, int)'
.obj/ClientManager.o: In function `CClientManager::GuildWithdrawMoney(CPeer*, SPacketGDGuildMoney*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManager.cpp:1920: undefined reference to `CGuildManager::WithdrawMoney(CPeer*, unsigned int, int)'
.obj/ClientManager.o: In function `CClientManager::GuildDepositMoney(SPacketGDGuildMoney*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManager.cpp:1915: undefined reference to `CGuildManager::DepositMoney(unsigned int, int)'
.obj/ClientManager.o: In function `CClientManager::QUERY_SETUP(CPeer*, unsigned int, char const*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManager.cpp:1262: undefined reference to `CGuildManager::OnSetup(CPeer*)'
.obj/ClientManager.o: In function `CClientManager::Initialize()':
/usr/src/mainline/Srcs/Server/db/src/ClientManager.cpp:111: undefined reference to `CClientManager::InitializeTables()'
/usr/src/mainline/Srcs/Server/db/src/ClientManager.cpp:117: undefined reference to `CGuildManager::BootReserveWar()'
.obj/ClientManager.o: In function `CClientManager::AnalyzeQueryResult(_SQLMsg*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManager.cpp:2838: undefined reference to `CGuildManager::ResultRanking(st_mysql_res*)'
.obj/ClientManager.o: In function `CClientManager::Process()':
/usr/src/mainline/Srcs/Server/db/src/ClientManager.cpp:3060: undefined reference to `CGuildManager::Update()'
.obj/ClientManagerBoot.o: In function `__gthread_trigger()':
/usr/include/c++/4.2/bits/gthr-default.h:167: undefined reference to `__gthread_active'
.obj/ClientManagerBoot.o: In function `__static_initialization_and_destruction_0(int, int)':
/usr/src/mainline/Srcs/Server/db/src/../../common/length.h:721: undefined reference to `NPOS'
/usr/src/mainline/Srcs/Server/db/src/../../common/length.h:722: undefined reference to `NPOS'
.obj/ClientManagerBoot.o: In function `__static_initialization_and_destruction_0(int, int)':
/usr/include/c++/4.2/iostream:77: undefined reference to `std::__ioinit'
.obj/ClientManagerBoot.o: In function `__tcf_0':
/usr/include/c++/4.2/iostream:77: undefined reference to `std::__ioinit'
.obj/ClientManagerBoot.o: In function `__gthread_active_p()':
/usr/include/c++/4.2/bits/gthr-default.h:177: undefined reference to `__gthread_active'
/usr/include/c++/4.2/bits/gthr-default.h:184: undefined reference to `__gthrw_pthread_once(pthread_once*, void (*)())'
/usr/include/c++/4.2/bits/gthr-default.h:188: undefined reference to `__gthread_active_p()::__gthread_active_mutex'
/usr/include/c++/4.2/bits/gthr-default.h:188: undefined reference to `__gthrw_pthread_mutex_lock(pthread_mutex**)'
/usr/include/c++/4.2/bits/gthr-default.h:189: undefined reference to `__gthread_active_p()::__gthread_active_once'
/usr/include/c++/4.2/bits/gthr-default.h:189: undefined reference to `__gthrw_pthread_once(pthread_once*, void (*)())'
/usr/include/c++/4.2/bits/gthr-default.h:190: undefined reference to `__gthread_active_p()::__gthread_active_mutex'
/usr/include/c++/4.2/bits/gthr-default.h:190: undefined reference to `__gthrw_pthread_mutex_unlock(pthread_mutex**)'
/usr/include/c++/4.2/bits/gthr-default.h:194: undefined reference to `__gthread_active'
/usr/include/c++/4.2/bits/gthr-default.h:197: undefined reference to `__gthread_active'
/usr/include/c++/4.2/bits/gthr-default.h:195: undefined reference to `__gthread_active'
.obj/ClientManagerBoot.o: In function `std::vector<TItemAttrTable, std::allocator<TItemAttrTable> >::reserve(unsigned int)':
/usr/include/c++/4.2/bits/vector.tcc:71: undefined reference to `.L705'
gmake: *** [Makefile:54: ../db_r40250] Error 1
gmake: *** Waiting for unfinished jobs....
.obj/ClientManagerGuild.o: In function `CClientManager::GuildCreate(CPeer*, unsigned int)':
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:16: undefined reference to `CGuildManager::Load(unsigned int)'
.obj/ClientManagerGuild.o: In function `CClientManager::GuildChangeMaster(tChangeGuildMaster*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:234: undefined reference to `CGuildManager::ChangeMaster(unsigned int, unsigned int, unsigned int)'
.obj/ClientManagerGuild.o: In function `CClientManager::GuildUseSkill(SPacketGuildUseSkill*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:215: undefined reference to `CGuildManager::UseSkill(unsigned int, unsigned int, unsigned int)'
.obj/ClientManagerGuild.o: In function `CClientManager::GuildChangeLadderPoint(SPacketGuildLadderPoint*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:209: undefined reference to `CGuildManager::ChangeLadderPoint(unsigned int, int)'
.obj/ClientManagerGuild.o: In function `CClientManager::GuildWarScore(CPeer*, SPacketGuildWarScore*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:203: undefined reference to `CGuildManager::UpdateScore(unsigned int, unsigned int, int, int)'
.obj/ClientManagerGuild.o: In function `CClientManager::GuildWar(CPeer*, SPacketGuildWar*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:167: undefined reference to `CGuildManager::RemoveDeclare(unsigned int, unsigned int)'
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:169: undefined reference to `CGuildManager::ReserveWar(SPacketGuildWar*)'
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:145: undefined reference to `CGuildManager::AddDeclare(unsigned char, unsigned int, unsigned int)'
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:150: undefined reference to `CGuildManager::RemoveDeclare(unsigned int, unsigned int)'
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:194: undefined reference to `CGuildManager::CancelWar(unsigned int, unsigned int)'
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:178: undefined reference to `CGuildManager::RemoveDeclare(unsigned int, unsigned int)'
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:179: undefined reference to `CGuildManager::StartWar(unsigned char, unsigned int, unsigned int, CGuildWarReserve*)'
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:184: undefined reference to `CGuildManager::RecvWarOver(unsigned int, unsigned int, bool, long)'
.obj/ClientManagerGuild.o: In function `CClientManager::GuildAddMember(CPeer*, SPacketGDGuildAddMember*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:27: undefined reference to `CGuildManager::TouchGuild(unsigned int)'
.obj/ClientManagerGuild.o: In function `CClientManager::GuildWar(CPeer*, SPacketGuildWar*)':
/usr/src/mainline/Srcs/Server/db/src/ClientManagerGuild.cpp:189: undefined reference to `CGuildManager::RecvWarEnd(unsigned int, unsigned int)'
gmake: *** [Makefile:59: ../db_r40250_stripped] Error 1

Cordialement, Link.

Partager ce message


Lien à poster
Partager sur d’autres sites

2 réponses à cette question

Messages recommandés

  • 0

cc,

 

t'utilises bien les sources qui étaient déjà sur la VM, car de base elle marche pas sur le vdi j'ai dû changer quelques petites choses.

Partager ce message


Lien à poster
Partager sur d’autres sites
  • 0

Yop, oui j'utilise les sources qui était déjà compressé et que j'ai extrait sur la VM 

 

EDIT: J'ai fais avec une autre méthode de commande pour compiler et ça a fonctionner j'avais utiliser la méthode a calypso mais ça ne marchais a pas a priori du coup je donne la solution ici pour ceux qui auront le même problème.

 

gmake dep
gmake clean
gmake -j3

Modifié par Link
Résolue

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité
Ce sujet ne peut plus recevoir de nouvelles réponses.

×

Information importante

By using this site, you agree to our Conditions d’utilisation.