Error beim game source compilen

04/11/2018 14:50 Mr. 'Avenue™#1
game/src
Code:
root@metin2:~/workspace/mainline_released/Srcs/Server/game/src # gmake
linking ../game_r40250_32....
/usr/local/bin/ld: OBJDIR/BattleArena.o: invalid string offset 1701277281 >= 3048 for section `.strtab'
/usr/local/bin/ld: OBJDIR/BattleArena.o: invalid string offset 2037408627 >= 3048 for section `.strtab'
/usr/local/bin/ld: OBJDIR/BattleArena.o: invalid string offset 1935898368 >= 3048 for section `.strtab'
/usr/local/bin/ld: OBJDIR/BattleArena.o: invalid string offset 1601465961 >= 3048 for section `.strtab'
/usr/local/bin/ld: OBJDIR/BattleArena.o: invalid string offset 2004120944 >= 3048 for section `.strtab'
/usr/local/bin/ld: OBJDIR/BattleArena.o: invalid string offset 1853190751 >= 3048 for section `.strtab'
/usr/local/bin/ld: OBJDIR/BattleArena.o: invalid string offset 1651334912 >= 3048 for section `.strtab'
/usr/local/bin/ld: OBJDIR/BattleArena.o: invalid string offset 1344291923 >= 3048 for section `.strtab'
/usr/local/bin/ld: OBJDIR/BattleArena.o: invalid string offset 6450543 >= 3048 for section `.strtab'
/usr/local/bin/ld: OBJDIR/BattleArena.o: invalid string offset 1701277281 >= 3048 for section `.strtab'
/usr/local/bin/ld: OBJDIR/BattleArena.o: invalid string offset 1735287122 >= 3048 for section `.strtab'
/usr/local/bin/ld: OBJDIR/BattleArena.o: invalid string offset 1885301857 >= 3048 for section `.strtab'
/usr/local/bin/ld: OBJDIR/BattleArena.o: invalid string offset 1815478386 >= 3048 for section `.strtab'
/usr/local/bin/ld: OBJDIR/BattleArena.o: invalid string offset 1952411247 >= 3048 for section `.strtab'
/usr/local/bin/ld: OBJDIR/BattleArena.o: invalid string offset 1668743270 >= 3048 for section `.strtab'
/usr/local/bin/ld: OBJDIR/BattleArena.o: invalid string offset 1937208437 >= 3048 for section `.strtab'
OBJDIR/BattleArena.o: error adding symbols: No error
collect2: error: ld returned 1 exit status
gmake: *** [Makefile:132: ../game_r40250_32] Error 1
db/src
Code:
root@metin2:~/workspace/mainline_released/Srcs/Server/db/src # gmake
compile Monarch.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from /usr/local/include/boost/predef/os/bsd/free.h:37:0,
                 from /usr/local/include/boost/predef/os/bsd.h:96,
                 from /usr/local/include/boost/predef/os/bsd/dragonfly.h:11,
                 from /usr/local/include/boost/predef/os/bsd.h:95,
                 from /usr/local/include/boost/predef/os/bsd/bsdi.h:11,
                 from /usr/local/include/boost/predef/os/bsd.h:52,
                 from /usr/local/include/boost/predef/os.h:18,
                 from /usr/local/include/boost/predef.h:17,
                 from /usr/local/include/boost/unordered/detail/implementation.hpp:21,
                 from /usr/local/include/boost/unordered/detail/map.hpp:6,
                 from /usr/local/include/boost/unordered/unordered_map.hpp:21,
                 from /usr/local/include/boost/unordered_map.hpp:17,
                 from ClientManager.h:5,
                 from Monarch.cpp:4:
../../common/stl.h:99:32: error: expected ')' before 'a'
  template <typename T> T MIN(T a, T b)
                                ^
../../common/stl.h:99:32: error: expected ')' before 'a'
../../common/stl.h:99:32: error: expected ')' before 'a'
../../common/stl.h:104:32: error: expected ')' before 'a'
  template <typename T> T MAX(T a, T b)
                                ^
../../common/stl.h:104:32: error: expected ')' before 'a'
../../common/stl.h:104:32: error: expected ')' before 'a'
gmake: *** [Makefile:57: .obj/Monarch.o] Error 1
Hatte den Error nie zuvor. Habe lange nichts mehr mit Metin2 zutun gehabt, wollte mich mal wieder ein bisschen an den Source setzen und rumspielen, aber dann sowas..
04/11/2018 16:58 Ocelot2606#2
Änder mal in deiner Makefile vom DB Src

g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead

das mcpu zu mtune

