NeXoN 9 Posted July 23, 2014 Share Posted July 23, 2014 Then you do this: From libdevil/ copy all .a files into /usr/lib From libgame/From lib copy the From libgame.a file into /usr/lib From libhackshield/From lib copy the From libanticpxsvr.a file into /usr/lib From liblua/From lib copy the .a files into /usr/lib From libpoly/ copy the .o files into /usr/lib From libserverkey/ copy the .o files into /usr/lib From libthecore/From lib copy the From libthecore.a files into /usr/lib where i can find this i am use freebsd 9.2 amd 64 bit 1)gmake: ? 1 cd /usr/ports/devel/gmake && make install clean 2)makedepend: ? 1 cd /usr/ports/devel/makedepend && make install clean 3)svn: ? 1 cd /usr/ports/devel/subversion && make install clean 4)devil: ? 1 cd /usr/ports/graphics/devil && make install clean 5)G++: ? 1 cd /usr/ports/lang/gcc48/ && make install clean i do all of this steps Link to comment Share on other sites More sharing options...
Former Staff flygun 304 Posted August 2, 2014 Former Staff Share Posted August 2, 2014 dose this work on 8.2 bsd ??? Link to comment Share on other sites More sharing options...
Former Staff flygun 304 Posted August 5, 2014 Former Staff Share Posted August 5, 2014 (edited) Edited August 23, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Destiny 12 Posted August 26, 2014 Share Posted August 26, 2014 From libdevil/ copy all .a files into /usr/lib From libgame/From lib copy the From libgame.a file into /usr/lib From libhackshield/From lib copy the From libanticpxsvr.a file into /usr/lib From liblua/From lib copy the .a files into /usr/lib From libpoly/ copy the .o files into /usr/lib From libserverkey/ copy the .o files into /usr/lib From libthecore/From lib copy the From libthecore.a files into /usr/lib where are that libdevil ,libgame etc? Link to comment Share on other sites More sharing options...
Night 366 Posted August 26, 2014 Share Posted August 26, 2014 From libdevil/ copy all .a files into /usr/lib From libgame/From lib copy the From libgame.a file into /usr/lib From libhackshield/From lib copy the From libanticpxsvr.a file into /usr/lib From liblua/From lib copy the .a files into /usr/lib From libpoly/ copy the .o files into /usr/lib From libserverkey/ copy the .o files into /usr/lib From libthecore/From lib copy the From libthecore.a files into /usr/lib where are that libdevil ,libgame etc? with src Link to comment Share on other sites More sharing options...
Destiny 12 Posted August 26, 2014 Share Posted August 26, 2014 compile building.cpp gmake: svnversion: Command not found it's that a problem? Link to comment Share on other sites More sharing options...
Saud bin abdullah 7 Posted August 27, 2014 Share Posted August 27, 2014 is better than (VS2008) or same result? thank for sharing Link to comment Share on other sites More sharing options...
Lehel 14 Posted August 30, 2014 Share Posted August 30, 2014 /usr/bin/ld: cannot find -lmysqlclient Why ? Link to comment Share on other sites More sharing options...
Night 366 Posted August 30, 2014 Share Posted August 30, 2014 compile building.cpp gmake: svnversion: Command not found it's that a problem? install svn is better than (VS2008) or same result? thank for sharing /usr/bin/ld: cannot find -lmysqlclient Why ? take it from novaline (libmysql) Link to comment Share on other sites More sharing options...
Traceur3RUN 75 Posted August 31, 2014 Share Posted August 31, 2014 /usr/bin/ld: cannot find -lmysqlclient Why ? cd /usr/src/yougame/Srcs/Server/libsql/ gmake clean gmake -j20 or add LIBDIR += -L/usr/local/lib/mysql 1 Link to comment Share on other sites More sharing options...
Lehel 14 Posted August 31, 2014 Share Posted August 31, 2014 I tried to compile db/src , but gives me an error . <command-line>: warning: missing terminating " character version.cpp:11: error: missing terminating " character version.cpp: In function 'void WriteVersion()': version.cpp:11: error: expected primary-expression before ')' token compile CsvReader.cpp gmake: *** [.obj/version.o] Error 1 gmake: *** Waiting for unfinished jobs.... Why ? Link to comment Share on other sites More sharing options...
DaNy3LL 21 Posted August 31, 2014 Share Posted August 31, 2014 I get this error when I try to compile the db from mainline compile Config.cpp gmake: *** No rule to make target `/usr/include/boost/unordered_map.hpp', needed by `.obj/NetBase.o'. Stop. gmake: *** Waiting for unfinished jobs.... The thing is that I have boost installed ... Edit : How to solve ? cp -R /usr/local/include/boost /usr/include/boost and cd /usr/src/your source/Srcs/Server/db/src && gmake dep Link to comment Share on other sites More sharing options...
Tasho 243 Posted September 29, 2014 Share Posted September 29, 2014 Could someone help me with this error? error: compile BattleArena.cpp compile FSM.cpp compile MarkConvert.cpp compile MarkImage.cpp compile MarkManager.cpp compile OXEvent.cpp compile TrafficProfiler.cpp compile ani.cpp compile arena.cpp compile banword.cpp compile battle.cpp compile blend_item.cpp compile block_country.cpp compile buffer_manager.cpp compile building.cpp compile castle.cpp compile char.cpp compile char_affect.cpp compile char_battle.cpp compile char_change_empire.cpp char.cpp:7218: warning: this decimal constant is unsigned only in ISO C90 compile char_horse.cpp compile char_item.cpp compile char_manager.cpp g++: Internal error: Killed: 9 (program cc1plus) Please submit a full bug report. See <URL:http://gcc.gnu.org/bugs.html> for instructions. gmake: *** [OBJDIR/char.o] Error 1 gmake: *** Waiting for unfinished jobs.... {standard input}: Assembler messages: {standard input}:1896: Warning: end of file not at end of a line; newline inserted {standard input}:3991: Error: suffix or operands invalid for `mov' g++: Internal error: Killed: 9 (program cc1plus) Please submit a full bug report. See <URL:http://gcc.gnu.org/bugs.html> for instructions. gmake: *** [OBJDIR/OXEvent.o] Error 1 char_battle.cpp: In member function 'void CHARACTER::Reward(bool)': char_battle.cpp:775: warning: suggest explicit braces to avoid ambiguous 'else' In file included from char_item.cpp:47: belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)': belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const': char_item.cpp:640: warning: comparison is always false due to limited range of data type char_item.cpp:666: warning: comparison is always false due to limited range of data type char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)': char_item.cpp:2389: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2393: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2405: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:2409: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:2436: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2444: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:3625: warning: suggest parentheses around && within || char_item.cpp:3649: warning: suggest parentheses around && within || char_item.cpp:5577: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)': char_item.cpp:5795: warning: suggest parentheses around comparison in operand of | char_item.cpp:5649: warning: unused variable 'wDestCell' char_item.cpp:5650: warning: unused variable 'bDestInven' char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)': char_item.cpp:6655: warning: array subscript has type 'char' char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)': char_item.cpp:6719: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(CItem*)': char_item.cpp:6731: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)': char_item.cpp:7917: warning: unused variable 'itemType' char_item.cpp:7918: warning: unused variable 'itemSubType' char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const': char_item.cpp:679: warning: control reaches end of non-void function char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_ValueChange(BYTE, BYTE, BYTE)': char_item.cpp:6766: warning: 'pBuff' may be used uninitialized in this function Link to comment Share on other sites More sharing options...
Mitchel. 1 Posted September 29, 2014 Share Posted September 29, 2014 i have error when i try compile, omg root@serwer:/usr/home/serwer # cd /usr/src/Server/game/src root@serwer:/usr/src/Server/game/src # gmake linking /usr/home/game_compiled.... /usr/bin/ld: skipping incompatible /usr/local/lib/libpng.so when searching for - lpng /usr/bin/ld: skipping incompatible /usr/local/lib/libpng.a when searching for -l png /usr/bin/ld: cannot find -lpng gmake: *** [/usr/home/game_compiled] Error 1 root@serwer:/usr/src/Server/game/src # im so upset, OMG Link to comment Share on other sites More sharing options...
Tasho 243 Posted October 3, 2014 Share Posted October 3, 2014 what should I do if after I compile my db, server refuse to start and I get Connection refused Link to comment Share on other sites More sharing options...
Honorable Member NoFr1ends 751 Posted October 3, 2014 Honorable Member Share Posted October 3, 2014 what should I do if after I compile my db, server refuse to start and I get Connection refused More details please as the syserr & syslog from db (and if it's closed with "Segmentation failed" the backtrace) Kind regards Chuck Link to comment Share on other sites More sharing options...
Tasho 243 Posted October 3, 2014 Share Posted October 3, 2014 PORNESC BAZA DE DATE .. Real Server Log OffAsyncSQL: connected to localhost (reconnect 1) Success PLAYER AsyncSQL: connected to localhost (reconnect 1) Success ACCOUNT AsyncSQL: connected to localhost (reconnect 1) AsyncSQL: connected to localhost (reconnect 1) AsyncSQL: connected to localhost (reconnect 1) Success COMMON AsyncSQL: connected to localhost (reconnect 1) AsyncSQL: connected to localhost (reconnect 1) PORNESC LOGINU .. PUBLIC_IP: 5.39.23.236 interface vtnet0 HOSTNAME: auth AsyncSQL: connected to localhost (reconnect 1) CommonSQL connected Setting Locale "romania" (Path: locale/romania) Setting DB to locale latin2 AsyncSQL: connected to localhost (reconnect 1) PlayerSQL connected LogSQL connected syserr: SYSERR: Oct 3 17:51:08 :: pid_init: Start of pid: 7462 SYSERR: Oct 3 17:51:08 :: Start: TABLE_POSTFIX not configured use default syslog: SYSERR: Oct 3 17:51:08 :: Start: TABLE_POSTFIX not configured use default Oct 3 17:51:08 :: connecting to MySQL server (player) Oct 3 17:51:08 :: CREATING DIRECT_SQL Oct 3 17:51:08 :: AsyncSQL: locale latin2 Oct 3 17:51:08 :: CREATING MAIN_SQL Oct 3 17:51:08 :: AsyncSQL: locale latin2 Oct 3 17:51:08 :: CREATING ASYNC_SQL Oct 3 17:51:08 :: AsyncSQL: locale latin2 Oct 3 17:51:08 :: OK Oct 3 17:51:08 :: connecting to MySQL server (account) Oct 3 17:51:08 :: CREATING DIRECT_SQL Oct 3 17:51:08 :: AsyncSQL: locale latin2 Oct 3 17:51:08 :: CREATING MAIN_SQL Oct 3 17:51:08 :: AsyncSQL: locale latin2 Oct 3 17:51:08 :: CREATING ASYNC_SQL Oct 3 17:51:08 :: AsyncSQL: locale latin2 Oct 3 17:51:08 :: OK Oct 3 17:51:08 :: connecting to MySQL server (common) Oct 3 17:51:08 :: CREATING DIRECT_SQL Oct 3 17:51:08 :: AsyncSQL: locale latin2 Oct 3 17:51:08 :: CREATING MAIN_SQL Oct 3 17:51:08 :: AsyncSQL: locale latin2 Oct 3 17:51:08 :: CREATING ASYNC_SQL Oct 3 17:51:08 :: AsyncSQL: locale latin2 Oct 3 17:51:08 :: OK Oct 3 17:51:08 :: ClientManager initialization.. Oct 3 17:51:08 :: InitializeLocalization() - LoadLocaleTable(count:13) Oct 3 17:51:08 :: locale[LOCALE] = romania Oct 3 17:51:08 :: Changed g_stLocale latin2 to euckr Oct 3 17:51:08 :: before call SetLocale: latin2 Oct 3 17:51:08 :: SetLocale start Link to comment Share on other sites More sharing options...
drunkwolfs 0 Posted October 5, 2014 Share Posted October 5, 2014 What revision?What is the latest version?What is the stable version?What is the latest and stable version?Devdev_wolf_branchmainlinemainline_cythonmainline_releasedmainline_w2.0mainline_w2.1novaline Link to comment Share on other sites More sharing options...
Zeta 11 Posted November 3, 2014 Share Posted November 3, 2014 Can someone help me? http://pastebin.com/vn1H5E1N 1 Link to comment Share on other sites More sharing options...
Zeta 11 Posted November 4, 2014 Share Posted November 4, 2014 Can someone help me? http://pastebin.com/vn1H5E1N Solved: delete -m32 from makefile i have another problem now... when the game is about to end : linking ../test OBJDIR/minilzo.o: file not recognized: File format not recognized gmake: *** [../test] Error 1 gmake: *** Waiting for unfinished jobs.... Link to comment Share on other sites More sharing options...
Zeta 11 Posted November 14, 2014 Share Posted November 14, 2014 gmake: g++: Command not found I have instaled gcc48 and gcc49 freebsd 10 Link to comment Share on other sites More sharing options...
Reboot 772 Posted November 14, 2014 Share Posted November 14, 2014 gmake: g++: Command not found I have instaled gcc48 and gcc49 freebsd 10 You are stupid. In freebsd 10 default compiler is clang++ 1 Link to comment Share on other sites More sharing options...
Premium Cataclismo 86 Posted November 15, 2014 Premium Share Posted November 15, 2014 My libdevil folder is empty. Why? Shouldn't there be "IL" lib? Link to comment Share on other sites More sharing options...
Reboot 772 Posted November 15, 2014 Share Posted November 15, 2014 My libdevil folder is empty. Why? Shouldn't there be "IL" lib? Bookshops are only novaline/server folder. Link to comment Share on other sites More sharing options...
Mashkin 16 Posted November 15, 2014 Share Posted November 15, 2014 In freebsd 10 default compiler is clang++ In the base system, yes, FreeBSD finally moved to Clang for licensing reasons (GCCs GPL is considered too restrictive for the BSD license family). It should still be possible to use GCC after installing it from pkg/ports, though. It is also possible to use Clang for Metin2, but some code changes are required. This mainly applies to some include files with preprocessor directives. There are some non-standard language extensions in GCC. The code is written to use Boost components as a replacement when not using GCC (e.g. on Windows), but unfortunately Clang defines the "__GNUC__" makro used for this purpose. After changing the conditional defines, Clang should compile everything just fine. Also note that you should link to libc++ instead of GCCs libstdc++. The server works, but I don't yet know how stable it is. Link to comment Share on other sites More sharing options...
Recommended Posts