Jump to content
  • 0
onixiya

mangos one Need help compiling from source

Question

I need help with compiling mangosone from source. I'm on lubuntu 18.04 x64 and i followed the steps from here. I have no clue what to do from here so i'm wondering if anyone knows how to get past this

[email protected]:/home/silentstorm/Downloads# ./getmangos.sh
Cleaning the old build...

This script builds the MaNGOS server.
  Options that can be used in order to configure the process:
   General:
    CMAKE_INSTALL_PREFIX    Path where the server should be installed to
    CONF_DIR                Path to the configs, can be absolute or relative.
    DEBUG                   Debug mode (strict compile, all warnings)
    ACE_USE_EXTERNAL        Use external ACE
    BUILD_MANGOSD           Build the main server
    BUILD_REALMD            Build the login server
    BUILD_TOOLS             Build the map/vmap/mmap extractors
    SOAP                    Enable remote access via SOAP
   Scripting engines:
    SCRIPT_LIB_ELUNA        Compile with support for Eluna scripts
    SCRIPT_LIB_SD3          Compile with support for ScriptDev3 scripts

  To set an option simply type -D<OPTION>=<VALUE> after 'cmake <srcs>'.
  Also, you can specify the generator with -G. see 'cmake --help' for more details
  For example: cmake .. -DDEBUG=1 -DCMAKE_INSTALL_PREFIX=/opt/mangos

  Note: On UNIX systems, CONF_DIR is relative to the bin folder.