Hatte den Fehler auch mal im DB SRC danach ging der wieder zu deinem game SRC sagt mir das mal gar nichts
04/11/2018 17:20 Mr. 'Avenue™#3
Quote:
Originally Posted by Ocelot2606 View Post
Änder mal in deiner Makefile vom DB Src

g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead

das mcpu zu mtune

Hatte den Fehler auch mal im DB SRC danach ging der wieder zu deinem game SRC sagt mir das mal gar nichts
Habe paar Sachen geändert und die DB ließ sich nun compilen

game neuer error
Code:
root@metin2:/usr/src/mainline_released/Srcs/Server/game/src # gmake
compile main.cpp
In file included from main.cpp:14:
shop_manager.h:40:7: warning: no newline at end of file
In file included from ../../../Extern/include/boost/regex.h:22,
                 from ../../../Extern/include/gtest/internal/gtest-port.h:277,
                 from ../../../Extern/include/gtest/internal/gtest-internal.h:40,
                 from ../../../Extern/include/gtest/gtest.h:57,
                 from main.cpp:82:
../../../Extern/include/boost/cregex.hpp:24:34: error: boost/regex/config.hpp: No such file or directory
../../../Extern/include/boost/cregex.hpp:27:37: error: boost/regex/v4/cregex.hpp: No such file or directory
In file included from ../../../Extern/include/gtest/internal/gtest-port.h:277,
                 from ../../../Extern/include/gtest/internal/gtest-internal.h:40,
                 from ../../../Extern/include/gtest/gtest.h:57,
                 from main.cpp:82:
../../../Extern/include/boost/regex.h:30: error: 'boost::regoff_t' has not been declared
../../../Extern/include/boost/regex.h:31: error: 'boost::regex_tA' has not been declared
../../../Extern/include/boost/regex.h:32: error: 'boost::regmatch_t' has not been declared
../../../Extern/include/boost/regex.h:33: error: 'boost::REG_BASIC' has not been declared
../../../Extern/include/boost/regex.h:34: error: 'boost::REG_EXTENDED' has not been declared
../../../Extern/include/boost/regex.h:35: error: 'boost::REG_ICASE' has not been declared
../../../Extern/include/boost/regex.h:36: error: 'boost::REG_NOSUB' has not been declared
../../../Extern/include/boost/regex.h:37: error: 'boost::REG_NEWLINE' has not been declared
../../../Extern/include/boost/regex.h:38: error: 'boost::REG_NOSPEC' has not been declared
../../../Extern/include/boost/regex.h:39: error: 'boost::REG_PEND' has not been declared
../../../Extern/include/boost/regex.h:40: error: 'boost::REG_DUMP' has not been declared
../../../Extern/include/boost/regex.h:41: error: 'boost::REG_NOCOLLATE' has not been declared
../../../Extern/include/boost/regex.h:42: error: 'boost::REG_ESCAPE_IN_LISTS' has not been declared
../../../Extern/include/boost/regex.h:43: error: 'boost::REG_NEWLINE_ALT' has not been declared
../../../Extern/include/boost/regex.h:44: error: 'boost::REG_PERL' has not been declared
../../../Extern/include/boost/regex.h:45: error: 'boost::REG_AWK' has not been declared
../../../Extern/include/boost/regex.h:46: error: 'boost::REG_GREP' has not been declared
../../../Extern/include/boost/regex.h:47: error: 'boost::REG_EGREP' has not been declared
../../../Extern/include/boost/regex.h:48: error: 'boost::REG_ASSERT' has not been declared
../../../Extern/include/boost/regex.h:49: error: 'boost::REG_INVARG' has not been declared
../../../Extern/include/boost/regex.h:50: error: 'boost::REG_ATOI' has not been declared
../../../Extern/include/boost/regex.h:51: error: 'boost::REG_ITOA' has not been declared
../../../Extern/include/boost/regex.h:53: error: 'boost::REG_NOTBOL' has not been declared
../../../Extern/include/boost/regex.h:54: error: 'boost::REG_NOTEOL' has not been declared
../../../Extern/include/boost/regex.h:55: error: 'boost::REG_STARTEND' has not been declared
../../../Extern/include/boost/regex.h:57: error: 'boost::reg_comp_flags' has not been declared
../../../Extern/include/boost/regex.h:58: error: 'boost::reg_exec_flags' has not been declared
../../../Extern/include/boost/regex.h:59: error: 'boost::regcompA' has not been declared
../../../Extern/include/boost/regex.h:60: error: 'boost::regerrorA' has not been declared
../../../Extern/include/boost/regex.h:61: error: 'boost::regexecA' has not been declared
../../../Extern/include/boost/regex.h:62: error: 'boost::regfreeA' has not been declared
../../../Extern/include/boost/regex.h:65: error: 'boost::regcompW' has not been declared
../../../Extern/include/boost/regex.h:66: error: 'boost::regerrorW' has not been declared
../../../Extern/include/boost/regex.h:67: error: 'boost::regexecW' has not been declared
../../../Extern/include/boost/regex.h:68: error: 'boost::regfreeW' has not been declared
../../../Extern/include/boost/regex.h:69: error: 'boost::regex_tW' has not been declared
../../../Extern/include/boost/regex.h:72: error: 'boost::REG_NOERROR' has not been declared
../../../Extern/include/boost/regex.h:73: error: 'boost::REG_NOMATCH' has not been declared
../../../Extern/include/boost/regex.h:74: error: 'boost::REG_BADPAT' has not been declared
../../../Extern/include/boost/regex.h:75: error: 'boost::REG_ECOLLATE' has not been declared
../../../Extern/include/boost/regex.h:76: error: 'boost::REG_ECTYPE' has not been declared
../../../Extern/include/boost/regex.h:77: error: 'boost::REG_EESCAPE' has not been declared
../../../Extern/include/boost/regex.h:78: error: 'boost::REG_ESUBREG' has not been declared
../../../Extern/include/boost/regex.h:79: error: 'boost::REG_EBRACK' has not been declared
../../../Extern/include/boost/regex.h:80: error: 'boost::REG_EPAREN' has not been declared
../../../Extern/include/boost/regex.h:81: error: 'boost::REG_EBRACE' has not been declared
../../../Extern/include/boost/regex.h:82: error: 'boost::REG_BADBR' has not been declared
../../../Extern/include/boost/regex.h:83: error: 'boost::REG_ERANGE' has not been declared
../../../Extern/include/boost/regex.h:84: error: 'boost::REG_ESPACE' has not been declared
../../../Extern/include/boost/regex.h:85: error: 'boost::REG_BADRPT' has not been declared
../../../Extern/include/boost/regex.h:86: error: 'boost::REG_EEND' has not been declared
../../../Extern/include/boost/regex.h:87: error: 'boost::REG_ESIZE' has not been declared
../../../Extern/include/boost/regex.h:88: error: 'boost::REG_ERPAREN' has not been declared
../../../Extern/include/boost/regex.h:89: error: 'boost::REG_EMPTY' has not been declared
../../../Extern/include/boost/regex.h:90: error: 'boost::REG_E_MEMORY' has not been declared
../../../Extern/include/boost/regex.h:91: error: 'boost::REG_E_UNKNOWN' has not been declared
../../../Extern/include/boost/regex.h:92: error: 'boost::reg_errcode_t' has not been declared
In file included from ../../../Extern/include/gtest/internal/gtest-internal.h:40,
                 from ../../../Extern/include/gtest/gtest.h:57,
                 from main.cpp:82:
