Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 00:59

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Source compiling problems

Discussion on Source compiling problems within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2012
Posts: 5
Received Thanks: 0
Source compiling problems

I'm having kinda hard time with compiling source - I'm using v2 wolfman source (that's the name of tar) and it comes with Serenity2 sources. I tried 2 ways of compiling

FreeBSD 9 - which has problems because it's not supported anymore and FreeBSD 12 which i'm using rn.



I don't have output from FreeBSD 9 anymore, but I'll give you the one from FreeBSD 12



If anyone knows what to do please help, I would really appreciate it.


This is my output from FreeBSD 12
Code:
compile BattleArena.cpp
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from /usr/local/include/boost/detail/container_fwd.hpp:96,
                 from /usr/local/include/boost/container_hash/extensions.hpp:22,
                 from /usr/local/include/boost/container_hash/hash.hpp:760,
                 from /usr/local/include/boost/functional/hash.hpp:6,
                 from /usr/local/include/boost/unordered/unordered_map.hpp:18,
                 from /usr/local/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from BattleArena.cpp:6:
/usr/local/lib/gcc9/include/c++/bitset: In member function 'void std::bitset<_Nb>::_M_copy_from_ptr(const _CharT*, std::size_t, std::size_t, std::size_t, _CharT, _CharT)':
/usr/local/lib/gcc9/include/c++/bitset:1395:74: error: call of overloaded 'min(std::size_t&, std::size_t)' is ambiguous
 1395 |  const size_t __nbits = std::min(_Nb, std::min(__n, size_t(__len - __pos)));
      |                                                                          ^
In file included from /usr/local/lib/gcc9/include/c++/algorithm:61,
                 from stdafx.h:15,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_algobase.h:198:5: note: candidate: 'constexpr const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = unsigned int]'
  198 |     min(const _Tp& __a, const _Tp& __b)
      |     ^~~
In file included from char_manager.h:8,
                 from BattleArena.cpp:5:
../../common/stl.h:100:26: note: candidate: 'T std::min(T, T) [with T = unsigned int]'
  100 |  template <typename T> T std::min(T a, T b)
      |                          ^~~
In file included from /usr/local/lib/gcc9/include/c++/streambuf:862,
                 from /usr/local/lib/gcc9/include/c++/ios:43,
                 from /usr/local/lib/gcc9/include/c++/istream:38,
                 from /usr/local/lib/gcc9/include/c++/sstream:38,
                 from /usr/local/lib/gcc9/include/c++/complex:45,
                 from /usr/local/include/boost/detail/container_fwd.hpp:98,
                 from /usr/local/include/boost/container_hash/extensions.hpp:22,
                 from /usr/local/include/boost/container_hash/hash.hpp:760,
                 from /usr/local/include/boost/functional/hash.hpp:6,
                 from /usr/local/include/boost/unordered/unordered_map.hpp:18,
                 from /usr/local/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from BattleArena.cpp:6:
/usr/local/lib/gcc9/include/c++/bits/streambuf.tcc: In member function 'virtual std::streamsize std::basic_streambuf<_CharT, _Traits>::xsgetn(std::basic_streambuf<_CharT, _Traits>::char_type*, std::streamsize)':
/usr/local/lib/gcc9/include/c++/bits/streambuf.tcc:55:64: error: call of overloaded 'min(const streamsize&, const streamsize&)' is ambiguous
   55 |        const streamsize __len = std::min(__buf_len, __remaining);
      |                                                                ^
In file included from /usr/local/lib/gcc9/include/c++/algorithm:61,
                 from stdafx.h:15,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_algobase.h:198:5: note: candidate: 'constexpr const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = int]'
  198 |     min(const _Tp& __a, const _Tp& __b)
      |     ^~~
In file included from char_manager.h:8,
                 from BattleArena.cpp:5:
../../common/stl.h:100:26: note: candidate: 'T std::min(T, T) [with T = int]'
  100 |  template <typename T> T std::min(T a, T b)
      |                          ^~~
In file included from /usr/local/lib/gcc9/include/c++/streambuf:862,
                 from /usr/local/lib/gcc9/include/c++/ios:43,
                 from /usr/local/lib/gcc9/include/c++/istream:38,
                 from /usr/local/lib/gcc9/include/c++/sstream:38,
                 from /usr/local/lib/gcc9/include/c++/complex:45,
                 from /usr/local/include/boost/detail/container_fwd.hpp:98,
                 from /usr/local/include/boost/container_hash/extensions.hpp:22,
                 from /usr/local/include/boost/container_hash/hash.hpp:760,
                 from /usr/local/include/boost/functional/hash.hpp:6,
                 from /usr/local/include/boost/unordered/unordered_map.hpp:18,
                 from /usr/local/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from BattleArena.cpp:6:
/usr/local/lib/gcc9/include/c++/bits/streambuf.tcc: In member function 'virtual std::streamsize std::basic_streambuf<_CharT, _Traits>::xsputn(const char_type*, std::streamsize)':
/usr/local/lib/gcc9/include/c++/bits/streambuf.tcc:89:64: error: call of overloaded 'min(const streamsize&, const streamsize&)' is ambiguous
   89 |        const streamsize __len = std::min(__buf_len, __remaining);
      |                                                                ^
In file included from /usr/local/lib/gcc9/include/c++/algorithm:61,
                 from stdafx.h:15,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_algobase.h:198:5: note: candidate: 'constexpr const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = int]'
  198 |     min(const _Tp& __a, const _Tp& __b)
      |     ^~~
In file included from char_manager.h:8,
                 from BattleArena.cpp:5:
../../common/stl.h:100:26: note: candidate: 'T std::min(T, T) [with T = int]'
  100 |  template <typename T> T std::min(T a, T b)
      |                          ^~~
In file included from /usr/local/lib/gcc9/include/c++/istream:991,
                 from /usr/local/lib/gcc9/include/c++/sstream:38,
                 from /usr/local/lib/gcc9/include/c++/complex:45,
                 from /usr/local/include/boost/detail/container_fwd.hpp:98,
                 from /usr/local/include/boost/container_hash/extensions.hpp:22,
                 from /usr/local/include/boost/container_hash/hash.hpp:760,
                 from /usr/local/include/boost/functional/hash.hpp:6,
                 from /usr/local/include/boost/unordered/unordered_map.hpp:18,
                 from /usr/local/include/boost/unordered_map.hpp:17,
                 from char.h:4,
                 from BattleArena.cpp:6:
/usr/local/lib/gcc9/include/c++/bits/istream.tcc: In member function 'std::streamsize std::basic_istream<_CharT, _Traits>::readsome(std::basic_istream<_CharT, _Traits>::char_type*, std::streamsize)':
/usr/local/lib/gcc9/include/c++/bits/istream.tcc:699:60: error: call of overloaded 'min(const streamsize&, std::streamsize&)' is ambiguous
  699 |   _M_gcount = this->rdbuf()->sgetn(__s, std::min(__num, __n));
      |                                                            ^
In file included from /usr/local/lib/gcc9/include/c++/algorithm:61,
                 from stdafx.h:15,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_algobase.h:198:5: note: candidate: 'constexpr const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = int]'
  198 |     min(const _Tp& __a, const _Tp& __b)
      |     ^~~
In file included from char_manager.h:8,
                 from BattleArena.cpp:5:
../../common/stl.h:100:26: note: candidate: 'T std::min(T, T) [with T = int]'
  100 |  template <typename T> T std::min(T a, T b)
      |                          ^~~
In file included 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 char.h:4,
                 from BattleArena.cpp:6:
/usr/local/include/boost/unordered/detail/implementation.hpp: In member function 'void boost::unordered::detail::table<Types>::max_load_factor(float)':
/usr/local/include/boost/unordered/detail/implementation.hpp:3090:55: error: call of overloaded 'max(float&, const float&)' is ambiguous
 3090 |           mlf_ = (std::max)(z, minimum_max_load_factor);
      |                                                       ^
In file included from /usr/local/lib/gcc9/include/c++/algorithm:61,
                 from stdafx.h:15,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_algobase.h:222:5: note: candidate: 'constexpr const _Tp& std::max(const _Tp&, const _Tp&) [with _Tp = float]'
  222 |     max(const _Tp& __a, const _Tp& __b)
      |     ^~~
In file included from char_manager.h:8,
                 from BattleArena.cpp:5:
../../common/stl.h:105:26: note: candidate: 'T std::max(T, T) [with T = float]'
  105 |  template <typename T> T std::max(T a, T b)
      |                          ^~~
In file included 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 char.h:4,
                 from BattleArena.cpp:6:
/usr/local/include/boost/unordered/detail/implementation.hpp: In member function 'void boost::unordered::detail::table<Types>::reserve_for_insert(std::size_t)':
/usr/local/include/boost/unordered/detail/implementation.hpp:4546:71: error: call of overloaded 'max(std::size_t&, std::size_t)' is ambiguous
 4546 |             min_buckets_for_size((std::max)(size, size_ + (size_ >> 1)));
      |                                                                       ^
In file included from /usr/local/lib/gcc9/include/c++/algorithm:61,
                 from stdafx.h:15,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_algobase.h:222:5: note: candidate: 'constexpr const _Tp& std::max(const _Tp&, const _Tp&) [with _Tp = unsigned int]'
  222 |     max(const _Tp& __a, const _Tp& __b)
      |     ^~~
In file included from char_manager.h:8,
                 from BattleArena.cpp:5:
../../common/stl.h:105:26: note: candidate: 'T std::max(T, T) [with T = unsigned int]'
  105 |  template <typename T> T std::max(T a, T b)
      |                          ^~~
In file included 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 char.h:4,
                 from BattleArena.cpp:6:
/usr/local/include/boost/unordered/detail/implementation.hpp: In member function 'void boost::unordered::detail::table<Types>::rehash(std::size_t)':
/usr/local/include/boost/unordered/detail/implementation.hpp:4568:16: error: call of overloaded 'max(std::size_t&, std::size_t)' is ambiguous
 4568 |               1));
      |                ^
