Jump to content

Magical problem with compilate


Recommended Posts

Hi boys,
The problem is as follows: when i was running the compilate machine my computer was flooded (by tea - a the long story, fuck my life ??).
After changing the motherboard (which suffered) and trying to compile the server i get an error i did not understand - i did not understand because before the computer "fell" the game compiled without any problems. I've been working on this src for several months and  i never had a problem with compiling until the motherboard was flooded.

My compilation log:

 

 

 

 

root@host:/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src # gmake -j
compile BattleArena.cpp
compile MarkManager.cpp
compile OXEvent.cpp
compile ani.cpp
compile arena.cpp
compile banword.cpp
compile battle.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
In file included from char.cpp:65:
PetSystem.h:163:31: warning: no newline at end of file
char.cpp:7438: warning: this decimal constant is unsigned only in ISO C90
compile char_item.cpp
compile char_manager.cpp
compile char_quickslot.cpp
In file included from char_item.cpp:47:
belt_inventory_helper.h:108:42: warning: no newline at end of file
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
In file included from PetSystem.cpp:8:
PetSystem.h:163:31: warning: no newline at end of file
PetSystem.cpp:685:2: warning: no newline at end of file
compile cmd_gm.cpp
char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)':
char.cpp:3176: warning: comparison between signed and unsigned integer expressions
char.cpp: In member function 'void CHARACTER::ClearOfflineMessageBox(DWORD)':
char.cpp:7506: warning: zero-length printf format string
char.cpp: In member function 'void CHARACTER::ReadOfflineMessageBox()':
char.cpp:7524: warning: unused variable 'i'
compile cmd_oxevent.cpp
char.cpp: In member function 'void CHARACTER::GivePremioCodigo(CHARACTER*, const char*)':
char.cpp:7823: warning: comparison between signed and unsigned integer expressions
char.cpp:7806: warning: unused variable 'categoria_number'
In file included from cmd_general.cpp:41:
localization.h:23:7: warning: no newline at end of file
compile config.cpp
char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
char_item.cpp:669: warning: comparison is always false due to limited range of data type
char_item.cpp:695: warning: comparison is always false due to limited range of data type
char_item.cpp: In member function 'bool CHARACTER::ItemUseCooldown(CItem*)':
char_item.cpp:1761: warning: comparison between signed and unsigned integer expressions
char_item.cpp:1763: warning: comparison between signed and unsigned integer expressions
char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)':
char_item.cpp:2549: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2553: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2565: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:2569: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:2596: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2604: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:5341: warning: comparison between signed and unsigned integer expressions
char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
char_item.cpp:5421: warning: unused variable 'wDestCell'
char_item.cpp:5422: warning: unused variable 'bDestInven'
char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)':
char_item.cpp:6608: warning: array subscript has type 'char'
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)':
char_item.cpp:6701: warning: comparison between signed and unsigned integer expressions
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(CItem*)':
char_item.cpp:6713: warning: comparison between signed and unsigned integer expressions
compile constants.cpp
char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)':
char_item.cpp:7948: warning: unused variable 'itemType'
char_item.cpp:7949: warning: unused variable 'itemSubType'
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:600: warning: unused variable 'petVID'
char_skill.cpp: In member function 'int CHARACTER::ComputeGyeongGongSkill(DWORD, CHARACTER*, BYTE)':
char_skill.cpp:2003: warning: unused variable 'k'
compile cube.cpp
char_state.cpp: In member function 'virtual void CHARACTER::StateMove()':
char_state.cpp:901: warning: unused variable 'rider'
char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
char_item.cpp:708: warning: control reaches end of non-void function
compile db.cpp
constants.cpp:428: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:429: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:430: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:431: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:432: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:433: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:434: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:435: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:436: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:437: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:438: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:439: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:440: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:441: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:442: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:443: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:444: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:445: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:446: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:447: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:448: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:450: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:451: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:452: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:453: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:454: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:455: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:456: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:457: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:458: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:459: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:460: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:461: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:462: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:463: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:464: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:465: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:466: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:467: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:468: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:469: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:470: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:471: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:472: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:473: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:474: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:475: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:476: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:477: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:478: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:479: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:480: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:481: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:482: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:483: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:484: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:485: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:486: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:487: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:488: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:489: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:490: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:491: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:492: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:493: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:494: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:495: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:496: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:497: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:498: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:499: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:500: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:501: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:502: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:503: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:504: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:505: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:506: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:507: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:508: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:509: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:510: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:511: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:512: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:513: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:514: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:515: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:516: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:517: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:518: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:519: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:520: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:521: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:522: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:523: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:524: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:525: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:526: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:527: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:528: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:529: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:530: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:531: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:532: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:533: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:534: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:535: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:536: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:537: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:538: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:539: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:540: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:541: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:542: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:543: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:544: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:545: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:546: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:547: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:548: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:549: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:550: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:551: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:552: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:553: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:554: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:555: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:556: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:557: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:558: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:559: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:560: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:561: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:562: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:563: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:564: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:565: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:566: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:567: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:568: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:569: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:570: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:571: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:572: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:573: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:574: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:575: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:576: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:577: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:578: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:579: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:580: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:581: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:582: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:583: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:584: warning: this decimal constant is unsigned only in ISO C90
compile desc.cpp
compile desc_client.cpp
compile desc_manager.cpp
config.cpp: In function 'void config_init(const std::string&)':
config.cpp:493: warning: NULL used in arithmetic
config.cpp:517: warning: NULL used in arithmetic
config.cpp:541: warning: NULL used in arithmetic
config.cpp:563: warning: unused variable 'line'
compile dungeon.cpp
cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:4026: warning: NULL used in arithmetic
In file included from desc_manager.cpp:15:
ClientPackageCryptInfo.h:117:41: warning: no newline at end of file
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:720: warning: unused variable 'npcVNUM'
cube.cpp: In function 'bool Cube_InformationInitialize()':
cube.cpp:787: warning: comparison between signed and unsigned integer expressions
db.cpp: In member function 'void DBManager::Query(const char*, ...)':
db.cpp:94: warning: comparison between signed and unsigned integer expressions
db.cpp: In member function 'SQLMsg* DBManager::DirectQuery(const char*, ...)':
db.cpp:105: warning: comparison between signed and unsigned integer expressions
char_battle.cpp: In member function 'bool CHARACTER::Attack(CHARACTER*, BYTE)':
char_battle.cpp:230: warning: 'iRet' is used uninitialized in this function
cmd_general.cpp: In function 'void do_daily_reward_reload(CHARACTER*, const char*, int, int)':
cmd_general.cpp:3350: warning: 'rewards' may be used uninitialized in this function
cmd_general.cpp:3349: warning: 'time' may be used uninitialized in this function
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_ValueChange(BYTE, BYTE, BYTE)':
char_item.cpp:6748: warning: 'pBuff' may be used uninitialized in this function
cmd_general.cpp: In function 'void do_daily_reward_get_reward(CHARACTER*, const char*, int, int)':
cmd_general.cpp:3400: warning: 'rewards' may be used uninitialized in this function
cmd_general.cpp:3396: warning: 'counts' may be used uninitialized in this function
cmd_general.cpp:3395: warning: 'items' may be used uninitialized in this function
cmd_general.cpp:3397: warning: 'item' may be used uninitialized in this function
cmd_general.cpp:3398: warning: 'count' may be used uninitialized in this function
desc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD, bool)':
desc_client.cpp:299: warning: comparison between signed and unsigned integer expressions
cmd_gm.cpp: In function 'void do_mob_ld(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:887: warning: 'x' may be used uninitialized in this function
cmd_gm.cpp:887: warning: 'y' may be used uninitialized in this function
cmd_gm.cpp: In function 'void do_mob_map(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:680: warning: 'tch' may be used uninitialized in this function
cmd_gm.cpp: In function 'void do_use_item(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:4448: 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:4068: warning: 'n' may be used uninitialized in this function
cmd_general.cpp: In function 'void do_change_security_status(CHARACTER*, const char*, int, int)':
cmd_general.cpp:2885: warning: 'player_security_status' may be used uninitialized in this function
cmd_general.cpp: In function 'void do_open_security(CHARACTER*, const char*, int, int)':
cmd_general.cpp:2910: warning: 'check_security' may be used uninitialized in this function
char.cpp: In member function 'bool CHARACTER::ChannelChange(int)':
char.cpp:7559: warning: 'wPort' may be used uninitialized in this function
char.cpp:7558: warning: 'lAddr' may be used uninitialized in this function
char.cpp: In member function 'bool CHARACTER::CheckActivation(const char*)':
char.cpp:7895: warning: 'count_activation' may be used uninitialized in this function
char.cpp: In member function 'void CHARACTER::CountCode(const char*)':
char.cpp:7934: warning: 'count_code' may be used uninitialized in this function
char.cpp: In member function 'void CHARACTER::GivePremioCodigo(CHARACTER*, const char*)':
char.cpp:7804: warning: 'id' may be used uninitialized in this function
char.cpp:7804: warning: 'count' may be used uninitialized in this function
char.cpp:7804: warning: 'level' may be used uninitialized in this function
linking ../game_0_0....
linking ../test
OBJDIR/desc.o: In function `DESC::ProcessOutput()':
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/desc.cpp:396: undefined referenOBJDIR/desc.oc:e  Ito `max_bytes_written'
n function `/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/desc.cpp:DESC::ProcessOutput()398'::
und/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/desc.cpp:396: undefined reference to `max_bytes_written'
efined reference to `total_bytes_written'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/desc.cpp:398: undefined reference to `total_bytes_written'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/desc.cpp:399: undefined reference to `current_bytes_written'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/desc.cpp:396: undefined reference to `max_bytes_written'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/desc.cpp:399: undefined reference to `current_bytes_written'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/desc.cpp:396: undefined reference to `max_bytes_written'
OBJDIR/event.o: In function `event_process(int)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/event.cpp:135: undefined reference to `ContinueOnFatalError()'
OBJDIR/event.o: In function `event_process(int)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/event.cpp:135: undefined reference to `ContinueOnFatalError()'
OBJDIR/input_db.o: In function `CInputDB::P2P(char const*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/input_db.cpp:1365: undefined reference to `main_fdw'
OBJDIR/input_db.o: In function `CInputDB::P2P(char const*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/input_db.cpp:1365: undefined reference to `main_fdw'
OBJDIR/marriage.o: In function `marriage::TMarriage::Logout(unsigned int)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/marriage.cpp:299: undefined reference to `g_bShutdown'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/marriage.cpp:316: undefined reference to `g_bShutdown'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/marriage.cpp:316: undefined reference to `g_bShutdown'
OBJDIR/marriage.o: In function `marriage::TMarriage::Logout(unsigned int)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/marriage.cpp:299: undefined reference to `g_bShutdown'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/marriage.cpp:316: undefined reference to `g_bShutdown'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/marriage.cpp:316: undefined reference to `g_bShutdown'
gmake: *** [../test] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [../game_0_0] Error 1
root@host:/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src #
 