../../../Extern/include/gtest/internal/gtest-port.h:870: error: 'regex_t' does not name a type
../../../Extern/include/gtest/internal/gtest-port.h:871: error: 'regex_t' does not name a type
In file included from main.cpp:93:
check_server.h: In static member function 'static bool CheckServer::CheckIp(const char*)':
check_server.h:24: warning: comparison between signed and unsigned integer expressions
gmake: *** [OBJDIR/main.o] Error 1
habs mit pkg install boost-all versucht, aber klappt nicht
Code:
root@metin2:/usr/src/mainline_released/Srcs/Server/game/src # pkg install boost-all
pkg: No packages available to install matching 'boost-all' have been found in the repositories
04/11/2018 17:48 Ocelot2606#4
Ist das ein komplett Cleaner Source?
04/12/2018 00:03 Mr. 'Avenue™#5
Quote:
Originally Posted by Ocelot2606 View Post
Ist das ein komplett Cleaner Source?
Habs jetzt irgendwie hingekriegt. Jetzt lässt der Server sich nicht starten...
db syserr
Code:
SYSERR: Apr 12 01:57:28 :: pid_init: 
Start of pid: 971

SYSERR: Apr 12 01:57:28 :: Start: TABLE_POSTFIX not configured use default
SYSERR: Apr 12 01:57:31 :: Load:  DirectQuery failed(SELECT IP_FROM, IP_TO, COUNTRY_NAME FROM iptocountry)
SYSERR: Apr 12 01:58:07 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
SYSERR: Apr 12 01:58:07 :: pid_deinit: 
End of pid

SYSERR: Apr 12 01:58:09 :: pid_init: 
Start of pid: 972

SYSERR: Apr 12 01:58:09 :: Start: TABLE_POSTFIX not configured use default
SYSERR: Apr 12 01:58:12 :: Load:  DirectQuery failed(SELECT IP_FROM, IP_TO, COUNTRY_NAME FROM iptocountry)
SYSERR: Apr 12 01:58:13 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
SYSERR: Apr 12 01:58:13 :: pid_deinit: 
End of pid