In file included from /usr/local/lib/gcc9/include/c++/algorithm:61,
                 from stdafx.h:15,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc9/include/c++/bits/stl_algobase.h:222:5: note: candidate: 'constexpr const _Tp& std::max(const _Tp&, const _Tp&) [with _Tp = unsigned int]'
  222 |     max(const _Tp& __a, const _Tp& __b)
      |     ^~~
In file included from char_manager.h:8,
                 from BattleArena.cpp:5:
../../common/stl.h:105:26: note: candidate: 'T std::max(T, T) [with T = unsigned int]'
  105 |  template <typename T> T std::max(T a, T b)
      |                          ^~~
gmake: *** [Makefile:131: OBJDIR/BattleArena.o] Error 1
Thanks, Sincerly,
Sempoinus
Sempoinus1 is offline  
Reply


Similar Threads Similar Threads
Neuz problems, compiling and connection
05/02/2015 - Flyff Private Server - 3 Replies
Hi, i have 2 problems with my neuz. When i compile in Release configuration the Neuz.exe is created, but the problem is that i can't connect, i'm stuck with the message : Verbindung mit dem Spiel nicht möglich. \n Bitte überprüfe dein Netzwerk. I checked every IP and they are all on 127.0.0.1, no firewall on. So i tried to compile in NoGameGuard to see if it solves the problem, but i got a few linking errors (i didn't get in the Release configuration) : Linking... DPClient.obj :...
[HELP] Compiling problems
02/09/2013 - C/C++ - 3 Replies
ok so im having this problems compiling using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::Drawing; using namespace System::IO;
resource udf problems with autoit compiling
07/16/2012 - AutoIt - 2 Replies
>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper. exe" /prod /in "C:\Users\tomas\Favorites\Source Codes\mystery cabal works\bot test.au3" +>15:09:22 Starting AutoIt3Wrapper v.2.1.0.33 Environment(Language:0409 Keyboard:00000452 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64) >Running AU3Check (1.54.22.0) from:C:\Program Files (x86)\AutoIt3 +>15:09:22 AU3Check ended.rc:0 >Running:(3.3.8.1):C:\Program Files (x86)\AutoIt3\aut2exe\aut2exe.exe /in...
[Problems] Source 5165 All Problems
11/28/2009 - CO2 Private Server - 7 Replies
Hello Everyone, Ok i will put All my problems here So i hope noone spamming and Say Go learn C# and w/e 1-RegPage: fixed all by adding  to the start of the pass and  to the end of the pass. its working okay and when i create character and try to rejoin the game close with itself Note: When i make From NewestCOServer Cmd it works fine and the game dont close i mean i want other players to make thier own accounts and dont ask me to make them The Accounts they want. 2-Lottery: Cant...



All times are GMT +1. The time now is 00:59.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.