Jump to content

Compile or cmake problems


Recommended Posts

  • Replies 2.9k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Hello all,

i have the following error when compiling TC on Linux by the step "make"

# /home/wowserver/trinitycore/dep/jemalloc/src/huge.c: In function 'huge_ralloc':

# /home/wowserver/trinitycore/dep/jemalloc/src/huge.c:235: error: 'MREMAP_FIXED' undeclared (first use in this function)

# /home/wowserver/trinitycore/dep/jemalloc/src/huge.c:235: error: (Each undeclared identifier is reported only once

# /home/wowserver/trinitycore/dep/jemalloc/src/huge.c:235: error: for each function it appears in.)

# /home/wowserver/trinitycore/dep/jemalloc/src/huge.c:236: error: too many arguments to function 'mremap'

# make[2]: *** [dep/jemalloc/CMakeFiles/jemalloc.dir/src/huge.c.o] Error 1

# make[1]: *** [dep/jemalloc/CMakeFiles/jemalloc.dir/all] Error 2

# make: *** [all] Error 2

What can i do to correct this error?



Edited by excitus
Link to comment
Share on other sites

--- Canned message start ---

I would love to be able to just say: "Look in upper right hand corner of the forum, there is a button labeled SEARCH, please use it", but I don't think that will be enough therefore I present to you:


Please read it cover to cover, and don't bother posting again until you do!

--- Canned message end ---

Link to comment
Share on other sites

Rev. https://github.com/TrinityCore/TrinityCore/commit/de56044b13d76b0461b820f12918029fa6d86015

When I try to compile on my dedicated get this error.

Is the dedicated x32 and x64.


I have:

Visual Studio 10 Ultimate

Microsoft Visual C++ 2010 Redistributable Package



MySQL 5.x

OpenSSL 1.0.0c

Edit: In my personal computer also happens to me, and always there to run.

Thanks for your attention

Edited by Fantasy
Link to comment
Share on other sites

  • Aokromes changed the title to Compile or cmake problems
  • Aokromes locked this topic
  • Carbenium unlocked this topic
  • Aokromes pinned and locked this topic
  • Aokromes featured and featured this topic
  • Aokromes pinned this topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...