SYSERR: Apr 12 02:00:36 :: pid_init: 
Start of pid: 1002

SYSERR: Apr 12 02:00:36 :: Start: TABLE_POSTFIX not configured use default
SYSERR: Apr 12 02:00:39 :: Load:  DirectQuery failed(SELECT IP_FROM, IP_TO, COUNTRY_NAME FROM iptocountry)
SYSERR: Apr 12 02:00:43 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:00:43 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:00:43 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:00:48 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:00:49 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:00:49 :: Process: FDWATCH: peer null in event: ident 21
SYSERR: Apr 12 02:00:53 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:00:54 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:00:54 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:00:58 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:00:59 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:00:59 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:01:03 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:01:04 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:01:04 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:01:09 :: Process: FDWATCH: peer null in event: ident 21
SYSERR: Apr 12 02:01:09 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:01:09 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:01:14 :: Process: FDWATCH: peer null in event: ident 21
SYSERR: Apr 12 02:01:14 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:01:14 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:01:19 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:01:19 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:01:20 :: Process: FDWATCH: peer null in event: ident 21
SYSERR: Apr 12 02:01:24 :: Process: FDWATCH: peer null in event: ident 21
SYSERR: Apr 12 02:01:24 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:01:25 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:01:29 :: Process: FDWATCH: peer null in event: ident 21
SYSERR: Apr 12 02:01:30 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:01:30 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:01:34 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:01:35 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:01:35 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:01:39 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:01:40 :: socket_accept: accept: Software caused connection abort (fd 19)
SYSERR: Apr 12 02:01:40 :: socket_accept: accept: Software caused connection abort (fd 19)
04/12/2018 00:13 Ocelot2606#6
Sagt Ch1 Syserr auch irgendwas?
04/12/2018 02:50 Mr. 'Avenue™#7
Quote:
Originally Posted by Ocelot2606 View Post
Sagt Ch1 Syserr auch irgendwas?
Oh man, finde irgendwie den Error immer bevor ich deine Antwort lese. Es lag am locale/germany ordner. Hatte in der db noch singapore stehen, sind eigenartige files.

Jedenfalls hab ich mal wieder ein neues Problem... poste es mal hier, da ich keinen neuen Thread öffnen will:

[Only registered and activated users can see links. Click Here To Register...]

client friert an der stelle ein
04/12/2018 11:39 Rainer Wahnsinn#8
Quote:
Originally Posted by Mr. 'Avenue™ View Post
[...]

client friert an der stelle ein
Hi,

verwendest du die aktuelle locale aus dem DE Client?
Wenn ja, ersetz den map Ordner darin durch einen älteren.

Grüße
04/12/2018 12:11 Ocelot2606#9
Was sind den das Für Files man.. so ne Fehlermeldung hat ich absolut noch nie
04/12/2018 16:24 DasSchwarzeT#10
Quote:
Originally Posted by Ocelot2606 View Post
Was sind den das Für Files man.. so ne Fehlermeldung hat ich absolut noch nie
wundert mich nicht, wenn man nichts selbst macht und nur public müll benutzt.

@[Only registered and activated users can see links. Click Here To Register...]:
Compile halt mal nicht im debug mode, scheint als hättest du da irgendwo ein problem mit ner lib
04/12/2018 18:08 Mr. 'Avenue™#11
Quote:
Originally Posted by DasSchwarzeT View Post
wundert mich nicht, wenn man nichts selbst macht und nur public müll benutzt.
[..]
Hab halt den Test Client 40250 (Arkosia) & cleane 34083 files.
& cleaner source (kraizy.tgz)
Womit soll ich sonst arbeiten? 2004 Client?

btt es lag am locale/xx/map ordner.
04/12/2018 20:40 gamehacker1#12
Quote:
Originally Posted by Mr. 'Avenue™ View Post
Hab halt den Test Client 40250 (Arkosia) & cleane 34083 files.
& cleaner source (kraizy.tgz)
Womit soll ich sonst arbeiten? 2004 Client?

btt es lag am locale/xx/map ordner.
Nimm Fliege reworked files auf m2dl
04/13/2018 14:59 Mr. 'Avenue™#13
Quote:
Originally Posted by gamehacker1 View Post
Nimm Fliege reworked files auf m2dl
nein danke bruderherz hahahaha
04/13/2018 18:22 gamehacker1#14
Quote:
Originally Posted by Mr. 'Avenue™ View Post
nein danke bruderherz hahahaha
Wieso? Besser als uralte files