Jump to content
  • Current develop21 fails to build under Unix/Linux...


    Xenithar
    • Status: Completed
      Main Category: Core / Mangos Daemon
      Sub-Category: Code Enhancement
      Version: 21.0 Milestone: 21 Priority: High
      Implemented Version: 0.20

    Current develop21 fails to build under Unix/Linux...

    I just cloned the official repo maybe five minutes ago and attempted to build develop21. I did do the recursive clone, but got this anyway.
    [code]
    Scanning dependencies of target LuaEngine
    [ 27%] Building CXX object src/modules/Eluna/CMakeFiles/LuaEngine.dir/GroupHooks.cpp.o
    In file included from /usr/src/zero/server/src/shared/Database/DatabaseEnv.h:46:0,
    from /usr/src/zero/server/src/game/Object/Player.h:33,
    from /usr/src/zero/server/src/modules/Eluna/LuaEngine.h:17,
    from /usr/src/zero/server/src/modules/Eluna/HookHelpers.h:10,
    from /usr/src/zero/server/src/modules/Eluna/GroupHooks.cpp:11:
    /usr/src/zero/server/src/shared/Database/Database.h: In constructor âDatabase::Database()â:
    /usr/src/zero/server/src/shared/Database/Database.h:822:16: warning: âDatabase::m_pingIntervallmsâ will be initialized after [-Wreorder]
    /usr/src/zero/server/src/shared/Database/Database.h:740:37: warning: âDatabase::DBTransHelperTSS* Database::m_TransStorageâ [-Wreorder]
    /usr/src/zero/server/src/shared/Database/Database.h:658:9: warning: when initialized here [-Wreorder]
    In file included from /usr/src/zero/server/src/modules/Eluna/LuaEngine.h:20:0,
    from /usr/src/zero/server/src/modules/Eluna/HookHelpers.h:10,
    from /usr/src/zero/server/src/modules/Eluna/GroupHooks.cpp:11:
    /usr/src/zero/server/src/game/WorldHandlers/World.h: At global scope:
    /usr/src/zero/server/src/game/WorldHandlers/World.h:415:9: error: âunordered_mapâ in namespace âstdâ does not name a type
    compilation terminated due to -Wfatal-errors.
    make[2]: *** [src/modules/Eluna/CMakeFiles/LuaEngine.dir/GroupHooks.cpp.o] Error 1
    make[1]: *** [src/modules/Eluna/CMakeFiles/LuaEngine.dir/all] Error 2
    make: *** [all] Error 2
    [/code]
    Looks like a typedef issue at first glance. I imagine Reaper already has a fix for it. I am cooking dinner and cannot dig into it yet.


    User Feedback

    Recommended Comments

    I don't do Skype. No 64bit Linux builds, and Microsoft switched it from the world-wide standard SIP protocol to something custom, so I cannot cross-chat with it with other clients. I'll re-clone and test now.

    Link to comment
    Share on other sites

    I fixed that last night:

    [URL]https://github.com/mangoszero/server/commit/423988884e37c5ca575b79d6ce8b789ad02c68ad[/URL]

    According to travis it should be ok now:

    [URL]https://travis-ci.org/mangoszero/server/builds[/URL]

    Link to comment
    Share on other sites



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use