-- Detected 64-bit platform
-- Found OpenSSL library: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so
-- Found OpenSSL headers: /usr/include
-- Found ACE library: /usr/local/lib/libACE.so
-- Found ACE headers: /usr/local/include
-- Install server to     : /home/silentstorm/one
-- Install configs to    : /home/silentstorm/one/etc/
-- Search configs from   : etc/
-- Support for SOAP      : No (default)
-- Script engine Eluna   : Yes (default)
-- Script engine SD3     : Yes (default)
-- Build main server     : Yes (default)
-- Build login server    : Yes (default)
-- Build tools           : Yes (default)
-- Build in debug-mode   : No  (default)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/silentstorm/one/src/server/linux
[  0%] Building C object dep/lualib/CMakeFiles/lualib.dir/lapi.c.o
[  0%] Building C object dep/lualib/CMakeFiles/lualib.dir/lauxlib.c.o
[  0%] Building C object dep/lualib/CMakeFiles/lualib.dir/lbaselib.c.o
[  1%] Building C object dep/lualib/CMakeFiles/lualib.dir/lbitlib.c.o
[  1%] Building C object dep/lualib/CMakeFiles/lualib.dir/lcode.c.o
[  1%] Building C object dep/lualib/CMakeFiles/lualib.dir/lcorolib.c.o
[  1%] Building C object dep/lualib/CMakeFiles/lualib.dir/lctype.c.o
[  1%] Building C object dep/lualib/CMakeFiles/lualib.dir/ldblib.c.o
[  1%] Building C object dep/lualib/CMakeFiles/lualib.dir/ldebug.c.o
[  1%] Building C object dep/lualib/CMakeFiles/lualib.dir/ldo.c.o
[  1%] Building C object dep/lualib/CMakeFiles/lualib.dir/ldump.c.o
[  2%] Building C object dep/lualib/CMakeFiles/lualib.dir/lfunc.c.o
[  2%] Building C object dep/lualib/CMakeFiles/lualib.dir/lgc.c.o
[  2%] Building C object dep/lualib/CMakeFiles/lualib.dir/linit.c.o
[  2%] Building C object dep/lualib/CMakeFiles/lualib.dir/liolib.c.o
[  2%] Building C object dep/lualib/CMakeFiles/lualib.dir/llex.c.o
[  2%] Building C object dep/lualib/CMakeFiles/lualib.dir/lmathlib.c.o
[  2%] Building C object dep/lualib/CMakeFiles/lualib.dir/lmem.c.o
[  3%] Building C object dep/lualib/CMakeFiles/lualib.dir/loadlib.c.o
[  3%] Building C object dep/lualib/CMakeFiles/lualib.dir/lobject.c.o
[  3%] Building C object dep/lualib/CMakeFiles/lualib.dir/lopcodes.c.o
[  3%] Building C object dep/lualib/CMakeFiles/lualib.dir/loslib.c.o
[  3%] Building C object dep/lualib/CMakeFiles/lualib.dir/lparser.c.o
[  3%] Building C object dep/lualib/CMakeFiles/lualib.dir/lstate.c.o
[  3%] Building C object dep/lualib/CMakeFiles/lualib.dir/lstring.c.o
[  4%] Building C object dep/lualib/CMakeFiles/lualib.dir/lstrlib.c.o
[  4%] Building C object dep/lualib/CMakeFiles/lualib.dir/ltable.c.o
[  4%] Building C object dep/lualib/CMakeFiles/lualib.dir/ltablib.c.o
[  4%] Building C object dep/lualib/CMakeFiles/lualib.dir/ltm.c.o
[  4%] Building C object dep/lualib/CMakeFiles/lualib.dir/lundump.c.o
[  4%] Building C object dep/lualib/CMakeFiles/lualib.dir/lvm.c.o
[  4%] Building C object dep/lualib/CMakeFiles/lualib.dir/lzio.c.o
[  5%] Linking C static library liblualib.a
[  5%] Built target lualib
[  5%] Building C object dep/bzip2/CMakeFiles/bzip2.dir/blocksort.c.o
[  5%] Building C object dep/bzip2/CMakeFiles/bzip2.dir/bzlib.c.o
[  6%] Building C object dep/bzip2/CMakeFiles/bzip2.dir/compress.c.o
[  6%] Building C object dep/bzip2/CMakeFiles/bzip2.dir/crctable.c.o
[  6%] Building C object dep/bzip2/CMakeFiles/bzip2.dir/decompress.c.o
[  6%] Building C object dep/bzip2/CMakeFiles/bzip2.dir/huffman.c.o
[  6%] Building C object dep/bzip2/CMakeFiles/bzip2.dir/randtable.c.o
[  6%] Linking C static library libbzip2.a
[  6%] Built target bzip2
[  6%] Building C object dep/libmpq/CMakeFiles/libmpq.dir/libmpq/common.c.o
[  7%] Building C object dep/libmpq/CMakeFiles/libmpq.dir/libmpq/explode.c.o
[  7%] Building C object dep/libmpq/CMakeFiles/libmpq.dir/libmpq/extract.c.o
[  7%] Building C object dep/libmpq/CMakeFiles/libmpq.dir/libmpq/huffman.c.o
[  7%] Building C object dep/libmpq/CMakeFiles/libmpq.dir/libmpq/mpq.c.o
[  7%] Building C object dep/libmpq/CMakeFiles/libmpq.dir/libmpq/wave.c.o
[  7%] Linking CXX static library liblibmpq.a
[  7%] Built target libmpq
[  7%] Building CXX object dep/recastnavigation/Detour/Source/CMakeFiles/detour.dir/DetourAlloc.cpp.o
[  7%] Building CXX object dep/recastnavigation/Detour/Source/CMakeFiles/detour.dir/DetourCommon.cpp.o
[  8%] Building CXX object dep/recastnavigation/Detour/Source/CMakeFiles/detour.dir/DetourNavMeshBuilder.cpp.o
[  8%] Building CXX object dep/recastnavigation/Detour/Source/CMakeFiles/detour.dir/DetourNavMesh.cpp.o
[  8%] Building CXX object dep/recastnavigation/Detour/Source/CMakeFiles/detour.dir/DetourNavMeshQuery.cpp.o
[  8%] Building CXX object dep/recastnavigation/Detour/Source/CMakeFiles/detour.dir/DetourNode.cpp.o
[  8%] Linking CXX static library libdetour.a
[  8%] Built target detour
[  8%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/recast.dir/Source/Recast.cpp.o
[  8%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/recast.dir/Source/RecastAlloc.cpp.o
[  8%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/recast.dir/Source/RecastArea.cpp.o
[  8%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/recast.dir/Source/RecastContour.cpp.o
[  9%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/recast.dir/Source/RecastFilter.cpp.o
[  9%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/recast.dir/Source/RecastLayers.cpp.o
[  9%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/recast.dir/Source/RecastMesh.cpp.o
[  9%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/recast.dir/Source/RecastMeshDetail.cpp.o
[  9%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/recast.dir/Source/RecastRasterization.cpp.o
[  9%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/recast.dir/Source/RecastRegion.cpp.o
[  9%] Linking CXX static library librecast.a
[  9%] Built target recast
[  9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/AABox.cpp.o
[  9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/Any.cpp.o
[  9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/BinaryFormat.cpp.o
[  9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/BinaryInput.cpp.o
[  9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/BinaryOutput.cpp.o
[  9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/Box.cpp.o
[ 10%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/Capsule.cpp.o
[ 10%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/CollisionDetection.cpp.o
[ 10%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/CoordinateFrame.cpp.o
[ 10%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/Crypto.cpp.o
[ 10%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/Cylinder.cpp.o
[ 10%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/FileSystem.cpp.o
[ 10%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/Line.cpp.o
[ 10%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/LineSegment.cpp.o
[ 11%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/Log.cpp.o
[ 11%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/Matrix3.cpp.o
[ 11%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/Matrix4.cpp.o
[ 11%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/MemoryManager.cpp.o
[ 11%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/PhysicsFrame.cpp.o
[ 11%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/Plane.cpp.o
[ 11%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/Quat.cpp.o
[ 12%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/Random.cpp.o
[ 12%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/Ray.cpp.o
[ 12%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/ReferenceCount.cpp.o
[ 12%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/RegistryUtil.cpp.o
[ 12%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/Sphere.cpp.o
[ 12%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/System.cpp.o
[ 12%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/TextInput.cpp.o
[ 13%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/TextOutput.cpp.o
[ 13%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/Triangle.cpp.o
[ 13%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/UprightFrame.cpp.o
[ 13%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/Vector2.cpp.o
[ 13%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/Vector3.cpp.o
[ 13%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/Vector4.cpp.o
[ 13%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/debugAssert.cpp.o
[ 14%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/fileutils.cpp.o
[ 14%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/format.cpp.o
[ 14%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/g3dfnmatch.cpp.o
[ 14%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/g3dmath.cpp.o
[ 14%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/prompt.cpp.o
[ 14%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/stringutils.cpp.o
[ 14%] Building CXX object dep/g3dlite/CMakeFiles/g3dlite.dir/G3D/uint128.cpp.o
[ 14%] Linking CXX static library libg3dlite.a
[ 14%] Built target g3dlite
[ 14%] Building C object dep/zlib/CMakeFiles/zlib.dir/adler32.c.o
[ 15%] Building C object dep/zlib/CMakeFiles/zlib.dir/compress.c.o
[ 15%] Building C object dep/zlib/CMakeFiles/zlib.dir/crc32.c.o
[ 15%] Building C object dep/zlib/CMakeFiles/zlib.dir/deflate.c.o
[ 15%] Building C object dep/zlib/CMakeFiles/zlib.dir/gzclose.c.o
[ 15%] Building C object dep/zlib/CMakeFiles/zlib.dir/gzlib.c.o
[ 15%] Building C object dep/zlib/CMakeFiles/zlib.dir/gzread.c.o
[ 15%] Building C object dep/zlib/CMakeFiles/zlib.dir/gzwrite.c.o
[ 16%] Building C object dep/zlib/CMakeFiles/zlib.dir/infback.c.o
[ 16%] Building C object dep/zlib/CMakeFiles/zlib.dir/inffast.c.o
[ 16%] Building C object dep/zlib/CMakeFiles/zlib.dir/inflate.c.o
[ 16%] Building C object dep/zlib/CMakeFiles/zlib.dir/inftrees.c.o
[ 16%] Building C object dep/zlib/CMakeFiles/zlib.dir/trees.c.o
[ 16%] Building C object dep/zlib/CMakeFiles/zlib.dir/uncompr.c.o
[ 16%] Building C object dep/zlib/CMakeFiles/zlib.dir/zutil.c.o
[ 17%] Linking C static library libzlib.a
[ 17%] Built target zlib
[ 17%] Building CXX object dep/loadlib/CMakeFiles/loadlib.dir/ml/loadlib.cpp.o
[ 18%] Building CXX object dep/loadlib/CMakeFiles/loadlib.dir/ml/adt.cpp.o
[ 18%] Building CXX object dep/loadlib/CMakeFiles/loadlib.dir/ml/wdt.cpp.o
[ 18%] Building CXX object dep/loadlib/CMakeFiles/loadlib.dir/ml/mpq.cpp.o
[ 18%] Linking CXX static library libloadlib.a
[ 18%] Built target loadlib
[ 18%] Building CXX object src/framework/CMakeFiles/framework.dir/Policies/ObjectLifeTime.cpp.o
[ 18%] Building CXX object src/framework/CMakeFiles/framework.dir/Utilities/EventProcessor.cpp.o
[ 19%] Linking CXX static library libframework.a
[ 19%] Built target framework
[ 20%] Building CXX object src/shared/CMakeFiles/shared.dir/Auth/ARC4.cpp.o
In file included from /home/silentstorm/one/src/server/src/shared/Auth/ARC4.cpp:26:0:
/home/silentstorm/one/src/server/src/shared/Auth/ARC4.h:41:24: error: field ‘m_ctx’ has incomplete type ‘EVP_CIPHER_CTX {aka evp_cipher_ctx_st}’
         EVP_CIPHER_CTX m_ctx;
                        ^~~~~
In file included from /usr/include/openssl/evp.h:14:0,
                 from /home/silentstorm/one/src/server/src/shared/Auth/ARC4.h:29,
                 from /home/silentstorm/one/src/server/src/shared/Auth/ARC4.cpp:26:
/usr/include/openssl/ossl_typ.h:90:16: note: forward declaration of ‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’
 typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
                ^~~~~~~~~~~~~~~~~
src/shared/CMakeFiles/shared.dir/build.make:62: recipe for target 'src/shared/CMakeFiles/shared.dir/Auth/ARC4.cpp.o' failed
make[2]: *** [src/shared/CMakeFiles/shared.dir/Auth/ARC4.cpp.o] Error 1
CMakeFiles/Makefile2:723: recipe for target 'src/shared/CMakeFiles/shared.dir/all' failed
make[1]: *** [src/shared/CMakeFiles/shared.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
There was an error building MaNGOS!
[email protected]:/home/silentstorm/Downloads#

I know nothing about c++ so does anybody have either a already built version or know how to fix this?

Edited by onixiya
grammer fix?

Share this post


Link to post
Share on other sites

18 answers to this question

Recommended Posts

  • 0

Hi, Due to the age of this issue I will be closing this topic, if this is still a problem on the latest builds please open a new topic. Sorry for the delay in response.

Share this post


Link to post
Share on other sites
  • 0

I installed openssl from apt and i got the exact same thing. I installed openssl from source from openssl.org and i got the exact same thing.

Share this post


Link to post
Share on other sites
  • 0

There's still a problem with it. 16.04 did get further though, I’ll give it that much.

Scanning dependencies of target realmd
[ 23%] Building CXX object src/realmd/CMakeFiles/realmd.dir/Auth/AuthSocket.cpp.o
[ 23%] Building CXX object src/realmd/CMakeFiles/realmd.dir/Patch/PatchHandler.cpp.o
[ 23%] Building CXX object src/realmd/CMakeFiles/realmd.dir/Realm/RealmList.cpp.o
[ 24%] Building CXX object src/realmd/CMakeFiles/realmd.dir/SocketBuffer/BufferedSocket.cpp.o
[ 24%] Building CXX object src/realmd/CMakeFiles/realmd.dir/Main.cpp.o
[ 24%] Linking CXX executable realmd
../shared/libshared.a(Database.cpp.o): In function `Database::getQueryConnection()':
/home/mangos/one/src/server/src/shared/Database/Database.cpp:(.text+0xd7e): undefined reference to `ACE_Atomic_Op<ACE_Thread_Mutex, long>::exchange_fn_'
/home/mangos/one/src/server/src/shared/Database/Database.cpp:(.text+0xd86): undefined reference to `ACE_Atomic_Op<ACE_Thread_Mutex, long>::increment_fn_'
../shared/libshared.a(Database.cpp.o): In function `Database::PQuery(char const*, ...)':
/home/mangos/one/src/server/src/shared/Database/Database.cpp:(.text+0x1440): undefined reference to `ACE_Atomic_Op<ACE_Thread_Mutex, long>::exchange_fn_'
/home/mangos/one/src/server/src/shared/Database/Database.cpp:(.text+0x14a1): undefined reference to `ACE_Atomic_Op<ACE_Thread_Mutex, long>::increment_fn_'
../shared/libshared.a(Database.cpp.o): In function `Database::PQueryNamed(char const*, ...)':
/home/mangos/one/src/server/src/shared/Database/Database.cpp:(.text+0x1610): undefined reference to `ACE_Atomic_Op<ACE_Thread_Mutex, long>::exchange_fn_'
/home/mangos/one/src/server/src/shared/Database/Database.cpp:(.text+0x1671): undefined reference to `ACE_Atomic_Op<ACE_Thread_Mutex, long>::increment_fn_'
../shared/libshared.a(Database.cpp.o): In function `Database::CheckDatabaseVersion(DatabaseTypes)':
/home/mangos/one/src/server/src/shared/Database/Database.cpp:(.text+0x1cda): undefined reference to `ACE_Atomic_Op<ACE_Thread_Mutex, long>::exchange_fn_'
/home/mangos/one/src/server/src/shared/Database/Database.cpp:(.text+0x1ce2): undefined reference to `ACE_Atomic_Op<ACE_Thread_Mutex, long>::increment_fn_'
../shared/libshared.a(Threading.cpp.o): In function `ACE_Based::Thread::Thread(ACE_Based::Runnable*)':
/home/mangos/one/src/server/src/shared/Threading/Threading.cpp:(.text+0x3c3): undefined reference to `ACE_Atomic_Op<ACE_Thread_Mutex, long>::increment_fn_'
../shared/libshared.a(Threading.cpp.o): In function `ACE_Based::Thread::start()':
/home/mangos/one/src/server/src/shared/Threading/Threading.cpp:(.text+0x44d): undefined reference to `ACE_Atomic_Op<ACE_Thread_Mutex, long>::increment_fn_'
/home/mangos/one/src/server/src/shared/Threading/Threading.cpp:(.text+0x4e9): undefined reference to `ACE_Atomic_Op<ACE_Thread_Mutex, long>::decrement_fn_'
../shared/libshared.a(Threading.cpp.o): In function `ACE_Based::Thread::~Thread()':
/home/mangos/one/src/server/src/shared/Threading/Threading.cpp:(.text+0x52d): undefined reference to `ACE_Atomic_Op<ACE_Thread_Mutex, long>::decrement_fn_'
../shared/libshared.a(Threading.cpp.o): In function `ACE_Based::Thread::ThreadTask(void*)':
/home/mangos/one/src/server/src/shared/Threading/Threading.cpp:(.text+0x560): undefined reference to `ACE_Atomic_Op<ACE_Thread_Mutex, long>::increment_fn_'
/home/mangos/one/src/server/src/shared/Threading/Threading.cpp:(.text+0x572): undefined reference to `ACE_Atomic_Op<ACE_Thread_Mutex, long>::decrement_fn_'
../shared/libshared.a(Threading.cpp.o): In function `ACE_Based::Thread::destroy()':
/home/mangos/one/src/server/src/shared/Threading/Threading.cpp:(.text+0x680): undefined reference to `ACE_Atomic_Op<ACE_Thread_Mutex, long>::decrement_fn_'
../shared/libshared.a(Threading.cpp.o): In function `ACE_Based::Thread::current()':
/home/mangos/one/src/server/src/shared/Threading/Threading.cpp:(.text+0x7c9): undefined reference to `ACE_Atomic_Op<ACE_Thread_Mutex, long>::decrement_fn_'
../shared/libshared.a(Threading.cpp.o): In function `ACE_TSS<ACE_Based::Thread>::~ACE_TSS()':
/home/mangos/one/src/server/src/shared/Threading/Threading.cpp:(.text._ZN7ACE_TSSIN9ACE_Based6ThreadEED2Ev[_ZN7ACE_TSSIN9ACE_Based6ThreadEED2Ev]+0x95): undefined reference to `ACE_Atomic_Op<ACE_Thread_Mutex, long>::decrement_fn_'
../shared/libshared.a(Threading.cpp.o): In function `ACE_TSS<ACE_Based::Thread>::cleanup(void*)':
/home/mangos/one/src/server/src/shared/Threading/Threading.cpp:(.text._ZN7ACE_TSSIN9ACE_Based6ThreadEE7cleanupEPv[_ZN7ACE_TSSIN9ACE_Based6ThreadEE7cleanupEPv]+0x18): undefined reference to `ACE_Atomic_Op<ACE_Thread_Mutex, long>::decrement_fn_'
../shared/libshared.a(DatabaseMysql.cpp.o): In function `Database::Database()':
/home/mangos/one/src/server/src/shared/Database/DatabaseMysql.cpp:(.text._ZN8DatabaseC2Ev[_ZN8DatabaseC2Ev]+0x1b5): undefined reference to `ACE_Atomic_Op<ACE_Thread_Mutex, long>::exchange_fn_'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
src/realmd/CMakeFiles/realmd.dir/build.make:203: recipe for target 'src/realmd/realmd' failed
make[2]: *** [src/realmd/realmd] Error 1
CMakeFiles/Makefile2:779: recipe for target 'src/realmd/CMakeFiles/realmd.dir/all' failed
make[1]: *** [src/realmd/CMakeFiles/realmd.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
There was an error building MaNGOS!
[email protected]MaNGOS:/home/mangos/Downloads#

 

Share this post


Link to post
Share on other sites
  • 0

Almost

Scanning dependencies of target game
[ 82%] Building CXX object src/game/CMakeFiles/game.dir/AuctionHouseBot/AuctionHouseBot.cpp.o
[ 82%] Building CXX object src/game/CMakeFiles/game.dir/BattleGround/BattleGroundMgr.cpp.o
[ 82%] Building CXX object src/game/CMakeFiles/game.dir/BattleGround/BattleGroundAB.cpp.o
[ 82%] Building CXX object src/game/CMakeFiles/game.dir/BattleGround/BattleGroundWS.cpp.o
[ 83%] Building CXX object src/game/CMakeFiles/game.dir/BattleGround/BattleGroundAV.cpp.o
[ 83%] Building CXX object src/game/CMakeFiles/game.dir/BattleGround/BattleGroundNA.cpp.o
[ 83%] Building CXX object src/game/CMakeFiles/game.dir/BattleGround/BattleGround.cpp.o
[ 83%] Building CXX object src/game/CMakeFiles/game.dir/BattleGround/BattleGroundRL.cpp.o
[ 83%] Building CXX object src/game/CMakeFiles/game.dir/BattleGround/BattleGroundBE.cpp.o
[ 83%] Building CXX object src/game/CMakeFiles/game.dir/BattleGround/BattleGroundEY.cpp.o
[ 83%] Building CXX object src/game/CMakeFiles/game.dir/BattleGround/BattleGroundAA.cpp.o
[ 83%] Building CXX object src/game/CMakeFiles/game.dir/BattleGround/BattleGroundHandler.cpp.o
[ 83%] Building CXX object src/game/CMakeFiles/game.dir/ChatCommands/debugcmds.cpp.o
[ 83%] Building CXX object src/game/CMakeFiles/game.dir/ChatCommands/Level1.cpp.o
[ 83%] Building CXX object src/game/CMakeFiles/game.dir/ChatCommands/Level3.cpp.o
[ 84%] Building CXX object src/game/CMakeFiles/game.dir/ChatCommands/Level0.cpp.o
[ 84%] Building CXX object src/game/CMakeFiles/game.dir/ChatCommands/Level2.cpp.o
[ 84%] Building CXX object src/game/CMakeFiles/game.dir/ChatCommands/Level4.cpp.o
[ 84%] Building CXX object src/game/CMakeFiles/game.dir/Maps/MapUpdater.cpp.o
[ 84%] Building CXX object src/game/CMakeFiles/game.dir/MotionGenerators/PathFinder.cpp.o
[ 84%] Building CXX object src/game/CMakeFiles/game.dir/MotionGenerators/HomeMovementGenerator.cpp.o
[ 84%] Building CXX object src/game/CMakeFiles/game.dir/MotionGenerators/TargetedMovementGenerator.cpp.o
[ 84%] Building CXX object src/game/CMakeFiles/game.dir/MotionGenerators/MotionMaster.cpp.o
[ 84%] Building CXX object src/game/CMakeFiles/game.dir/MotionGenerators/ConfusedMovementGenerator.cpp.o
[ 84%] Building CXX object src/game/CMakeFiles/game.dir/MotionGenerators/IdleMovementGenerator.cpp.o
[ 85%] Building CXX object src/game/CMakeFiles/game.dir/MotionGenerators/PointMovementGenerator.cpp.o
[ 85%] Building CXX object src/game/CMakeFiles/game.dir/MotionGenerators/MovementGenerator.cpp.o
[ 85%] Building CXX object src/game/CMakeFiles/game.dir/MotionGenerators/FleeingMovementGenerator.cpp.o
[ 85%] Building CXX object src/game/CMakeFiles/game.dir/MotionGenerators/WaypointMovementGenerator.cpp.o
[ 85%] Building CXX object src/game/CMakeFiles/game.dir/MotionGenerators/RandomMovementGenerator.cpp.o
[ 85%] Building CXX object src/game/CMakeFiles/game.dir/movement/packet_builder.cpp.o
[ 85%] Building CXX object src/game/CMakeFiles/game.dir/movement/util.cpp.o
[ 85%] Building CXX object src/game/CMakeFiles/game.dir/movement/spline.cpp.o
[ 85%] Building CXX object src/game/CMakeFiles/game.dir/movement/MoveSplineInit.cpp.o
[ 85%] Building CXX object src/game/CMakeFiles/game.dir/movement/MoveSpline.cpp.o
[ 86%] Building CXX object src/game/CMakeFiles/game.dir/Object/SocialMgr.cpp.o
[ 86%] Building CXX object src/game/CMakeFiles/game.dir/Object/CreatureAI.cpp.o
[ 86%] Building CXX object src/game/CMakeFiles/game.dir/Object/TemporarySummon.cpp.o
[ 86%] Building CXX object src/game/CMakeFiles/game.dir/Object/NullCreatureAI.cpp.o
[ 86%] Building CXX object src/game/CMakeFiles/game.dir/Object/CreatureEventAI.cpp.o
[ 86%] Building CXX object src/game/CMakeFiles/game.dir/Object/Camera.cpp.o
[ 86%] Building CXX object src/game/CMakeFiles/game.dir/Object/ReactorAI.cpp.o
[ 86%] Building CXX object src/game/CMakeFiles/game.dir/Object/CreatureAIRegistry.cpp.o
[ 86%] Building CXX object src/game/CMakeFiles/game.dir/Object/PetAI.cpp.o
[ 86%] Building CXX object src/game/CMakeFiles/game.dir/Object/ReputationMgr.cpp.o
[ 86%] Building CXX object src/game/CMakeFiles/game.dir/Object/GuardAI.cpp.o
[ 87%] Building CXX object src/game/CMakeFiles/game.dir/Object/Totem.cpp.o
[ 87%] Building CXX object src/game/CMakeFiles/game.dir/Object/Creature.cpp.o
[ 87%] Building CXX object src/game/CMakeFiles/game.dir/Object/Corpse.cpp.o
[ 87%] Building CXX object src/game/CMakeFiles/game.dir/Object/CreatureAISelector.cpp.o
[ 87%] Building CXX object src/game/CMakeFiles/game.dir/Object/GMTicketMgr.cpp.o
[ 87%] Building CXX object src/game/CMakeFiles/game.dir/Object/Player.cpp.o
[ 87%] Building CXX object src/game/CMakeFiles/game.dir/Object/Unit.cpp.o
[ 87%] Building CXX object src/game/CMakeFiles/game.dir/Object/CreatureEventAIMgr.cpp.o
[ 87%] Building CXX object src/game/CMakeFiles/game.dir/Object/StatSystem.cpp.o
[ 87%] Building CXX object src/game/CMakeFiles/game.dir/Object/DynamicObject.cpp.o
[ 88%] Building CXX object src/game/CMakeFiles/game.dir/Object/ObjectAccessor.cpp.o
[ 88%] Building CXX object src/game/CMakeFiles/game.dir/Object/AggressorAI.cpp.o
[ 88%] Building CXX object src/game/CMakeFiles/game.dir/Object/Item.cpp.o
[ 88%] Building CXX object src/game/CMakeFiles/game.dir/Object/LootMgr.cpp.o
[ 88%] Building CXX object src/game/CMakeFiles/game.dir/Object/GameObject.cpp.o
[ 88%] Building CXX object src/game/CMakeFiles/game.dir/Object/Pet.cpp.o
[ 88%] Building CXX object src/game/CMakeFiles/game.dir/Object/Guild.cpp.o
[ 88%] Building CXX object src/game/CMakeFiles/game.dir/Object/ObjectPosSelector.cpp.o
[ 88%] Building CXX object src/game/CMakeFiles/game.dir/Object/AuctionHouseMgr.cpp.o
[ 88%] Building CXX object src/game/CMakeFiles/game.dir/Object/Object.cpp.o
[ 88%] Building CXX object src/game/CMakeFiles/game.dir/Object/ObjectMgr.cpp.o
[ 89%] Building CXX object src/game/CMakeFiles/game.dir/Object/ArenaTeam.cpp.o
[ 89%] Building CXX object src/game/CMakeFiles/game.dir/Object/SpellMgr.cpp.o
[ 89%] Building CXX object src/game/CMakeFiles/game.dir/Object/TotemAI.cpp.o
[ 89%] Building CXX object src/game/CMakeFiles/game.dir/Object/ItemEnchantmentMgr.cpp.o
[ 89%] Building CXX object src/game/CMakeFiles/game.dir/Object/ObjectGuid.cpp.o
[ 89%] Building CXX object src/game/CMakeFiles/game.dir/Object/PlayerLogger.cpp.o
[ 89%] Building CXX object src/game/CMakeFiles/game.dir/Object/Bag.cpp.o
[ 89%] Building CXX object src/game/CMakeFiles/game.dir/OutdoorPvP/OutdoorPvPEP.cpp.o
[ 89%] Building CXX object src/game/CMakeFiles/game.dir/OutdoorPvP/OutdoorPvPMgr.cpp.o
[ 89%] Building CXX object src/game/CMakeFiles/game.dir/OutdoorPvP/OutdoorPvPZM.cpp.o
[ 90%] Building CXX object src/game/CMakeFiles/game.dir/OutdoorPvP/OutdoorPvPNA.cpp.o
[ 90%] Building CXX object src/game/CMakeFiles/game.dir/OutdoorPvP/OutdoorPvPTF.cpp.o
[ 90%] Building CXX object src/game/CMakeFiles/game.dir/OutdoorPvP/OutdoorPvP.cpp.o
[ 90%] Building CXX object src/game/CMakeFiles/game.dir/OutdoorPvP/OutdoorPvPHP.cpp.o
[ 90%] Building CXX object src/game/CMakeFiles/game.dir/OutdoorPvP/OutdoorPvPSI.cpp.o
[ 90%] Building CXX object src/game/CMakeFiles/game.dir/References/FollowerReference.cpp.o
[ 90%] Building CXX object src/game/CMakeFiles/game.dir/References/GroupReference.cpp.o
[ 90%] Building CXX object src/game/CMakeFiles/game.dir/References/HostileRefManager.cpp.o
[ 90%] Building CXX object src/game/CMakeFiles/game.dir/References/ThreatManager.cpp.o
[ 90%] Building CXX object src/game/CMakeFiles/game.dir/Server/DBCStores.cpp.o
[ 91%] Building CXX object src/game/CMakeFiles/game.dir/Server/Opcodes.cpp.o
[ 91%] Building CXX object src/game/CMakeFiles/game.dir/Server/WorldSession.cpp.o
[ 91%] Building CXX object src/game/CMakeFiles/game.dir/Server/WorldSocket.cpp.o
[ 91%] Building CXX object src/game/CMakeFiles/game.dir/Server/SQLStorages.cpp.o
[ 91%] Building CXX object src/game/CMakeFiles/game.dir/Server/WorldSocketMgr.cpp.o
[ 91%] Building CXX object src/game/CMakeFiles/game.dir/Tools/CharacterDatabaseCleaner.cpp.o
[ 91%] Building CXX object src/game/CMakeFiles/game.dir/Tools/PlayerDump.cpp.o
[ 91%] Building CXX object src/game/CMakeFiles/game.dir/vmap/VMapManager2.cpp.o
[ 91%] Building CXX object src/game/CMakeFiles/game.dir/vmap/WorldModel.cpp.o
[ 91%] Building CXX object src/game/CMakeFiles/game.dir/vmap/DynamicTree.cpp.o
[ 91%] Building CXX object src/game/CMakeFiles/game.dir/vmap/MapTree.cpp.o
[ 92%] Building CXX object src/game/CMakeFiles/game.dir/vmap/TileAssembler.cpp.o
[ 92%] Building CXX object src/game/CMakeFiles/game.dir/vmap/VMapFactory.cpp.o
[ 92%] Building CXX object src/game/CMakeFiles/game.dir/vmap/ModelInstance.cpp.o
[ 92%] Building CXX object src/game/CMakeFiles/game.dir/vmap/GameObjectModel.cpp.o
[ 92%] Building CXX object src/game/CMakeFiles/game.dir/vmap/BIH.cpp.o
[ 92%] Building CXX object src/game/CMakeFiles/game.dir/Warden/WardenWin.cpp.o
[ 92%] Building CXX object src/game/CMakeFiles/game.dir/Warden/WardenMac.cpp.o
[ 92%] Building CXX object src/game/CMakeFiles/game.dir/Warden/Warden.cpp.o
[ 92%] Building CXX object src/game/CMakeFiles/game.dir/Warden/WardenCheckMgr.cpp.o
[ 92%] Building CXX object src/game/CMakeFiles/game.dir/WorldHandlers/Map.cpp.o
[ 93%] Building CXX object src/game/CMakeFiles/game.dir/WorldHandlers/AddonHandler.cpp.o
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1:
In file included from /home/mangos/one/src/server/src/game/pchdef.h:29:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/MapManager.h:32:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/Map.h:35:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/GridDefines.h:29:
In file included from /home/mangos/one/src/server/src/framework/GameSystem/NGrid.h:28:
In file included from /home/mangos/one/src/server/src/framework/GameSystem/Grid.h:30:
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:210:40: error: no member named 'cend' in
      'std::tr1::unordered_map<ObjectGuid, Creature *, std::tr1::hash<ObjectGuid>, std::equal_to<ObjectGuid>,
      std::allocator<std::pair<const ObjectGuid, Creature *> > >'
            if (i == elements._element.cend())
                     ~~~~~~~~~~~~~~~~~ ^
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:259:61: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<Creature>' requested here
            SPECIFIC_TYPE* ret = TypeUnorderedMapContainer::find(elements._elements, hdl, (SPECIFIC_TYPE*)NULL);
                                                            ^
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:116:47: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<Creature, Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >' requested here
            return TypeUnorderedMapContainer::find(i_elements, hdl, (SPECIFIC_TYPE*)NULL);
                                              ^
/home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1776:27: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<Creature>' requested here
    return m_objectsStore.find<Creature>(guid, (Creature*)NULL);
                          ^
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1:
In file included from /home/mangos/one/src/server/src/game/pchdef.h:29:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/MapManager.h:32:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/Map.h:35:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/GridDefines.h:29:
In file included from /home/mangos/one/src/server/src/framework/GameSystem/NGrid.h:28:
In file included from /home/mangos/one/src/server/src/framework/GameSystem/Grid.h:30:
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:210:40: error: no member named 'cend' in
      'std::tr1::unordered_map<ObjectGuid, Pet *, std::tr1::hash<ObjectGuid>, std::equal_to<ObjectGuid>,
      std::allocator<std::pair<const ObjectGuid, Pet *> > >'
            if (i == elements._element.cend())
                     ~~~~~~~~~~~~~~~~~ ^
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:259:61: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<Pet>' requested here
            SPECIFIC_TYPE* ret = TypeUnorderedMapContainer::find(elements._elements, hdl, (SPECIFIC_TYPE*)NULL);
                                                            ^
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:260:59: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<Pet, Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > >' requested here
            return ret ? ret : TypeUnorderedMapContainer::find(elements._TailElements, hdl, (SPECIFIC_TYPE*)NULL);
                                                          ^
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:116:47: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<Pet, Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull>
      > > >' requested here
            return TypeUnorderedMapContainer::find(i_elements, hdl, (SPECIFIC_TYPE*)NULL);
                                              ^
/home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1786:27: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<Pet>' requested here
    return m_objectsStore.find<Pet>(guid, (Pet*)NULL);
                          ^
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1:
In file included from /home/mangos/one/src/server/src/game/pchdef.h:29:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/MapManager.h:32:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/Map.h:35:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/GridDefines.h:29:
In file included from /home/mangos/one/src/server/src/framework/GameSystem/NGrid.h:28:
In file included from /home/mangos/one/src/server/src/framework/GameSystem/Grid.h:30:
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:210:40: error: no member named 'cend' in
      'std::tr1::unordered_map<ObjectGuid, GameObject *, std::tr1::hash<ObjectGuid>, std::equal_to<ObjectGuid>,
      std::allocator<std::pair<const ObjectGuid, GameObject *> > >'
            if (i == elements._element.cend())
                     ~~~~~~~~~~~~~~~~~ ^
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:259:61: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<GameObject>' requested here
            SPECIFIC_TYPE* ret = TypeUnorderedMapContainer::find(elements._elements, hdl, (SPECIFIC_TYPE*)NULL);
                                                            ^
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:260:59: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<GameObject, GameObject, TypeList<DynamicObject, TypeNull> >' requested here
            return ret ? ret : TypeUnorderedMapContainer::find(elements._TailElements, hdl, (SPECIFIC_TYPE*)NULL);
                                                          ^
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:260:59: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<GameObject, Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > >'
      requested here
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:116:47: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<GameObject, Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >' requested here
            return TypeUnorderedMapContainer::find(i_elements, hdl, (SPECIFIC_TYPE*)NULL);
                                              ^
/home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1826:27: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<GameObject>' requested here
    return m_objectsStore.find<GameObject>(guid, (GameObject*)NULL);
                          ^
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1:
In file included from /home/mangos/one/src/server/src/game/pchdef.h:29:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/MapManager.h:32:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/Map.h:35:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/GridDefines.h:29:
In file included from /home/mangos/one/src/server/src/framework/GameSystem/NGrid.h:28:
In file included from /home/mangos/one/src/server/src/framework/GameSystem/Grid.h:30:
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:210:40: error: no member named 'cend' in
      'std::tr1::unordered_map<ObjectGuid, DynamicObject *, std::tr1::hash<ObjectGuid>, std::equal_to<ObjectGuid>,
      std::allocator<std::pair<const ObjectGuid, DynamicObject *> > >'
            if (i == elements._element.cend())
                     ~~~~~~~~~~~~~~~~~ ^
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:259:61: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<DynamicObject>' requested here
            SPECIFIC_TYPE* ret = TypeUnorderedMapContainer::find(elements._elements, hdl, (SPECIFIC_TYPE*)NULL);
                                                            ^
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:260:59: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<DynamicObject, DynamicObject, TypeNull>' requested here
            return ret ? ret : TypeUnorderedMapContainer::find(elements._TailElements, hdl, (SPECIFIC_TYPE*)NULL);
                                                          ^
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:260:59: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<DynamicObject, GameObject, TypeList<DynamicObject, TypeNull> >' requested here
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:260:59: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<DynamicObject, Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > >'
      requested here
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:116:47: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<DynamicObject, Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >' requested here
            return TypeUnorderedMapContainer::find(i_elements, hdl, (SPECIFIC_TYPE*)NULL);
                                              ^
/home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1836:27: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<DynamicObject>' requested here
    return m_objectsStore.find<DynamicObject>(guid, (DynamicObject*)NULL);
                          ^
4 errors generated.
src/game/CMakeFiles/game.dir/build.make:2630: recipe for target 'src/game/CMakeFiles/game.dir/WorldHandlers/Map.cpp.o' failed
make[2]: *** [src/game/CMakeFiles/game.dir/WorldHandlers/Map.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:989: recipe for target 'src/game/CMakeFiles/game.dir/all' failed
make[1]: *** [src/game/CMakeFiles/game.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
[email protected]MaNGOS:/home/mangos/one/src/server# make -j2
[  3%] Built target lualib
[  4%] Built target bzip2
[  5%] Built target detour
[  6%] Built target recast
[ 10%] Built target g3dlite
[ 12%] Built target zlib
[ 12%] Built target pchdef.cpp_dephelp
[ 13%] Built target LuaEngine
[ 13%] Built target generate_pchdef.cpp
[ 13%] Built target precompiled.cpp_dephelp
[ 14%] Built target vmap
[ 14%] Built target libmpq
[ 15%] Built target loadlib
[ 15%] Built target generate_precompiled.cpp
[ 15%] Built target map-extractor
[ 45%] Built target ace
[ 45%] Built target framework
[ 47%] Built target shared
[ 48%] Built target vmap-extractor
[ 49%] Built target realmd
[ 50%] Built target movemap-generator
[ 82%] Built target mangosscript
[ 82%] Building CXX object src/game/CMakeFiles/game.dir/WorldHandlers/Map.cpp.o
[ 82%] Building CXX object src/game/CMakeFiles/game.dir/WorldHandlers/Transports.cpp.o
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1:
In file included from /home/mangos/one/src/server/src/game/pchdef.h:29:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/MapManager.h:32:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/Map.h:35:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/GridDefines.h:29:
In file included from /home/mangos/one/src/server/src/framework/GameSystem/NGrid.h:28:
In file included from /home/mangos/one/src/server/src/framework/GameSystem/Grid.h:30:
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:210:40: error: no member named 'cend' in
      'std::tr1::unordered_map<ObjectGuid, Creature *, std::tr1::hash<ObjectGuid>, std::equal_to<ObjectGuid>,
      std::allocator<std::pair<const ObjectGuid, Creature *> > >'
            if (i == elements._element.cend())
                     ~~~~~~~~~~~~~~~~~ ^
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:259:61: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<Creature>' requested here
            SPECIFIC_TYPE* ret = TypeUnorderedMapContainer::find(elements._elements, hdl, (SPECIFIC_TYPE*)NULL);
                                                            ^
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:116:47: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<Creature, Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >' requested here
            return TypeUnorderedMapContainer::find(i_elements, hdl, (SPECIFIC_TYPE*)NULL);
                                              ^
/home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1776:27: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<Creature>' requested here
    return m_objectsStore.find<Creature>(guid, (Creature*)NULL);
                          ^
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1:
In file included from /home/mangos/one/src/server/src/game/pchdef.h:29:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/MapManager.h:32:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/Map.h:35:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/GridDefines.h:29:
In file included from /home/mangos/one/src/server/src/framework/GameSystem/NGrid.h:28:
In file included from /home/mangos/one/src/server/src/framework/GameSystem/Grid.h:30:
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:210:40: error: no member named 'cend' in
      'std::tr1::unordered_map<ObjectGuid, Pet *, std::tr1::hash<ObjectGuid>, std::equal_to<ObjectGuid>,
      std::allocator<std::pair<const ObjectGuid, Pet *> > >'
            if (i == elements._element.cend())
                     ~~~~~~~~~~~~~~~~~ ^
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:259:61: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<Pet>' requested here
            SPECIFIC_TYPE* ret = TypeUnorderedMapContainer::find(elements._elements, hdl, (SPECIFIC_TYPE*)NULL);
                                                            ^
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:260:59: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<Pet, Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > >' requested here
            return ret ? ret : TypeUnorderedMapContainer::find(elements._TailElements, hdl, (SPECIFIC_TYPE*)NULL);
                                                          ^
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:116:47: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<Pet, Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull>
      > > >' requested here
            return TypeUnorderedMapContainer::find(i_elements, hdl, (SPECIFIC_TYPE*)NULL);
                                              ^
/home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1786:27: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<Pet>' requested here
    return m_objectsStore.find<Pet>(guid, (Pet*)NULL);
                          ^
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1:
In file included from /home/mangos/one/src/server/src/game/pchdef.h:29:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/MapManager.h:32:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/Map.h:35:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/GridDefines.h:29:
In file included from /home/mangos/one/src/server/src/framework/GameSystem/NGrid.h:28:
In file included from /home/mangos/one/src/server/src/framework/GameSystem/Grid.h:30:
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:210:40: error: no member named 'cend' in
      'std::tr1::unordered_map<ObjectGuid, GameObject *, std::tr1::hash<ObjectGuid>, std::equal_to<ObjectGuid>,
      std::allocator<std::pair<const ObjectGuid, GameObject *> > >'
            if (i == elements._element.cend())
                     ~~~~~~~~~~~~~~~~~ ^
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:259:61: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<GameObject>' requested here
            SPECIFIC_TYPE* ret = TypeUnorderedMapContainer::find(elements._elements, hdl, (SPECIFIC_TYPE*)NULL);
                                                            ^
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:260:59: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<GameObject, GameObject, TypeList<DynamicObject, TypeNull> >' requested here
            return ret ? ret : TypeUnorderedMapContainer::find(elements._TailElements, hdl, (SPECIFIC_TYPE*)NULL);
                                                          ^
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:260:59: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<GameObject, Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > >'
      requested here
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:116:47: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<GameObject, Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >' requested here
            return TypeUnorderedMapContainer::find(i_elements, hdl, (SPECIFIC_TYPE*)NULL);
                                              ^
/home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1826:27: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<GameObject>' requested here
    return m_objectsStore.find<GameObject>(guid, (GameObject*)NULL);
                          ^
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1:
In file included from /home/mangos/one/src/server/src/game/pchdef.h:29:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/MapManager.h:32:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/Map.h:35:
In file included from /home/mangos/one/src/server/src/game/WorldHandlers/GridDefines.h:29:
In file included from /home/mangos/one/src/server/src/framework/GameSystem/NGrid.h:28:
In file included from /home/mangos/one/src/server/src/framework/GameSystem/Grid.h:30:
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:210:40: error: no member named 'cend' in
      'std::tr1::unordered_map<ObjectGuid, DynamicObject *, std::tr1::hash<ObjectGuid>, std::equal_to<ObjectGuid>,
      std::allocator<std::pair<const ObjectGuid, DynamicObject *> > >'
            if (i == elements._element.cend())
                     ~~~~~~~~~~~~~~~~~ ^
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:259:61: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<DynamicObject>' requested here
            SPECIFIC_TYPE* ret = TypeUnorderedMapContainer::find(elements._elements, hdl, (SPECIFIC_TYPE*)NULL);
                                                            ^
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:260:59: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<DynamicObject, DynamicObject, TypeNull>' requested here
            return ret ? ret : TypeUnorderedMapContainer::find(elements._TailElements, hdl, (SPECIFIC_TYPE*)NULL);
                                                          ^
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:260:59: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<DynamicObject, GameObject, TypeList<DynamicObject, TypeNull> >' requested here
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:260:59: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<DynamicObject, Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > >'
      requested here
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:116:47: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<DynamicObject, Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >' requested here
            return TypeUnorderedMapContainer::find(i_elements, hdl, (SPECIFIC_TYPE*)NULL);
                                              ^
/home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1836:27: note: in instantiation of function template
      specialization 'TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject,
      TypeNull> > > >, ObjectGuid>::find<DynamicObject>' requested here
    return m_objectsStore.find<DynamicObject>(guid, (DynamicObject*)NULL);
                          ^
4 errors generated.
src/game/CMakeFiles/game.dir/build.make:2630: recipe for target 'src/game/CMakeFiles/game.dir/WorldHandlers/Map.cpp.o' failed
make[2]: *** [src/game/CMakeFiles/game.dir/WorldHandlers/Map.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:989: recipe for target 'src/game/CMakeFiles/game.dir/all' failed
make[1]: *** [src/game/CMakeFiles/game.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
[email protected]MaNGOS:/home/mangos/one/src/server#

Share this post


Link to post
Share on other sites
  • 0

make sure you update your box core first using each of them one by one the restart

sudo apt-get update        # Fetches the list of available updates
sudo apt-get upgrade       # Strictly upgrades the current packages
sudo apt-get dist-upgrade  # Installs updates (new ones)

then do

apt-get install git autoconf libtool automake build-essential gettext cmake python

then do sql and restart then agen then try reinstalling src and compiling

Share this post


Link to post
Share on other sites
  • 0

I still got the exact same thing. Does anybody already have a compiled mangos one server they would be willing to give a copy of?

Share this post


Link to post
Share on other sites
  • 0

How could i finish compiling then? Do i edit something or install something else?

Edited by onixiya

Share this post


Link to post
Share on other sites
  • 0

Still got the exact same thing when everything was done as root. Also this really doesn't seem the easiest thing to compile. I'm still up for that precompiled mangos ONE server. If a library is missing, i'll just install the one it wants.

Share this post


Link to post
Share on other sites
  • 0
On 9/5/2018 at 1:34 PM, onixiya said:

I installed openssl from apt and i got the exact same thing. I installed openssl from source from openssl.org and i got the exact same thing.

If I remember correctly, none of the Mangos sources were adapted to the OpenSSL 2.0. If so, you need to stay at OpenSSL 1.1 which is not the default one for new system distributions. Check your OpenSSL version and try to downgrade it to 1.1 (which will rather be impossible), or try to install it along with 2.0.

Share this post


Link to post
Share on other sites

Contact Us

To contact us click here
You can also email us at [email protected]

Privacy Policy | Terms & Conditions

Repositories

The Link to the master list
of MaNGOS repositories:
Copyright © getMaNGOS. All rights Reserved.

This website is in no way associated with or endorsed by Blizzard Entertainment®
×
×
  • Create New...