EDIT: Issue Resolved.. I ran the following:
** tried to attach a file with the results of make {exluding errors which are below} but didnt seem to want me to... **
When i started the update i backed up my old server and that one still runs fine.. but when recompiling a new server..
Here is what errored to terminal during make.. I attached the rest of the make output as a file
Code: Select all
[root@Cent7 darkstar]# make >> /test/error
src/common/kernel.cpp: In function ‘const char* get_git_revision()’:
src/common/kernel.cpp:170:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 1024, fp);
^
src/common/zlib.cpp: In function ‘int32 zlib_init()’:
src/common/zlib.cpp:18:56: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(zlib_compress_table, sizeof(uint32), 512, fp);
^
src/common/zlib.cpp:28:57: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(temp_decompress_table, sizeof(char), size, fp);
^
src/map/instance_loader.cpp: In member function ‘CInstance* CInstanceLoader::LoadInstance(CInstance*)’:
src/map/instance_loader.cpp:100:3: warning: deprecated conversion from string constant to ‘int8* {aka char*}’ [-Wwrite-strings]
"SELECT mobname, mobid, pos_rot, pos_x, pos_y, pos_z, \
^
src/map/instance_loader.cpp:239:9: warning: deprecated conversion from string constant to ‘int8* {aka char*}’ [-Wwrite-strings]
Query =
^
src/map/linkshell.cpp: In function ‘void linkshell::LoadLinkshellList()’:
src/map/linkshell.cpp:368:46: warning: deprecated conversion from string constant to ‘int8* {aka char*}’ [-Wwrite-strings]
PLinkshell->setMessage("");
^
src/map/linkshell.cpp: In function ‘uint32 linkshell::RegisterNewLinkshell(const int8*, uint16)’:
src/map/linkshell.cpp:450:42: warning: deprecated conversion from string constant to ‘int8* {aka char*}’ [-Wwrite-strings]
PLinkshell->setMessage("");
^
src/map/navmesh.cpp: In member function ‘bool CNavMesh::load(char*)’:
src/map/navmesh.cpp:116:50: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(&header, sizeof(NavMeshSetHeader), 1, fp);
^
src/map/navmesh.cpp:148:50: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(&tileHeader, sizeof(tileHeader), 1, fp);
^
src/map/navmesh.cpp:155:44: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(data, tileHeader.dataSize, 1, fp);
^
src/map/packets/merit_points_categories.cpp: In constructor ‘CMeritPointsCategoriesPacket::CMeritPointsCategoriesPacket(CCharEntity*)’:
src/map/packets/merit_points_categories.cpp:80:64: warning: large integer implicitly truncated to unsigned type [-Woverflow]
MeritPointsCategoriesPacket(PChar, 5 * MAX_MERITS_IN_PACKET);
^
src/map/packet_system.cpp: In function ‘void SmallPacket0x00A(map_session_data_t*, CCharEntity*, CBasicPacket)’:
src/map/packet_system.cpp:317:104: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
CTaskMgr::getInstance()->AddTask(new CTaskMgr::CTask("afterZoneIn", gettick() + 500, (void*)PChar->id, CTaskMgr::TASK_ONCE, luautils::AfterZoneIn));
^
src/map/packet_system.cpp: In function ‘void SmallPacket0x04D(map_session_data_t*, CCharEntity*, CBasicPacket)’:
src/map/packet_system.cpp:1520:22: warning: deprecated conversion from string constant to ‘int8* {aka char*}’ [-Wwrite-strings]
fmtQuery = "SELECT itemid, itemsubid, slot, quantity, sent, extra, sender, charname FROM delivery_box WHERE charid = %u AND box = 1 AND slot < 8 ORDER BY slot;";
^
src/map/packet_system.cpp:1524:22: warning: deprecated conversion from string constant to ‘int8* {aka char*}’ [-Wwrite-strings]
fmtQuery = "SELECT itemid, itemsubid, slot, quantity, sent, extra, sender, charname FROM delivery_box WHERE senderid = %u AND box = 2 AND slot < 8 ORDER BY slot;";
^
src/common/kernel.cpp: In function ‘const char* get_git_revision()’:
src/common/kernel.cpp:170:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 1024, fp);
^
src/common/socket.cpp: In function ‘void socket_init_tcp()’:
src/common/socket.cpp:1031:31: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
char *SOCKET_CONF_FILENAME = "./conf/packet_darkstar_tcp.conf";
^
src/common/zlib.cpp: In function ‘int32 zlib_init()’:
src/common/zlib.cpp:18:56: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(zlib_compress_table, sizeof(uint32), 512, fp);
^
src/common/zlib.cpp:28:57: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(temp_decompress_table, sizeof(char), size, fp);
^
src/login/message_server.cpp: In function ‘void message_server_parse(MSGSERVTYPE, zmq::message_t*, zmq::message_t*, zmq::message_t*)’:
src/login/message_server.cpp:97:23: warning: deprecated conversion from string constant to ‘int8* {aka char*}’ [-Wwrite-strings]
int8* query = "SELECT server_addr, server_port FROM accounts_sessions LEFT JOIN chars ON \
^
src/login/message_server.cpp:102:27: warning: deprecated conversion from string constant to ‘int8* {aka char*}’ [-Wwrite-strings]
int8* query = "SELECT server_addr, server_port FROM accounts_sessions WHERE charid = %d LIMIT 1;";
^
src/login/message_server.cpp:111:23: warning: deprecated conversion from string constant to ‘int8* {aka char*}’ [-Wwrite-strings]
int8* query = "SELECT server_addr, server_port, MIN(charid) FROM accounts_sessions JOIN accounts_parties USING (charid) \
^
src/login/message_server.cpp:119:23: warning: deprecated conversion from string constant to ‘int8* {aka char*}’ [-Wwrite-strings]
int8* query = "SELECT server_addr, server_port FROM accounts_sessions \
^
src/login/message_server.cpp:126:23: warning: deprecated conversion from string constant to ‘int8* {aka char*}’ [-Wwrite-strings]
int8* query = "SELECT zoneip, zoneport FROM zone_settings WHERE misc & 1024 GROUP BY zoneip, zoneport;";
^
src/login/message_server.cpp:133:23: warning: deprecated conversion from string constant to ‘int8* {aka char*}’ [-Wwrite-strings]
int8* query = "SELECT zoneip, zoneport FROM zone_settings GROUP BY zoneip, zoneport;";
^
src/login/message_server.cpp:142:23: warning: deprecated conversion from string constant to ‘int8* {aka char*}’ [-Wwrite-strings]
int8* query = "SELECT server_addr, server_port FROM accounts_sessions WHERE charid = %d; ";
^
src/login/login_auth.cpp: In function ‘int32 login_parse(int32)’:
src/login/login_auth.cpp:221:34: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
char *fmtQuery = "SELECT max(accounts.id) FROM accounts;";
^
src/login/login_auth.cpp:249:26: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
fmtQuery = "INSERT INTO accounts(id,login,password,timecreate,timelastmodify,status,priv)\
^
src/search/search.cpp: In function ‘void login_config_default()’:
src/search/search.cpp:419:37: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
login_config.search_server_port = "54002";
^
[root@Cent7 darkstar]#