Onforum.net - Web and gaming resource community

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members .

Help compile source game bestproduction

anto1990

New member
Credits
0
I need to compile Lykan BestProduction V5 2019 to resolve same bug but I can't do it . I think makefile not work . Please help me .
Makefile:47: warning: overriding recipe for target 'libserverkey'
Makefile:13: warning: ignoring old recipe for target 'libserverkey'
--------------------------------------
Full Build Start
--------------------------------------
gmake -C liblua clean
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/liblua'
cd include; gmake clean
gmake[2]: Entering directory '/usr/src/best_production_v5_src/Server/liblua/include'
gmake[2]: Nothing to be done for 'clean'.
gmake[2]: Leaving directory '/usr/src/best_production_v5_src/Server/liblua/include'
cd src; gmake clean
gmake[2]: Entering directory '/usr/src/best_production_v5_src/Server/liblua/src'
rm -f lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltests.o ltm.o lundump.o lvm.o lzio.o ../lib/liblua.a
gmake[2]: Leaving directory '/usr/src/best_production_v5_src/Server/liblua/src'
cd src/lib; gmake clean
gmake[2]: Entering directory '/usr/src/best_production_v5_src/Server/liblua/src/lib'
rm -f lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o ltablib.o lstrlib.o loadlib.o ../../lib/liblualib.a
gmake[2]: Leaving directory '/usr/src/best_production_v5_src/Server/liblua/src/lib'
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/liblua'
gmake -C liblua
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/liblua'
cd include; gmake all
gmake[2]: Entering directory '/usr/src/best_production_v5_src/Server/liblua/include'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/usr/src/best_production_v5_src/Server/liblua/include'
cd src; gmake all
gmake[2]: Entering directory '/usr/src/best_production_v5_src/Server/liblua/src'
gcc -O2 -g -Wall -I../include -c -o lapi.o lapi.c
gcc -O2 -g -Wall -I../include -c -o lcode.o lcode.c
gcc -O2 -g -Wall -I../include -c -o ldebug.o ldebug.c
gcc -O2 -g -Wall -I../include -c -o ldo.o ldo.c
gcc -O2 -g -Wall -I../include -c -o ldump.o ldump.c
gcc -O2 -g -Wall -I../include -c -o lfunc.o lfunc.c
gcc -O2 -g -Wall -I../include -c -o lgc.o lgc.c
gcc -O2 -g -Wall -I../include -c -o llex.o llex.c
llex.c: In function 'read_string':
llex.c:285:7: warning: case label value is less than minimum value for type
case EOZ:
^
gcc -O2 -g -Wall -I../include -c -o lmem.o lmem.c
gcc -O2 -g -Wall -I../include -c -o lobject.o lobject.c
gcc -O2 -g -Wall -I../include -c -o lopcodes.o lopcodes.c
gcc -O2 -g -Wall -I../include -c -o lparser.o lparser.c
gcc -O2 -g -Wall -I../include -c -o lstate.o lstate.c
gcc -O2 -g -Wall -I../include -c -o lstring.o lstring.c
gcc -O2 -g -Wall -I../include -c -o ltable.o ltable.c
gcc -O2 -g -Wall -I../include -c -o ltests.o ltests.c
gcc -O2 -g -Wall -I../include -c -o ltm.o ltm.c
gcc -O2 -g -Wall -I../include -c -o lundump.o lundump.c
gcc -O2 -g -Wall -I../include -c -o lvm.o lvm.c
gcc -O2 -g -Wall -I../include -c -o lzio.o lzio.c
if [ ! -d ../lib ]; then mkdir ; fi
ar rcu ../lib/liblua.a lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltests.o ltm.o lundump.o lvm.o lzio.o
ranlib ../lib/liblua.a
gmake[2]: Leaving directory '/usr/src/best_production_v5_src/Server/liblua/src'
cd src/lib; gmake all
gmake[2]: Entering directory '/usr/src/best_production_v5_src/Server/liblua/src/lib'
gcc -O2 -g -Wall -I../../include -c -o lauxlib.o lauxlib.c
gcc -O2 -g -Wall -I../../include -c -o lbaselib.o lbaselib.c
gcc -O2 -g -Wall -I../../include -c -o ldblib.o ldblib.c
gcc -O2 -g -Wall -I../../include -c -o liolib.o liolib.c
liolib.c: In function 'g_iofile':
liolib.c:113:34: warning: value computed is not used [-Wunused-value]
#define tofile(L,i) (tofileh(L,i)->f)
^
liolib.c:251:7: note: in expansion of macro 'tofile'
tofile(L, 1); /* check that it's a valid file handle */
^
liolib.c: In function 'f_lines':
liolib.c:113:34: warning: value computed is not used [-Wunused-value]
#define tofile(L,i) (tofileh(L,i)->f)
^
liolib.c:286:3: note: in expansion of macro 'tofile'
tofile(L, 1); /* check that it's a valid file handle */
^
gcc -O2 -g -Wall -I../../include -c -o lmathlib.o lmathlib.c
gcc -O2 -g -Wall -I../../include -c -o ltablib.o ltablib.c
gcc -O2 -g -Wall -I../../include -c -o lstrlib.o lstrlib.c
gcc -O2 -g -Wall -I../../include -c -o loadlib.o loadlib.c
ar rcu ../../lib/liblualib.a lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o ltablib.o lstrlib.o loadlib.o
ranlib ../../lib/liblualib.a
gmake[2]: Leaving directory '/usr/src/best_production_v5_src/Server/liblua/src/lib'
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/liblua'
gmake -C libsql dep
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libsql'
touch Depend
g++49 -I../libmysql/5.x-5.1.35 -Wall -O2 -pipe -mcpu=i686 -D_THREAD_SAFE -fno-exceptions -MM *.cpp > Depend
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libsql'
gmake -C libsql clean
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libsql'
rm -f *.o
rm -f ./libsql.a
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libsql'
gmake -C libsql
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libsql'
gmake ./libsql.a
gmake[2]: Entering directory '/usr/src/best_production_v5_src/Server/libsql'
g++49 -I../libmysql/5.x-5.1.35 -Wall -O2 -pipe -mcpu=i686 -D_THREAD_SAFE -fno-exceptions -c AsyncSQL.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from AsyncSQL.cpp:8:0:
AsyncSQL.h: In constructor 'CAsyncSQL::CAsyncSQL()':
AsyncSQL.h:201:7: warning: 'CAsyncSQL::m_iCopiedQuery' will be initialized after [-Wreorder]
int m_iCopiedQuery;
^
AsyncSQL.h:175:7: warning: 'int CAsyncSQL::m_iPort' [-Wreorder]
int m_iPort;
^
AsyncSQL.cpp:19:1: warning: when initialized here [-Wreorder]
CAsyncSQL::CAsyncSQL()
^
g++49 -I../libmysql/5.x-5.1.35 -Wall -O2 -pipe -mcpu=i686 -D_THREAD_SAFE -fno-exceptions -c Semaphore.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -I../libmysql/5.x-5.1.35 -Wall -O2 -pipe -mcpu=i686 -D_THREAD_SAFE -fno-exceptions -c Tellwait.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -I../libmysql/5.x-5.1.35 -Wall -O2 -pipe -mcpu=i686 -D_THREAD_SAFE -fno-exceptions -c Statement.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
ar cru ./libsql.a AsyncSQL.o Semaphore.o Tellwait.o Statement.o
ranlib ./libsql.a
chmod 700 ./libsql.a
gmake[2]: Leaving directory '/usr/src/best_production_v5_src/Server/libsql'
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libsql'
gmake -C libgame/src dep
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libgame/src'
touch Depend
g++49 -Wall -O2 -pipe -mcpu=i686 -fno-exceptions -I../include -MM *.cc > Depend
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libgame/src'
gmake -C libgame/src clean
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libgame/src'
rm -f *.o
rm -f ../lib/libgame.a
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libgame/src'
gmake -C libgame/src
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libgame/src'
gmake ../lib/libgame.a
gmake[2]: Entering directory '/usr/src/best_production_v5_src/Server/libgame/src'
g++49 -Wall -O2 -pipe -mcpu=i686 -fno-exceptions -I../include -c grid.cc
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -fno-exceptions -I../include -c attribute.cc
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -fno-exceptions -I../include -c targa.cc
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
if [ ! -d ../lib ]; then mkdir ../lib; fi
ar cru ../lib/libgame.a grid.o attribute.o targa.o
ranlib ../lib/libgame.a
chmod 700 ../lib/libgame.a
gmake[2]: Leaving directory '/usr/src/best_production_v5_src/Server/libgame/src'
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libgame/src'
gmake -C libpoly dep
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libpoly'
touch Depend
g++49 -Wall -O2 -pipe -mcpu=i686 -fno-exceptions -fno-rtti -MM *.cc > Depend
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libpoly'
gmake -C libpoly clean
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libpoly'
rm -f *.o
rm -f ./libpoly.a
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libpoly'
gmake -C libpoly
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libpoly'
gmake ./libpoly.a
gmake[2]: Entering directory '/usr/src/best_production_v5_src/Server/libpoly'
g++49 -Wall -O2 -pipe -mcpu=i686 -fno-exceptions -fno-rtti -c Base.cc
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -fno-exceptions -fno-rtti -c Poly.cc
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -fno-exceptions -fno-rtti -c SymTable.cc
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -fno-exceptions -fno-rtti -c Symbol.cc
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
ar cru ./libpoly.a Base.o Poly.o SymTable.o Symbol.o
ranlib ./libpoly.a
chmod 700 ./libpoly.a
gmake[2]: Leaving directory '/usr/src/best_production_v5_src/Server/libpoly'
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libpoly'
gmake -C libthecore/src dep
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libthecore/src'
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -MM *.c > Depend
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libthecore/src'
gmake -C libthecore/src clean
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libthecore/src'
rm -f *.o
rm -f ../lib/libthecore.a
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libthecore/src'
gmake -C libthecore/src
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libthecore/src'
gmake ../lib/libthecore.a
gmake[2]: Entering directory '/usr/src/best_production_v5_src/Server/libthecore/src'
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c socket.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c fdwatch.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from ../include/stdafx.h:95:0,
from fdwatch.c:2:
fdwatch.c: In function 'void fdwatch_clear_event(LPFDWATCH, socket_t, unsigned int)':
fdwatch.c:163:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(event_idx < fdw->nfiles * 2);
^
fdwatch.c:165:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (fdw->kqrevents[event_idx].ident != fd)
^
In file included from ../include/stdafx.h:95:0,
from fdwatch.c:2:
fdwatch.c: In function 'int fdwatch_check_event(LPFDWATCH, socket_t, unsigned int)':
fdwatch.c:173:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(event_idx < fdw->nfiles * 2);
^
fdwatch.c:175:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (fdw->kqrevents[event_idx].ident != fd)
^
In file included from ../include/stdafx.h:95:0,
from fdwatch.c:2:
fdwatch.c: In function 'int fdwatch_get_ident(LPFDWATCH, unsigned int)':
fdwatch.c:207:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(event_idx < fdw->nfiles * 2);
^
fdwatch.c: In function 'void* fdwatch_get_client_data(LPFDWATCH, unsigned int)':
fdwatch.c:225:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(event_idx < fdw->nfiles * 2);
^
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c buffer.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c signal.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c log.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c utils.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c kstbl.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c hangul.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
hangul.c: In function 'const char* first_han(const BYTE*)':
hangul.c:47:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
char *p = "▒׿▒";
^
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c heart.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c main.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c tea.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c des.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from des.c:2:0:
DES_table.h:164:14: warning: 'KeyPerm' defined but not used [-Wunused-variable]
static DWORD KeyPerm[8][64] =
^
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c gost.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c memcpy.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
if [ ! -d ../lib ]; then mkdir ../lib; fi
ar cru ../lib/libthecore.a socket.o fdwatch.o buffer.o signal.o log.o utils.o kstbl.o hangul.o heart.o main.o tea.o des.o gost.o memcpy.o
ranlib ../lib/libthecore.a
chmod 700 ../lib/libthecore.a
gmake[2]: Leaving directory '/usr/src/best_production_v5_src/Server/libthecore/src'
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libthecore/src'
gmake -C game/src dep
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/game/src'
makedepend -f Depend -I../../../Extern/include/boost -I../../libdevil -I../../libmysql/7.x-5.1.35 -I../../../Extern/include -I../../liblua/include -I/usr/local/include -L/usr/local/lib/mysql -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -pOBJDIR/ BattleArena.cpp FSM.cpp MarkConvert.cpp MarkImage.cpp MarkManager.cpp OXEvent.cpp TrafficProfiler.cpp ani.cpp arena.cpp banword.cpp battle.cpp blend_item.cpp block_country.cpp buffer_manager.cpp building.cpp castle.cpp char.cpp char_affect.cpp char_battle.cpp char_change_empire.cpp char_horse.cpp char_item.cpp char_manager.cpp char_quickslot.cpp char_resist.cpp char_skill.cpp char_state.cpp PetSystem.cpp cmd.cpp cmd_emotion.cpp cmd_general.cpp cmd_gm.cpp cmd_oxevent.cpp config.cpp constants.cpp crc32.cpp cube.cpp db.cpp desc.cpp desc_client.cpp desc_manager.cpp desc_p2p.cpp dev_log.cpp dungeon.cpp empire_text_convert.cpp entity.cpp entity_view.cpp event.cpp event_queue.cpp exchange.cpp file_loader.cpp fishing.cpp gm.cpp guild.cpp guild_manager.cpp guild_war.cpp horse_rider.cpp horsename_manager.cpp input.cpp input_auth.cpp input_db.cpp input_login.cpp input_main.cpp input_p2p.cpp input_udp.cpp ip_ban.cpp item.cpp item_addon.cpp item_attribute.cpp item_manager.cpp item_manager_idrange.cpp locale.cpp locale_service.cpp log.cpp login_data.cpp lzo_manager.cpp marriage.cpp matrix_card.cpp messenger_manager.cpp mining.cpp mob_manager.cpp monarch.cpp motion.cpp over9refine.cpp p2p.cpp packet_info.cpp party.cpp pcbang.cpp polymorph.cpp priv_manager.cpp pvp.cpp questevent.cpp questlua.cpp questlua_affect.cpp questlua_arena.cpp questlua_ba.cpp questlua_building.cpp questlua_danceevent.cpp questlua_dungeon.cpp questlua_forked.cpp questlua_game.cpp questlua_global.cpp questlua_guild.cpp questlua_horse.cpp questlua_pet.cpp questlua_item.cpp questlua_marriage.cpp questlua_mgmt.cpp questlua_monarch.cpp questlua_npc.cpp questlua_oxevent.cpp questlua_party.cpp questlua_pc.cpp questlua_quest.cpp questlua_target.cpp questmanager.cpp questnpc.cpp questpc.cpp refine.cpp TempleOchao.cpp questlua_TempleOchao.cpp regen.cpp safebox.cpp sectree.cpp sectree_manager.cpp sequence.cpp shop.cpp skill.cpp start_position.cpp target.cpp text_file_loader.cpp trigger.cpp utils.cpp vector.cpp war_map.cpp wedding.cpp xmas_event.cpp version.cpp panama.cpp threeway_war.cpp map_location.cpp BlueDragon.cpp BlueDragon_Binder.cpp DragonLair.cpp questlua_dragonlair.cpp skill_power.cpp affect.cpp SpeedServer.cpp questlua_speedserver.cpp FileMonitor_FreeBSD.cpp ClientPackageCryptInfo.cpp cipher.cpp buff_on_attributes.cpp dragon_soul_table.cpp DragonSoul.cpp group_text_parse_tree.cpp char_dragonsoul.cpp questlua_dragonsoul.cpp item_combination.cpp shop_manager.cpp shopEx.cpp item_manager_read_tables.cpp bank.cpp New_PetSystem.cpp questlua_petnew.cpp questlua_mysql.cpp char_cards.cpp title.cpp ronark_system.cpp char_gaya.cpp new_events.cpp questlua_new_events.cpp MeleyLair.cpp questlua_MeleyLair.cpp offline_shop.cpp offlineshop_manager.cpp questlua_support.cpp SupportSystem.cpp biolog.cpp localization.cpp char_keyboard.cpp user_control.cpp reborn.cpp combat_zone.cpp auto_event_manager.cpp AutoNotice.cpp game_events.cpp event_manager.cpp tournament.cpp minilzo.c main.cpp 2> /dev/null > Depend
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/game/src'
gmake -C game/src clean
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/game/src'
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/game/src'
gmake -C db/src dep
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/db/src'
makedepend -fDepend -I../../boost -I../../libmysql/5.x-5.1.35 -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -p.obj/ Config.cpp NetBase.cpp Peer.cpp PeerBase.cpp Main.cpp Lock.cpp DBManager.cpp Cache.cpp LoginData.cpp ClientManager.cpp ClientManagerPlayer.cpp ClientManagerLogin.cpp ClientManagerBoot.cpp ClientManagerParty.cpp ClientManagerGuild.cpp GuildManager.cpp HB.cpp PrivManager.cpp MoneyLog.cpp ItemAwardManager.cpp ClientManagerEventFlag.cpp Marriage.cpp Monarch.cpp BlockCountry.cpp ItemIDRangeManager.cpp ClientManagerHorseName.cpp version.cpp ProtoReader.cpp CsvReader.cpp 2> /dev/null
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/db/src'
gmake -C db/src clean
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/db/src'
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/db/src'
gmake -C db/src
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/db/src'
[BEST Production] [DB] Source Derleniyor: Config.cpp
[BEST Production] [DB] Source Derleniyor: NetBase.cpp
[BEST Production] [DB] Source Derleniyor: Peer.cpp
[BEST Production] [DB] Source Derleniyor: PeerBase.cpp
gmake[1]: Warning: File 'Main.cpp' has modification time 16733 s in the future
[BEST Production] [DB] Source Derleniyor: Main.cpp
In file included from Main.cpp:6:0:
GuildManager.h: In member function 'bool TGuildDeclareInfo::eek:perator<(const TGuildDeclareInfo&) const':
GuildManager.h:33:74: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return dwGuildID[0] < r.dwGuildID[0] || dwGuildID[0] == r.dwGuildID[0] && dwGuildID[1] < r.dwGuildID[1];
^
GuildManager.h: In member function 'bool TGuildWaitStartInfo::eek:perator<(const TGuildWaitStartInfo&) const':
GuildManager.h:62:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return GID[0] < r.GID[0] || GID[0] == r.GID[0] && GID[1] < r.GID[1];
^
GuildManager.h: In function 'bool operator<(const TGuildSkillUsed&, const TGuildSkillUsed&)':
GuildManager.h:100:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return a.GID < b.GID || a.GID == b.GID && a.dwSkillVnum < b.dwSkillVnum;
^
[BEST Production] [DB] Source Derleniyor: Lock.cpp
[BEST Production] [DB] Source Derleniyor: DBManager.cpp
[BEST Production] [DB] Source Derleniyor: Cache.cpp
[BEST Production] [DB] Source Derleniyor: LoginData.cpp
[BEST Production] [DB] Source Derleniyor: ClientManager.cpp
In file included from ClientManager.cpp:16:0:
GuildManager.h: In member function 'bool TGuildDeclareInfo::eek:perator<(const TGuildDeclareInfo&) const':
GuildManager.h:33:74: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return dwGuildID[0] < r.dwGuildID[0] || dwGuildID[0] == r.dwGuildID[0] && dwGuildID[1] < r.dwGuildID[1];
^
GuildManager.h: In member function 'bool TGuildWaitStartInfo::eek:perator<(const TGuildWaitStartInfo&) const':
GuildManager.h:62:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return GID[0] < r.GID[0] || GID[0] == r.GID[0] && GID[1] < r.GID[1];
^
GuildManager.h: In function 'bool operator<(const TGuildSkillUsed&, const TGuildSkillUsed&)':
GuildManager.h:100:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return a.GID < b.GID || a.GID == b.GID && a.dwSkillVnum < b.dwSkillVnum;
^
ClientManager.cpp: In member function 'void CClientManager::MainLoop()':
ClientManager.cpp:234:10: warning: deleting object of polymorphic class type 'CItemPriceListTableCache' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
delete pCache;
^
ClientManager.cpp: In member function 'void CClientManager::RESULT_SAFEBOX_LOAD(CPeer*, SQLMsg*)':
ClientManager.cpp:727:128: warning: format '%u' expects a matching 'unsigned int' argument [-Wformat=]
pItemAward->dwVnum, pItemAward->dwCount, pItemAward->dwSocket0, pItemAward->dwSocket1, pItemAward->dwSocket2, dwSocket3);
^
ClientManager.cpp:727:128: warning: format '%u' expects a matching 'unsigned int' argument [-Wformat=]
ClientManager.cpp: In member function 'void CClientManager::RESULT_SAFEBOX_CHANGE_PASSWORD(CPeer*, SQLMsg*)':
ClientManager.cpp:821:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (row[0] && *row[0] && !strcasecmp(row[0], p->login) || (!row[0] || !*row[0]) && !strcmp("000000", p->login))
^
[BEST Production] [DB] Source Derleniyor: ClientManagerPlayer.cpp
ClientManagerPlayer.cpp: In function 'size_t CreatePlayerSaveQuery(char*, size_t, TPlayerTable*)':
ClientManagerPlayer.cpp:202:3: warning: format '%d' expects argument of type 'int', but argument 15 has type 'long int' [-Wformat=]
);
^
ClientManagerPlayer.cpp:202:3: warning: format '%d' expects argument of type 'int', but argument 16 has type 'long int' [-Wformat=]
ClientManagerPlayer.cpp:202:3: warning: format '%d' expects argument of type 'int', but argument 49 has type 'long int' [-Wformat=]
ClientManagerPlayer.cpp:202:3: warning: format '%d' expects argument of type 'int', but argument 15 has type 'long int' [-Wformat=]
ClientManagerPlayer.cpp:202:3: warning: format '%d' expects argument of type 'int', but argument 16 has type 'long int' [-Wformat=]
ClientManagerPlayer.cpp:202:3: warning: format '%d' expects argument of type 'int', but argument 49 has type 'long int' [-Wformat=]
ClientManagerPlayer.cpp: In member function 'char* CClientManager::GetCommand(char*)':
ClientManagerPlayer.cpp:429:7: warning: address of local variable 'command' returned [-Wreturn-local-addr]
char command[20] = "";
^
ClientManagerPlayer.cpp: In member function 'void CClientManager::__QUERY_PLAYER_CREATE(CPeer*, DWORD, TPlayerCreatePacket*)':
ClientManagerPlayer.cpp:881:32: warning: format '%d' expects argument of type 'int', but argument 18 has type 'long int' [-Wformat=]
,packet->player_table.cheque);
^
ClientManagerPlayer.cpp:881:32: warning: format '%d' expects argument of type 'int', but argument 19 has type 'long int' [-Wformat=]
ClientManagerPlayer.cpp:881:32: warning: format '%d' expects argument of type 'int', but argument 18 has type 'long int' [-Wformat=]
ClientManagerPlayer.cpp:881:32: warning: format '%d' expects argument of type 'int', but argument 19 has type 'long int' [-Wformat=]
ClientManagerPlayer.cpp: In member function 'void CClientManager::RESULT_HIGHSCORE_REGISTER(CPeer*, SQLMsg*)':
ClientManagerPlayer.cpp:1266:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (pi->account_index && current_value >= value || !pi->account_index && current_value <= value)
^
[BEST Production] [DB] Source Derleniyor: ClientManagerLogin.cpp
[BEST Production] [DB] Source Derleniyor: ClientManagerBoot.cpp
ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeMobTableTXT()':
ClientManagerBoot.cpp:424:11: warning: statement has no effect [-Wunused-value]
test_data;
^
ClientManagerBoot.cpp:222:7: warning: variable 'isNameFile' set but not used [-Wunused-but-set-variable]
bool isNameFile = true;
^
ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeItemTableTXT()':
ClientManagerBoot.cpp:677:7: warning: variable 'isNameFile' set but not used [-Wunused-but-set-variable]
bool isNameFile = true;
^
ClientManagerBoot.cpp:780:6: warning: unused variable 'testValue' [-Wunused-variable]
int testValue = m_vec_itemTable.size();
^
[BEST Production] [DB] Source Derleniyor: ClientManagerParty.cpp
[BEST Production] [DB] Source Derleniyor: ClientManagerGuild.cpp
In file included from ClientManagerGuild.cpp:8:0:
GuildManager.h: In member function 'bool TGuildDeclareInfo::eek:perator<(const TGuildDeclareInfo&) const':
GuildManager.h:33:74: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return dwGuildID[0] < r.dwGuildID[0] || dwGuildID[0] == r.dwGuildID[0] && dwGuildID[1] < r.dwGuildID[1];
^
GuildManager.h: In member function 'bool TGuildWaitStartInfo::eek:perator<(const TGuildWaitStartInfo&) const':
GuildManager.h:62:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return GID[0] < r.GID[0] || GID[0] == r.GID[0] && GID[1] < r.GID[1];
^
GuildManager.h: In function 'bool operator<(const TGuildSkillUsed&, const TGuildSkillUsed&)':
GuildManager.h:100:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return a.GID < b.GID || a.GID == b.GID && a.dwSkillVnum < b.dwSkillVnum;
^
[BEST Production] [DB] Source Derleniyor: GuildManager.cpp
In file included from GuildManager.cpp:2:0:
GuildManager.h: In member function 'bool TGuildDeclareInfo::eek:perator<(const TGuildDeclareInfo&) const':
GuildManager.h:33:74: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return dwGuildID[0] < r.dwGuildID[0] || dwGuildID[0] == r.dwGuildID[0] && dwGuildID[1] < r.dwGuildID[1];
^
GuildManager.h: In member function 'bool TGuildWaitStartInfo::eek:perator<(const TGuildWaitStartInfo&) const':
GuildManager.h:62:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return GID[0] < r.GID[0] || GID[0] == r.GID[0] && GID[1] < r.GID[1];
^
GuildManager.h: In function 'bool operator<(const TGuildSkillUsed&, const TGuildSkillUsed&)':
GuildManager.h:100:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return a.GID < b.GID || a.GID == b.GID && a.dwSkillVnum < b.dwSkillVnum;
^
[BEST Production] [DB] Source Derleniyor: HB.cpp
[BEST Production] [DB] Source Derleniyor: PrivManager.cpp
[BEST Production] [DB] Source Derleniyor: MoneyLog.cpp
[BEST Production] [DB] Source Derleniyor: ItemAwardManager.cpp
[BEST Production] [DB] Source Derleniyor: ClientManagerEventFlag.cpp
[BEST Production] [DB] Source Derleniyor: Marriage.cpp
[BEST Production] [DB] Source Derleniyor: Monarch.cpp
[BEST Production] [DB] Source Derleniyor: BlockCountry.cpp
[BEST Production] [DB] Source Derleniyor: ItemIDRangeManager.cpp
[BEST Production] [DB] Source Derleniyor: ClientManagerHorseName.cpp
[BEST Production] [DB] Source Derleniyor: version.cpp
[BEST Production] [DB] Source Derleniyor: ProtoReader.cpp
ProtoReader.cpp: In function 'std::string* StringSplit(std::string, std::string)':
ProtoReader.cpp:34:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while ((cutAt = strOrigin.find_first_of(strTok)) != strOrigin.npos)
^
ProtoReader.cpp: In function 'int get_Item_Type_Value(std::string)':
ProtoReader.cpp:89:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<sizeof(arType)/sizeof(arType[0]);j++) {
^
In file included from ../../common/singleton.h:4:0,
from stdafx.h:16,
from ProtoReader.cpp:1:
ProtoReader.cpp: In function 'int get_Item_SubType_Value(int, std::string)':
ProtoReader.cpp:197:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(_countof(arSubType) > type_value && "Subtype rule: Out of range!!");
^
ProtoReader.cpp:198:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (_countof(arSubType) <= type_value)
^
ProtoReader.cpp: In function 'int get_Item_AntiFlag_Value(std::string)':
ProtoReader.cpp:230:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i =0;i<sizeof(arAntiFlag)/sizeof(arAntiFlag[0]);i++)
^
ProtoReader.cpp: In function 'int get_Item_Flag_Value(std::string)':
ProtoReader.cpp:260:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i =0;i<sizeof(arFlag)/sizeof(arFlag[0]);i++) {
^
ProtoReader.cpp: In function 'int get_Item_WearFlag_Value(std::string)':
ProtoReader.cpp:310:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i =0;i<sizeof(arWearrFlag)/sizeof(arWearrFlag[0]);i++)
^
ProtoReader.cpp: In function 'int get_Item_Immune_Value(std::string)':
ProtoReader.cpp:337:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i =0;i<sizeof(arImmune)/sizeof(arImmune[0]);i++) {
^
ProtoReader.cpp: In function 'int get_Item_LimitType_Value(std::string)':
ProtoReader.cpp:365:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<sizeof(arLimitType)/sizeof(arLimitType[0]);j++) {
^
ProtoReader.cpp: In function 'int get_Item_ApplyType_Value(std::string)':
ProtoReader.cpp:501:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<sizeof(arApplyType)/sizeof(arApplyType[0]);j++)
^
ProtoReader.cpp: In function 'int get_Mob_Rank_Value(std::string)':
ProtoReader.cpp:524:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<sizeof(arRank)/sizeof(arRank[0]);j++) {
^
ProtoReader.cpp: In function 'int get_Mob_Type_Value(std::string)':
ProtoReader.cpp:546:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<sizeof(arType)/sizeof(arType[0]);j++) {
^
ProtoReader.cpp: In function 'int get_Mob_BattleType_Value(std::string)':
ProtoReader.cpp:567:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<sizeof(arBattleType)/sizeof(arBattleType[0]);j++) {
^
ProtoReader.cpp: In function 'int get_Mob_Size_Value(std::string)':
ProtoReader.cpp:588:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<sizeof(arSize)/sizeof(arSize[0]);j++) {
^
ProtoReader.cpp: In function 'int get_Mob_AIFlag_Value(std::string)':
ProtoReader.cpp:610:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i =0;i<sizeof(arAIFlag)/sizeof(arAIFlag[0]);i++) {
^
ProtoReader.cpp: In function 'int get_Mob_RaceFlag_Value(std::string)':
ProtoReader.cpp:636:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i =0;i<sizeof(arRaceFlag)/sizeof(arRaceFlag[0]);i++) {
^
ProtoReader.cpp: In function 'int get_Mob_ImmuneFlag_Value(std::string)':
ProtoReader.cpp:661:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i =0;i<sizeof(arImmuneFlag)/sizeof(arImmuneFlag[0]);i++) {
^
ProtoReader.cpp: In function 'bool Set_Proto_Item_Table(TItemTable*, cCsvTable&, std::map<int, const char*>&)':
ProtoReader.cpp:974:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<sizeof(dataArray)/sizeof(dataArray[0]);i++) {
^
ProtoReader.cpp:1041:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (std::string::npos == pos)
^
[BEST Production] [DB] Source Derleniyor: CsvReader.cpp
CsvReader.cpp: In member function 'const char* cCsvAlias::eek:perator[](size_t) const':
CsvReader.cpp:72:25: warning: left operand of comma operator has no effect [-Wunused-value]
LogToFile(NULL, "cannot find suitable conversion for %d", index);
^
CsvReader.cpp:72:67: warning: right operand of comma operator has no effect [-Wunused-value]
LogToFile(NULL, "cannot find suitable conversion for %d", index);
^
CsvReader.cpp: In member function 'size_t cCsvAlias::eek:perator[](const char*) const':
CsvReader.cpp:90:25: warning: left operand of comma operator has no effect [-Wunused-value]
LogToFile(NULL, "cannot find suitable conversion for %s", name);
^
CsvReader.cpp:90:67: warning: right operand of comma operator has no effect [-Wunused-value]
LogToFile(NULL, "cannot find suitable conversion for %s", name);
^
---- Compile basarili bir sekilde tamamlandi. ----
---- BEST PRODUCTION DB: /usr/game/share/bin/db.... uzantisina gonderildi
-------------------------------------------------
/usr/local/bin/ld: .obj/Main.o: in function `main':
/usr/src/best_production_v5_src/Server/db/src/Main.cpp:70: undefined reference to `_malloc_options'
collect2: error: ld returned 1 exit status
gmake[1]: *** [Makefile:47: /usr/game/share/bin/db] Error 1
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/db/src'
gmake: *** [Makefile:93: all] Error 2
root@V5:/usr/src/best_production_v5_src/S
 
Last edited by a moderator:
I need to compile Lykan BestProduction V5 2019 to resolve same bug but I can't do it . I think makefile not work . Please help me .
Makefile:47: warning: overriding recipe for target 'libserverkey'
Makefile:13: warning: ignoring old recipe for target 'libserverkey'
--------------------------------------
Full Build Start
--------------------------------------
gmake -C liblua clean
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/liblua'
cd include; gmake clean
gmake[2]: Entering directory '/usr/src/best_production_v5_src/Server/liblua/include'
gmake[2]: Nothing to be done for 'clean'.
gmake[2]: Leaving directory '/usr/src/best_production_v5_src/Server/liblua/include'
cd src; gmake clean
gmake[2]: Entering directory '/usr/src/best_production_v5_src/Server/liblua/src'
rm -f lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltests.o ltm.o lundump.o lvm.o lzio.o ../lib/liblua.a
gmake[2]: Leaving directory '/usr/src/best_production_v5_src/Server/liblua/src'
cd src/lib; gmake clean
gmake[2]: Entering directory '/usr/src/best_production_v5_src/Server/liblua/src/lib'
rm -f lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o ltablib.o lstrlib.o loadlib.o ../../lib/liblualib.a
gmake[2]: Leaving directory '/usr/src/best_production_v5_src/Server/liblua/src/lib'
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/liblua'
gmake -C liblua
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/liblua'
cd include; gmake all
gmake[2]: Entering directory '/usr/src/best_production_v5_src/Server/liblua/include'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/usr/src/best_production_v5_src/Server/liblua/include'
cd src; gmake all
gmake[2]: Entering directory '/usr/src/best_production_v5_src/Server/liblua/src'
gcc -O2 -g -Wall -I../include -c -o lapi.o lapi.c
gcc -O2 -g -Wall -I../include -c -o lcode.o lcode.c
gcc -O2 -g -Wall -I../include -c -o ldebug.o ldebug.c
gcc -O2 -g -Wall -I../include -c -o ldo.o ldo.c
gcc -O2 -g -Wall -I../include -c -o ldump.o ldump.c
gcc -O2 -g -Wall -I../include -c -o lfunc.o lfunc.c
gcc -O2 -g -Wall -I../include -c -o lgc.o lgc.c
gcc -O2 -g -Wall -I../include -c -o llex.o llex.c
llex.c: In function 'read_string':
llex.c:285:7: warning: case label value is less than minimum value for type
case EOZ:
^
gcc -O2 -g -Wall -I../include -c -o lmem.o lmem.c
gcc -O2 -g -Wall -I../include -c -o lobject.o lobject.c
gcc -O2 -g -Wall -I../include -c -o lopcodes.o lopcodes.c
gcc -O2 -g -Wall -I../include -c -o lparser.o lparser.c
gcc -O2 -g -Wall -I../include -c -o lstate.o lstate.c
gcc -O2 -g -Wall -I../include -c -o lstring.o lstring.c
gcc -O2 -g -Wall -I../include -c -o ltable.o ltable.c
gcc -O2 -g -Wall -I../include -c -o ltests.o ltests.c
gcc -O2 -g -Wall -I../include -c -o ltm.o ltm.c
gcc -O2 -g -Wall -I../include -c -o lundump.o lundump.c
gcc -O2 -g -Wall -I../include -c -o lvm.o lvm.c
gcc -O2 -g -Wall -I../include -c -o lzio.o lzio.c
if [ ! -d ../lib ]; then mkdir ; fi
ar rcu ../lib/liblua.a lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltests.o ltm.o lundump.o lvm.o lzio.o
ranlib ../lib/liblua.a
gmake[2]: Leaving directory '/usr/src/best_production_v5_src/Server/liblua/src'
cd src/lib; gmake all
gmake[2]: Entering directory '/usr/src/best_production_v5_src/Server/liblua/src/lib'
gcc -O2 -g -Wall -I../../include -c -o lauxlib.o lauxlib.c
gcc -O2 -g -Wall -I../../include -c -o lbaselib.o lbaselib.c
gcc -O2 -g -Wall -I../../include -c -o ldblib.o ldblib.c
gcc -O2 -g -Wall -I../../include -c -o liolib.o liolib.c
liolib.c: In function 'g_iofile':
liolib.c:113:34: warning: value computed is not used [-Wunused-value]
#define tofile(L,i) (tofileh(L,i)->f)
^
liolib.c:251:7: note: in expansion of macro 'tofile'
tofile(L, 1); /* check that it's a valid file handle */
^
liolib.c: In function 'f_lines':
liolib.c:113:34: warning: value computed is not used [-Wunused-value]
#define tofile(L,i) (tofileh(L,i)->f)
^
liolib.c:286:3: note: in expansion of macro 'tofile'
tofile(L, 1); /* check that it's a valid file handle */
^
gcc -O2 -g -Wall -I../../include -c -o lmathlib.o lmathlib.c
gcc -O2 -g -Wall -I../../include -c -o ltablib.o ltablib.c
gcc -O2 -g -Wall -I../../include -c -o lstrlib.o lstrlib.c
gcc -O2 -g -Wall -I../../include -c -o loadlib.o loadlib.c
ar rcu ../../lib/liblualib.a lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o ltablib.o lstrlib.o loadlib.o
ranlib ../../lib/liblualib.a
gmake[2]: Leaving directory '/usr/src/best_production_v5_src/Server/liblua/src/lib'
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/liblua'
gmake -C libsql dep
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libsql'
touch Depend
g++49 -I../libmysql/5.x-5.1.35 -Wall -O2 -pipe -mcpu=i686 -D_THREAD_SAFE -fno-exceptions -MM *.cpp > Depend
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libsql'
gmake -C libsql clean
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libsql'
rm -f *.o
rm -f ./libsql.a
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libsql'
gmake -C libsql
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libsql'
gmake ./libsql.a
gmake[2]: Entering directory '/usr/src/best_production_v5_src/Server/libsql'
g++49 -I../libmysql/5.x-5.1.35 -Wall -O2 -pipe -mcpu=i686 -D_THREAD_SAFE -fno-exceptions -c AsyncSQL.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from AsyncSQL.cpp:8:0:
AsyncSQL.h: In constructor 'CAsyncSQL::CAsyncSQL()':
AsyncSQL.h:201:7: warning: 'CAsyncSQL::m_iCopiedQuery' will be initialized after [-Wreorder]
int m_iCopiedQuery;
^
AsyncSQL.h:175:7: warning: 'int CAsyncSQL::m_iPort' [-Wreorder]
int m_iPort;
^
AsyncSQL.cpp:19:1: warning: when initialized here [-Wreorder]
CAsyncSQL::CAsyncSQL()
^
g++49 -I../libmysql/5.x-5.1.35 -Wall -O2 -pipe -mcpu=i686 -D_THREAD_SAFE -fno-exceptions -c Semaphore.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -I../libmysql/5.x-5.1.35 -Wall -O2 -pipe -mcpu=i686 -D_THREAD_SAFE -fno-exceptions -c Tellwait.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -I../libmysql/5.x-5.1.35 -Wall -O2 -pipe -mcpu=i686 -D_THREAD_SAFE -fno-exceptions -c Statement.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
ar cru ./libsql.a AsyncSQL.o Semaphore.o Tellwait.o Statement.o
ranlib ./libsql.a
chmod 700 ./libsql.a
gmake[2]: Leaving directory '/usr/src/best_production_v5_src/Server/libsql'
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libsql'
gmake -C libgame/src dep
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libgame/src'
touch Depend
g++49 -Wall -O2 -pipe -mcpu=i686 -fno-exceptions -I../include -MM *.cc > Depend
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libgame/src'
gmake -C libgame/src clean
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libgame/src'
rm -f *.o
rm -f ../lib/libgame.a
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libgame/src'
gmake -C libgame/src
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libgame/src'
gmake ../lib/libgame.a
gmake[2]: Entering directory '/usr/src/best_production_v5_src/Server/libgame/src'
g++49 -Wall -O2 -pipe -mcpu=i686 -fno-exceptions -I../include -c grid.cc
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -fno-exceptions -I../include -c attribute.cc
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -fno-exceptions -I../include -c targa.cc
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
if [ ! -d ../lib ]; then mkdir ../lib; fi
ar cru ../lib/libgame.a grid.o attribute.o targa.o
ranlib ../lib/libgame.a
chmod 700 ../lib/libgame.a
gmake[2]: Leaving directory '/usr/src/best_production_v5_src/Server/libgame/src'
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libgame/src'
gmake -C libpoly dep
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libpoly'
touch Depend
g++49 -Wall -O2 -pipe -mcpu=i686 -fno-exceptions -fno-rtti -MM *.cc > Depend
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libpoly'
gmake -C libpoly clean
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libpoly'
rm -f *.o
rm -f ./libpoly.a
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libpoly'
gmake -C libpoly
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libpoly'
gmake ./libpoly.a
gmake[2]: Entering directory '/usr/src/best_production_v5_src/Server/libpoly'
g++49 -Wall -O2 -pipe -mcpu=i686 -fno-exceptions -fno-rtti -c Base.cc
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -fno-exceptions -fno-rtti -c Poly.cc
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -fno-exceptions -fno-rtti -c SymTable.cc
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -fno-exceptions -fno-rtti -c Symbol.cc
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
ar cru ./libpoly.a Base.o Poly.o SymTable.o Symbol.o
ranlib ./libpoly.a
chmod 700 ./libpoly.a
gmake[2]: Leaving directory '/usr/src/best_production_v5_src/Server/libpoly'
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libpoly'
gmake -C libthecore/src dep
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libthecore/src'
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -MM *.c > Depend
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libthecore/src'
gmake -C libthecore/src clean
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libthecore/src'
rm -f *.o
rm -f ../lib/libthecore.a
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libthecore/src'
gmake -C libthecore/src
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/libthecore/src'
gmake ../lib/libthecore.a
gmake[2]: Entering directory '/usr/src/best_production_v5_src/Server/libthecore/src'
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c socket.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c fdwatch.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from ../include/stdafx.h:95:0,
from fdwatch.c:2:
fdwatch.c: In function 'void fdwatch_clear_event(LPFDWATCH, socket_t, unsigned int)':
fdwatch.c:163:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(event_idx < fdw->nfiles * 2);
^
fdwatch.c:165:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (fdw->kqrevents[event_idx].ident != fd)
^
In file included from ../include/stdafx.h:95:0,
from fdwatch.c:2:
fdwatch.c: In function 'int fdwatch_check_event(LPFDWATCH, socket_t, unsigned int)':
fdwatch.c:173:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(event_idx < fdw->nfiles * 2);
^
fdwatch.c:175:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (fdw->kqrevents[event_idx].ident != fd)
^
In file included from ../include/stdafx.h:95:0,
from fdwatch.c:2:
fdwatch.c: In function 'int fdwatch_get_ident(LPFDWATCH, unsigned int)':
fdwatch.c:207:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(event_idx < fdw->nfiles * 2);
^
fdwatch.c: In function 'void* fdwatch_get_client_data(LPFDWATCH, unsigned int)':
fdwatch.c:225:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(event_idx < fdw->nfiles * 2);
^
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c buffer.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c signal.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c log.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c utils.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c kstbl.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c hangul.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
hangul.c: In function 'const char* first_han(const BYTE*)':
hangul.c:47:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
char *p = "▒׿▒";
^
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c heart.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c main.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c tea.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c des.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from des.c:2:0:
DES_table.h:164:14: warning: 'KeyPerm' defined but not used [-Wunused-variable]
static DWORD KeyPerm[8][64] =
^
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c gost.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49 -Wall -O2 -pipe -mcpu=i686 -g -I../include -c memcpy.c
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
if [ ! -d ../lib ]; then mkdir ../lib; fi
ar cru ../lib/libthecore.a socket.o fdwatch.o buffer.o signal.o log.o utils.o kstbl.o hangul.o heart.o main.o tea.o des.o gost.o memcpy.o
ranlib ../lib/libthecore.a
chmod 700 ../lib/libthecore.a
gmake[2]: Leaving directory '/usr/src/best_production_v5_src/Server/libthecore/src'
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/libthecore/src'
gmake -C game/src dep
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/game/src'
makedepend -f Depend -I../../../Extern/include/boost -I../../libdevil -I../../libmysql/7.x-5.1.35 -I../../../Extern/include -I../../liblua/include -I/usr/local/include -L/usr/local/lib/mysql -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -pOBJDIR/ BattleArena.cpp FSM.cpp MarkConvert.cpp MarkImage.cpp MarkManager.cpp OXEvent.cpp TrafficProfiler.cpp ani.cpp arena.cpp banword.cpp battle.cpp blend_item.cpp block_country.cpp buffer_manager.cpp building.cpp castle.cpp char.cpp char_affect.cpp char_battle.cpp char_change_empire.cpp char_horse.cpp char_item.cpp char_manager.cpp char_quickslot.cpp char_resist.cpp char_skill.cpp char_state.cpp PetSystem.cpp cmd.cpp cmd_emotion.cpp cmd_general.cpp cmd_gm.cpp cmd_oxevent.cpp config.cpp constants.cpp crc32.cpp cube.cpp db.cpp desc.cpp desc_client.cpp desc_manager.cpp desc_p2p.cpp dev_log.cpp dungeon.cpp empire_text_convert.cpp entity.cpp entity_view.cpp event.cpp event_queue.cpp exchange.cpp file_loader.cpp fishing.cpp gm.cpp guild.cpp guild_manager.cpp guild_war.cpp horse_rider.cpp horsename_manager.cpp input.cpp input_auth.cpp input_db.cpp input_login.cpp input_main.cpp input_p2p.cpp input_udp.cpp ip_ban.cpp item.cpp item_addon.cpp item_attribute.cpp item_manager.cpp item_manager_idrange.cpp locale.cpp locale_service.cpp log.cpp login_data.cpp lzo_manager.cpp marriage.cpp matrix_card.cpp messenger_manager.cpp mining.cpp mob_manager.cpp monarch.cpp motion.cpp over9refine.cpp p2p.cpp packet_info.cpp party.cpp pcbang.cpp polymorph.cpp priv_manager.cpp pvp.cpp questevent.cpp questlua.cpp questlua_affect.cpp questlua_arena.cpp questlua_ba.cpp questlua_building.cpp questlua_danceevent.cpp questlua_dungeon.cpp questlua_forked.cpp questlua_game.cpp questlua_global.cpp questlua_guild.cpp questlua_horse.cpp questlua_pet.cpp questlua_item.cpp questlua_marriage.cpp questlua_mgmt.cpp questlua_monarch.cpp questlua_npc.cpp questlua_oxevent.cpp questlua_party.cpp questlua_pc.cpp questlua_quest.cpp questlua_target.cpp questmanager.cpp questnpc.cpp questpc.cpp refine.cpp TempleOchao.cpp questlua_TempleOchao.cpp regen.cpp safebox.cpp sectree.cpp sectree_manager.cpp sequence.cpp shop.cpp skill.cpp start_position.cpp target.cpp text_file_loader.cpp trigger.cpp utils.cpp vector.cpp war_map.cpp wedding.cpp xmas_event.cpp version.cpp panama.cpp threeway_war.cpp map_location.cpp BlueDragon.cpp BlueDragon_Binder.cpp DragonLair.cpp questlua_dragonlair.cpp skill_power.cpp affect.cpp SpeedServer.cpp questlua_speedserver.cpp FileMonitor_FreeBSD.cpp ClientPackageCryptInfo.cpp cipher.cpp buff_on_attributes.cpp dragon_soul_table.cpp DragonSoul.cpp group_text_parse_tree.cpp char_dragonsoul.cpp questlua_dragonsoul.cpp item_combination.cpp shop_manager.cpp shopEx.cpp item_manager_read_tables.cpp bank.cpp New_PetSystem.cpp questlua_petnew.cpp questlua_mysql.cpp char_cards.cpp title.cpp ronark_system.cpp char_gaya.cpp new_events.cpp questlua_new_events.cpp MeleyLair.cpp questlua_MeleyLair.cpp offline_shop.cpp offlineshop_manager.cpp questlua_support.cpp SupportSystem.cpp biolog.cpp localization.cpp char_keyboard.cpp user_control.cpp reborn.cpp combat_zone.cpp auto_event_manager.cpp AutoNotice.cpp game_events.cpp event_manager.cpp tournament.cpp minilzo.c main.cpp 2> /dev/null > Depend
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/game/src'
gmake -C game/src clean
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/game/src'
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/game/src'
gmake -C db/src dep
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/db/src'
makedepend -fDepend -I../../boost -I../../libmysql/5.x-5.1.35 -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -p.obj/ Config.cpp NetBase.cpp Peer.cpp PeerBase.cpp Main.cpp Lock.cpp DBManager.cpp Cache.cpp LoginData.cpp ClientManager.cpp ClientManagerPlayer.cpp ClientManagerLogin.cpp ClientManagerBoot.cpp ClientManagerParty.cpp ClientManagerGuild.cpp GuildManager.cpp HB.cpp PrivManager.cpp MoneyLog.cpp ItemAwardManager.cpp ClientManagerEventFlag.cpp Marriage.cpp Monarch.cpp BlockCountry.cpp ItemIDRangeManager.cpp ClientManagerHorseName.cpp version.cpp ProtoReader.cpp CsvReader.cpp 2> /dev/null
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/db/src'
gmake -C db/src clean
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/db/src'
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/db/src'
gmake -C db/src
gmake[1]: Entering directory '/usr/src/best_production_v5_src/Server/db/src'
[BEST Production] [DB] Source Derleniyor: Config.cpp
[BEST Production] [DB] Source Derleniyor: NetBase.cpp
[BEST Production] [DB] Source Derleniyor: Peer.cpp
[BEST Production] [DB] Source Derleniyor: PeerBase.cpp
gmake[1]: Warning: File 'Main.cpp' has modification time 16733 s in the future
[BEST Production] [DB] Source Derleniyor: Main.cpp
In file included from Main.cpp:6:0:
GuildManager.h: In member function 'bool TGuildDeclareInfo::eek:perator<(const TGuildDeclareInfo&) const':
GuildManager.h:33:74: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return dwGuildID[0] < r.dwGuildID[0] || dwGuildID[0] == r.dwGuildID[0] && dwGuildID[1] < r.dwGuildID[1];
^
GuildManager.h: In member function 'bool TGuildWaitStartInfo::eek:perator<(const TGuildWaitStartInfo&) const':
GuildManager.h:62:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return GID[0] < r.GID[0] || GID[0] == r.GID[0] && GID[1] < r.GID[1];
^
GuildManager.h: In function 'bool operator<(const TGuildSkillUsed&, const TGuildSkillUsed&)':
GuildManager.h:100:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return a.GID < b.GID || a.GID == b.GID && a.dwSkillVnum < b.dwSkillVnum;
^
[BEST Production] [DB] Source Derleniyor: Lock.cpp
[BEST Production] [DB] Source Derleniyor: DBManager.cpp
[BEST Production] [DB] Source Derleniyor: Cache.cpp
[BEST Production] [DB] Source Derleniyor: LoginData.cpp
[BEST Production] [DB] Source Derleniyor: ClientManager.cpp
In file included from ClientManager.cpp:16:0:
GuildManager.h: In member function 'bool TGuildDeclareInfo::eek:perator<(const TGuildDeclareInfo&) const':
GuildManager.h:33:74: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return dwGuildID[0] < r.dwGuildID[0] || dwGuildID[0] == r.dwGuildID[0] && dwGuildID[1] < r.dwGuildID[1];
^
GuildManager.h: In member function 'bool TGuildWaitStartInfo::eek:perator<(const TGuildWaitStartInfo&) const':
GuildManager.h:62:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return GID[0] < r.GID[0] || GID[0] == r.GID[0] && GID[1] < r.GID[1];
^
GuildManager.h: In function 'bool operator<(const TGuildSkillUsed&, const TGuildSkillUsed&)':
GuildManager.h:100:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return a.GID < b.GID || a.GID == b.GID && a.dwSkillVnum < b.dwSkillVnum;
^
ClientManager.cpp: In member function 'void CClientManager::MainLoop()':
ClientManager.cpp:234:10: warning: deleting object of polymorphic class type 'CItemPriceListTableCache' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
delete pCache;
^
ClientManager.cpp: In member function 'void CClientManager::RESULT_SAFEBOX_LOAD(CPeer*, SQLMsg*)':
ClientManager.cpp:727:128: warning: format '%u' expects a matching 'unsigned int' argument [-Wformat=]
pItemAward->dwVnum, pItemAward->dwCount, pItemAward->dwSocket0, pItemAward->dwSocket1, pItemAward->dwSocket2, dwSocket3);
^
ClientManager.cpp:727:128: warning: format '%u' expects a matching 'unsigned int' argument [-Wformat=]
ClientManager.cpp: In member function 'void CClientManager::RESULT_SAFEBOX_CHANGE_PASSWORD(CPeer*, SQLMsg*)':
ClientManager.cpp:821:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (row[0] && *row[0] && !strcasecmp(row[0], p->login) || (!row[0] || !*row[0]) && !strcmp("000000", p->login))
^
[BEST Production] [DB] Source Derleniyor: ClientManagerPlayer.cpp
ClientManagerPlayer.cpp: In function 'size_t CreatePlayerSaveQuery(char*, size_t, TPlayerTable*)':
ClientManagerPlayer.cpp:202:3: warning: format '%d' expects argument of type 'int', but argument 15 has type 'long int' [-Wformat=]
);
^
ClientManagerPlayer.cpp:202:3: warning: format '%d' expects argument of type 'int', but argument 16 has type 'long int' [-Wformat=]
ClientManagerPlayer.cpp:202:3: warning: format '%d' expects argument of type 'int', but argument 49 has type 'long int' [-Wformat=]
ClientManagerPlayer.cpp:202:3: warning: format '%d' expects argument of type 'int', but argument 15 has type 'long int' [-Wformat=]
ClientManagerPlayer.cpp:202:3: warning: format '%d' expects argument of type 'int', but argument 16 has type 'long int' [-Wformat=]
ClientManagerPlayer.cpp:202:3: warning: format '%d' expects argument of type 'int', but argument 49 has type 'long int' [-Wformat=]
ClientManagerPlayer.cpp: In member function 'char* CClientManager::GetCommand(char*)':
ClientManagerPlayer.cpp:429:7: warning: address of local variable 'command' returned [-Wreturn-local-addr]
char command[20] = "";
^
ClientManagerPlayer.cpp: In member function 'void CClientManager::__QUERY_PLAYER_CREATE(CPeer*, DWORD, TPlayerCreatePacket*)':
ClientManagerPlayer.cpp:881:32: warning: format '%d' expects argument of type 'int', but argument 18 has type 'long int' [-Wformat=]
,packet->player_table.cheque);
^
ClientManagerPlayer.cpp:881:32: warning: format '%d' expects argument of type 'int', but argument 19 has type 'long int' [-Wformat=]
ClientManagerPlayer.cpp:881:32: warning: format '%d' expects argument of type 'int', but argument 18 has type 'long int' [-Wformat=]
ClientManagerPlayer.cpp:881:32: warning: format '%d' expects argument of type 'int', but argument 19 has type 'long int' [-Wformat=]
ClientManagerPlayer.cpp: In member function 'void CClientManager::RESULT_HIGHSCORE_REGISTER(CPeer*, SQLMsg*)':
ClientManagerPlayer.cpp:1266:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (pi->account_index && current_value >= value || !pi->account_index && current_value <= value)
^
[BEST Production] [DB] Source Derleniyor: ClientManagerLogin.cpp
[BEST Production] [DB] Source Derleniyor: ClientManagerBoot.cpp
ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeMobTableTXT()':
ClientManagerBoot.cpp:424:11: warning: statement has no effect [-Wunused-value]
test_data;
^
ClientManagerBoot.cpp:222:7: warning: variable 'isNameFile' set but not used [-Wunused-but-set-variable]
bool isNameFile = true;
^
ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeItemTableTXT()':
ClientManagerBoot.cpp:677:7: warning: variable 'isNameFile' set but not used [-Wunused-but-set-variable]
bool isNameFile = true;
^
ClientManagerBoot.cpp:780:6: warning: unused variable 'testValue' [-Wunused-variable]
int testValue = m_vec_itemTable.size();
^
[BEST Production] [DB] Source Derleniyor: ClientManagerParty.cpp
[BEST Production] [DB] Source Derleniyor: ClientManagerGuild.cpp
In file included from ClientManagerGuild.cpp:8:0:
GuildManager.h: In member function 'bool TGuildDeclareInfo::eek:perator<(const TGuildDeclareInfo&) const':
GuildManager.h:33:74: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return dwGuildID[0] < r.dwGuildID[0] || dwGuildID[0] == r.dwGuildID[0] && dwGuildID[1] < r.dwGuildID[1];
^
GuildManager.h: In member function 'bool TGuildWaitStartInfo::eek:perator<(const TGuildWaitStartInfo&) const':
GuildManager.h:62:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return GID[0] < r.GID[0] || GID[0] == r.GID[0] && GID[1] < r.GID[1];
^
GuildManager.h: In function 'bool operator<(const TGuildSkillUsed&, const TGuildSkillUsed&)':
GuildManager.h:100:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return a.GID < b.GID || a.GID == b.GID && a.dwSkillVnum < b.dwSkillVnum;
^
[BEST Production] [DB] Source Derleniyor: GuildManager.cpp
In file included from GuildManager.cpp:2:0:
GuildManager.h: In member function 'bool TGuildDeclareInfo::eek:perator<(const TGuildDeclareInfo&) const':
GuildManager.h:33:74: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return dwGuildID[0] < r.dwGuildID[0] || dwGuildID[0] == r.dwGuildID[0] && dwGuildID[1] < r.dwGuildID[1];
^
GuildManager.h: In member function 'bool TGuildWaitStartInfo::eek:perator<(const TGuildWaitStartInfo&) const':
GuildManager.h:62:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return GID[0] < r.GID[0] || GID[0] == r.GID[0] && GID[1] < r.GID[1];
^
GuildManager.h: In function 'bool operator<(const TGuildSkillUsed&, const TGuildSkillUsed&)':
GuildManager.h:100:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return a.GID < b.GID || a.GID == b.GID && a.dwSkillVnum < b.dwSkillVnum;
^
[BEST Production] [DB] Source Derleniyor: HB.cpp
[BEST Production] [DB] Source Derleniyor: PrivManager.cpp
[BEST Production] [DB] Source Derleniyor: MoneyLog.cpp
[BEST Production] [DB] Source Derleniyor: ItemAwardManager.cpp
[BEST Production] [DB] Source Derleniyor: ClientManagerEventFlag.cpp
[BEST Production] [DB] Source Derleniyor: Marriage.cpp
[BEST Production] [DB] Source Derleniyor: Monarch.cpp
[BEST Production] [DB] Source Derleniyor: BlockCountry.cpp
[BEST Production] [DB] Source Derleniyor: ItemIDRangeManager.cpp
[BEST Production] [DB] Source Derleniyor: ClientManagerHorseName.cpp
[BEST Production] [DB] Source Derleniyor: version.cpp
[BEST Production] [DB] Source Derleniyor: ProtoReader.cpp
ProtoReader.cpp: In function 'std::string* StringSplit(std::string, std::string)':
ProtoReader.cpp:34:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while ((cutAt = strOrigin.find_first_of(strTok)) != strOrigin.npos)
^
ProtoReader.cpp: In function 'int get_Item_Type_Value(std::string)':
ProtoReader.cpp:89:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<sizeof(arType)/sizeof(arType[0]);j++) {
^
In file included from ../../common/singleton.h:4:0,
from stdafx.h:16,
from ProtoReader.cpp:1:
ProtoReader.cpp: In function 'int get_Item_SubType_Value(int, std::string)':
ProtoReader.cpp:197:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(_countof(arSubType) > type_value && "Subtype rule: Out of range!!");
^
ProtoReader.cpp:198:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (_countof(arSubType) <= type_value)
^
ProtoReader.cpp: In function 'int get_Item_AntiFlag_Value(std::string)':
ProtoReader.cpp:230:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i =0;i<sizeof(arAntiFlag)/sizeof(arAntiFlag[0]);i++)
^
ProtoReader.cpp: In function 'int get_Item_Flag_Value(std::string)':
ProtoReader.cpp:260:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i =0;i<sizeof(arFlag)/sizeof(arFlag[0]);i++) {
^
ProtoReader.cpp: In function 'int get_Item_WearFlag_Value(std::string)':
ProtoReader.cpp:310:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i =0;i<sizeof(arWearrFlag)/sizeof(arWearrFlag[0]);i++)
^
ProtoReader.cpp: In function 'int get_Item_Immune_Value(std::string)':
ProtoReader.cpp:337:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i =0;i<sizeof(arImmune)/sizeof(arImmune[0]);i++) {
^
ProtoReader.cpp: In function 'int get_Item_LimitType_Value(std::string)':
ProtoReader.cpp:365:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<sizeof(arLimitType)/sizeof(arLimitType[0]);j++) {
^
ProtoReader.cpp: In function 'int get_Item_ApplyType_Value(std::string)':
ProtoReader.cpp:501:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<sizeof(arApplyType)/sizeof(arApplyType[0]);j++)
^
ProtoReader.cpp: In function 'int get_Mob_Rank_Value(std::string)':
ProtoReader.cpp:524:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<sizeof(arRank)/sizeof(arRank[0]);j++) {
^
ProtoReader.cpp: In function 'int get_Mob_Type_Value(std::string)':
ProtoReader.cpp:546:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<sizeof(arType)/sizeof(arType[0]);j++) {
^
ProtoReader.cpp: In function 'int get_Mob_BattleType_Value(std::string)':
ProtoReader.cpp:567:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<sizeof(arBattleType)/sizeof(arBattleType[0]);j++) {
^
ProtoReader.cpp: In function 'int get_Mob_Size_Value(std::string)':
ProtoReader.cpp:588:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<sizeof(arSize)/sizeof(arSize[0]);j++) {
^
ProtoReader.cpp: In function 'int get_Mob_AIFlag_Value(std::string)':
ProtoReader.cpp:610:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i =0;i<sizeof(arAIFlag)/sizeof(arAIFlag[0]);i++) {
^
ProtoReader.cpp: In function 'int get_Mob_RaceFlag_Value(std::string)':
ProtoReader.cpp:636:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i =0;i<sizeof(arRaceFlag)/sizeof(arRaceFlag[0]);i++) {
^
ProtoReader.cpp: In function 'int get_Mob_ImmuneFlag_Value(std::string)':
ProtoReader.cpp:661:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i =0;i<sizeof(arImmuneFlag)/sizeof(arImmuneFlag[0]);i++) {
^
ProtoReader.cpp: In function 'bool Set_Proto_Item_Table(TItemTable*, cCsvTable&, std::map<int, const char*>&)':
ProtoReader.cpp:974:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<sizeof(dataArray)/sizeof(dataArray[0]);i++) {
^
ProtoReader.cpp:1041:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (std::string::npos == pos)
^
[BEST Production] [DB] Source Derleniyor: CsvReader.cpp
CsvReader.cpp: In member function 'const char* cCsvAlias::eek:perator[](size_t) const':
CsvReader.cpp:72:25: warning: left operand of comma operator has no effect [-Wunused-value]
LogToFile(NULL, "cannot find suitable conversion for %d", index);
^
CsvReader.cpp:72:67: warning: right operand of comma operator has no effect [-Wunused-value]
LogToFile(NULL, "cannot find suitable conversion for %d", index);
^
CsvReader.cpp: In member function 'size_t cCsvAlias::eek:perator[](const char*) const':
CsvReader.cpp:90:25: warning: left operand of comma operator has no effect [-Wunused-value]
LogToFile(NULL, "cannot find suitable conversion for %s", name);
^
CsvReader.cpp:90:67: warning: right operand of comma operator has no effect [-Wunused-value]
LogToFile(NULL, "cannot find suitable conversion for %s", name);
^
---- Compile basarili bir sekilde tamamlandi. ----
---- BEST PRODUCTION DB: /usr/game/share/bin/db.... uzantisina gonderildi
-------------------------------------------------
/usr/local/bin/ld: .obj/Main.o: in function `main':
/usr/src/best_production_v5_src/Server/db/src/Main.cpp:70: undefined reference to `_malloc_options'
collect2: error: ld returned 1 exit status
gmake[1]: *** [Makefile:47: /usr/game/share/bin/db] Error 1
gmake[1]: Leaving directory '/usr/src/best_production_v5_src/Server/db/src'
gmake: *** [Makefile:93: all] Error 2
root@V5:/usr/src/best_production_v5_src/S


You have to install gcc49, and compile all libs within game src, with that compiler version.
Then you can compile your source.
 
I did it, after modifying some things in the makefile by following some online guides I got the two files out but when I go to replace them it tells me there is no library what doesn't happen with the normal game and db
 

Similar threads


Top

Dear User!

We found that you are blocking the display of ads on our site.

Please add it to the exception list or disable AdBlock.

The advertises that you'll see aren't intrusive they just help us to keep the community alive

If you don't want to see those ads just buy an upgrade.

Thank you for understanding!

Baba2

Baba2 Purchase

User upgrade! at

🔥 Upgrade Now

Escanor25 Purchase

User upgrade! at

🔥 Upgrade Now
Tigrex

Tigrex Purchase

User upgrade! at

🔥 Upgrade Now