Error after linking "test" and "game" files (db compiles normally):

 

 

 

 

linking ../game_0_0....
linking ../test
OBJDIR/desc.o: In function `DESC::ProcessOutput()':
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/desc.cpp:396: undefined referenOBJDIR/desc.oc:e  Ito `max_bytes_written'
n function `/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/desc.cpp:DESC::ProcessOutput()398'::
und/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/desc.cpp:396: undefined reference to `max_bytes_written'
efined reference to `total_bytes_written'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/desc.cpp:398: undefined reference to `total_bytes_written'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/desc.cpp:399: undefined reference to `current_bytes_written'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/desc.cpp:396: undefined reference to `max_bytes_written'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/desc.cpp:399: undefined reference to `current_bytes_written'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/desc.cpp:396: undefined reference to `max_bytes_written'
OBJDIR/event.o: In function `event_process(int)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/event.cpp:135: undefined reference to `ContinueOnFatalError()'
OBJDIR/event.o: In function `event_process(int)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/event.cpp:135: undefined reference to `ContinueOnFatalError()'
OBJDIR/input_db.o: In function `CInputDB::P2P(char const*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/input_db.cpp:1365: undefined reference to `main_fdw'
OBJDIR/input_db.o: In function `CInputDB::P2P(char const*)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/input_db.cpp:1365: undefined reference to `main_fdw'
OBJDIR/marriage.o: In function `marriage::TMarriage::Logout(unsigned int)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/marriage.cpp:299: undefined reference to `g_bShutdown'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/marriage.cpp:316: undefined reference to `g_bShutdown'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/marriage.cpp:316: undefined reference to `g_bShutdown'
OBJDIR/marriage.o: In function `marriage::TMarriage::Logout(unsigned int)':
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/marriage.cpp:299: undefined reference to `g_bShutdown'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/marriage.cpp:316: undefined reference to `g_bShutdown'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/marriage.cpp:316: undefined reference to `g_bShutdown'
gmake: *** [../test] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [../game_0_0] Error 1
 

It is interesting that when i put in clean source code, the game compiles without problems. I would like to remind you that my code was compiled the same day i flooded the motherboard, and after a change errors are suddenly displayed and the compilation is aborted.

Anticipating the answers about defining the following functions, i have defined them, because as i said, the code compiled for several months without a problem until the "fall" of the computer.

 

 

 

 

/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/desc.cpp:398: undefined reference to `total_bytes_written'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/desc.cpp:399: undefined reference to `current_bytes_written'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/desc.cpp:396: undefined reference to `max_bytes_written'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/desc.cpp:399: undefined reference to `current_bytes_written'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/desc.cpp:396: undefined reference to `max_bytes_written'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/event.cpp:135: undefined reference to `ContinueOnFatalError()'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/input_db.cpp:1365: undefined reference to `main_fdw'
/usr/src/mainline_released/mainline_sg/Srcs/Server/game/src/marriage.cpp:299: undefined reference to `g_bShutdown'
 

Does anyone know the answer to solve this problem?

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.