Jump to content

Recommended Posts


root@localhost:~ # cd /usr/src/Server/game/src
root@localhost:/usr/src/Server/game/src # gmake clean
root@localhost:/usr/src/Server/game/src # gmake dep
makedepend -f Depend  -I../../../Extern/include/boost -I../../../Extern/include/devil -I../../../Extern/include/mysql -I../../../Extern/include/hackshield -I../../../Extern/include/xtrap -I../../../Extern/include -I../../liblua/include -I../../libserverkey -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_teen.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 passpod.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 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 auth_brazil.cpp BlueDragon.cpp BlueDragon_Binder.cpp DragonLair.cpp questlua_dragonlair.cpp HackShield.cpp HackShield_Impl.cpp char_hackshield.cpp skill_power.cpp affect.cpp SpeedServer.cpp questlua_speedserver.cpp XTrapManager.cpp auction_manager.cpp FileMonitor_FreeBSD.cpp ClientPackageCryptInfo.cpp cipher.cpp buff_on_attributes.cpp check_server.cpp dragon_soul_table.cpp DragonSoul.cpp group_text_parse_tree.cpp char_dragonsoul.cpp questlua_dragonsoul.cpp shop_manager.cpp shopEx.cpp item_manager_read_tables.cpp minilzo.c main.cpp test.cpp 2> /dev/null > Depend
root@localhost:/usr/src/Server/game/src # gmake -j20
compile BattleArena.cpp
compile FSM.cpp
compile MarkConvert.cpp
compile MarkImage.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile MarkManager.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile OXEvent.cpp
compile TrafficProfiler.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile ani.cpp
compile arena.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile banword.cpp
compile battle.cpp
compile blend_item.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile buffer_manager.cpp
compile block_country.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile building.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile castle.cpp
compile char.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile char_affect.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile char_battle.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile char_change_empire.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile char_horse.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile char_item.cpp
compile char_manager.cpp
compile char_quickslot.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile char_resist.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile char_skill.cpp
compile char_state.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
^Cgmake: *** Deleting file 'OBJDIR/char_quickslot.o'
gmake: *** Deleting file 'OBJDIR/char_manager.o'
gmake: *** Deleting file 'OBJDIR/char_item.o'
gmake: *** Deleting file 'OBJDIR/char_horse.o'
gmake: *** Deleting file 'OBJDIR/char_change_empire.o'
gmake: *** Deleting file 'OBJDIR/char_battle.o'
gmake: *** Deleting file 'OBJDIR/char_affect.o'
gmake: *** Deleting file 'OBJDIR/char.o'
gmake: *** Deleting file 'OBJDIR/castle.o'
gmake: *** Deleting file 'OBJDIR/building.o'
gmake: *** Deleting file 'OBJDIR/battle.o'
gmake: *** Deleting file 'OBJDIR/banword.o'
gmake: *** Deleting file 'OBJDIR/arena.o'
gmake: *** Deleting file 'OBJDIR/ani.o'
gmake: *** Deleting file 'OBJDIR/OXEvent.o'
gmake: *** Deleting file 'OBJDIR/MarkManager.o'
gmake: *** Deleting file 'OBJDIR/BattleArena.o'
gmake: *** [Makefile:119: OBJDIR/char_state.o] Interrupt
gmake: *** [Makefile:119: OBJDIR/char_skill.o] Interrupt
gmake: *** [Makefile:119: OBJDIR/char_resist.o] Interrupt
gmake: *** [Makefile:119: OBJDIR/char_battle.o] Interrupt
gmake: *** [Makefile:119: OBJDIR/castle.o] Interrupt
gmake: *** [Makefile:119: OBJDIR/battle.o] Interrupt
gmake: *** [Makefile:119: OBJDIR/banword.o] Interrupt
gmake: *** [Makefile:119: OBJDIR/MarkManager.o] Interrupt
gmake: *** [Makefile:119: OBJDIR/BattleArena.o] Interrupt
gmake: *** [Makefile:119: OBJDIR/ani.o] Interrupt
gmake: *** [Makefile:119: OBJDIR/OXEvent.o] Interrupt
gmake: *** [Makefile:119: OBJDIR/arena.o] Interrupt
gmake: *** [Makefile:119: OBJDIR/char_horse.o] Interrupt
gmake: *** [Makefile:119: OBJDIR/char_item.o] Interrupt
gmake: *** [Makefile:119: OBJDIR/char_change_empire.o] Interrupt
gmake: *** [Makefile:119: OBJDIR/char_quickslot.o] Interrupt
gmake: *** [Makefile:119: OBJDIR/char_affect.o] Interrupt
gmake: *** [Makefile:119: OBJDIR/char_manager.o] Interrupt
gmake: *** [Makefile:119: OBJDIR/char.o] Interrupt
gmake: *** [Makefile:119: OBJDIR/building.o] Interrupt

 

 

 

I try compile source on FreeBSD 10.3 32 Bit, but i get these error.

 

okey :) i solve this problem myself again 

 

try navigate Server folder to desktop and create a txt file in Server folder

open txt file via Notepad++

use ctrl + h and navigate to button find in files

 

type find what :  -mcpu=i686

type:  -march=i686

 

and click replace in files

 

also you need upgrade gcc version to gcc49

Link to comment
https://metin2.dev/topic/17970-cant-compile-source-on-freebsd-103/
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

new error in game /src

 


In file included from ../../libserverkey/CheckServerKey.h:3:0,
                 from check_server.h:6,
                 from check_server.cpp:1:
../../libserverkey/SIM.h: In member function 'bool SIM::mac2bin(const string&, unsigned char*)':
../../libserverkey/SIM.h:332:31: error: 'atoi' was not declared in this scope
     unsigned char b = atoi(buf);
                               ^
../../libserverkey/SIM.h:345:61: error: 'strtol' was not declared in this scope
     unsigned char b = (unsigned char)strtol(buf, &endptr, 16);
                                                             ^
gmake: *** [Makefile:125: OBJDIR/check_server.o] Error 1
gmake: *** Waiting for unfinished jobs....

 

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.