Jump to content
TrinityCore

Recommended Posts

--- Canned message start

It appears the issue in the original post was solved, so this thread shall be closed. Should you encounter any other difficulties, please open a new thread.

--- Canned message end ---

Share this post


Link to post
Share on other sites

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?

MfG

excitus

Edited by excitus

Share this post


Link to post
Share on other sites

Hm i remeber this error

How about to use forum search befor posting ?

http://www.trinitycore.org/f/index.php?/topic/193-compile-error/page__p__1257__hl__mremap_fixed__fromsearch__1#entry1257

Share this post


Link to post
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:

searchbuttonfordummieslsq1.jpg

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

--- Canned message end ---

Share this post


Link to post
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.

errorcompilar.png

I have:

Visual Studio 10 Ultimate

Microsoft Visual C++ 2010 Redistributable Package

Cmake

GitExtensions

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

Share this post


Link to post
Share on other sites

why you dont compile at VS 2008 or 2010 ? dont use cmake lol

omg you dedicaded is a windows server lol put linux pls

To compile on c++ will first need to have the solution, not you and gives error when removing Cmake solution.

Please a bit of human intelligence.

Share this post


Link to post
Share on other sites

Try it with previous versions.

The latest versions do not work on the solution.

Yes, right with this I work: https://github.com/TrinityCore/TrinityCore/zipball/stable

But I would always use the latest version.

Anyway thanks for your attention.

Share this post


Link to post
Share on other sites

Yes, right with this I work: https://github.com/TrinityCore/TrinityCore/zipball/stable

But I would always use the latest version.

Anyway thanks for your attention.

That is already developing trinitycore problem.

Be fixed, when they learn of the failure.

Share this post


Link to post
Share on other sites

same error here.. running win 7 x64 visual 2010 all things up to date.. 1st time i try to compile after trinity devs changed to Git.. :) hope you guys get this fixed soon .. thank you

Share this post


Link to post
Share on other sites

Compile Error

========== Generar: 14 correctos, 1 incorrectos, 0 actualizados, 1 omitidos ==========

Error	1	error MSB6006: "cmd.exe" salió con el código 1.	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets	151	6	revision.h

Share this post


Link to post
Share on other sites

hello

same problem here

win7/x64

but i will try re-install everything not using the last revison.. hope it works... then i think after everything will be fixed just update this

Share this post


Link to post
Share on other sites

Start by fixing your git setup.

http://www.trinitycore.org/f/index.php?/topic/345-howto-properly-install-git-on-windows/

  • Upvote 1

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
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.

  • Similar Content

    • By Deer_Hunter
      Hello all,
      I just updated from the latest Git 
      Trinity Core REV. ac6baa547376 + 2020-02-21  3.3.5 Branch.
      I'm getting this error after crash.
      Problem signature:
        Problem Event Name:    APPCRASH
        Application Name:    worldserver.exe
        Application Version:    0.0.0.0
        Application Timestamp:    5e50a462
        Fault Module Name:    StackHash_f12f
        Fault Module Version:    6.3.9600.19629
        Fault Module Timestamp:    5e2fdc0d
        Exception Code:    c0000374
        Exception Offset:    PCH_9E_FROM_ntdll+0x0000000000090D0A
        OS Version:    6.3.9600.2.0.0.272.7
        Locale ID:    1033
        Additional Information 1:    f12f
        Additional Information 2:    f12f0934d3e965f73c68e60f20f2cd40
        Additional Information 3:    7595
        Additional Information 4:    7595e4d8d703db9dcd3d2f6ea540e357
      the exception code says its a Heap error,  I'm not sure how to troubleshoot this.
      Thanks
    • By 939h
      Hi,

      The chat channel Lookup for group is not available when a player isn't in a city. I tried to modify the worldserver.conf file with:
      #
      #    Channel.RestrictedLfg
      #        Description: Restrict LookupForGroup channel to characters registered in the LFG tool.
      #        Default:     1 - (Enabled, Allow join to channel only if registered in LFG)
      #                     0 - (Disabled, Allow join to channel in any time)
      Channel.RestrictedLfg = 0

      I restarted the server but it didn't help.

      Thanks
    • By meeek
      Hey, I've been trying to compile from github the core from 6.2.3/6.2.4, I'm well aware its stopped developing. I cannot get it to configure properly in CMake, nor can I obviously build it.
       
      I'd be willing to pay for help and get this working and running. I want to develop my own server on my freetime as a learning project and for entertainment. I can't find any core for WoD, sadly.. Very hard, would appreciate any quick help
       
    • By Probie_Wan_Kenobi
      I believe everything I have done up to this point has been correct. When I go to launch worldserver.exe a console window opens up for a second and closes right away and nothing else seems to have happened. I skipped a head a little in the instructions to see what is left and step 5 seems skippable since I am running this only for this computer and step 6 has me launch to a log in screen which I can not get to. I tried going to the faq but the page was not loading properly so I am forced to post here.
    • By Wark
      I'd just like to get a little insight to why so much of the current Trinitycore code doesn't match up to a few years ago.
      Now I know I'm not a pro at coding on Trinitycore and I understand that the core is open sourced but these just seem so significant and doesn't seem right to remove this stuff.
       
      Let me give an example. Lets say I'm watching this tutorial to get a little information about classes and methods that I can use when making a script. (I've also been using the Trinitycore Code Documentation as reference as well but it also seems to show the same issues)
      Although the tutorial is a little out of date, I don't see why OnGossipSelect doesn't exist anywhere in CreatureScript and that when I try to link the script to the core code it spits out this error.
      object of abstract class type "GossipTeleporter" is not allowed:
      pure virtual function "CreatureScript::GetAI" has no overrider
      The DEFINES of "ADD_GOSSIP_ITEM" and many more don't exist either.
       
      Am I missing something? All I want to know is if the core is mean't to be this way and if not should I download an older version of the core before I put to much working into my current core.
      (I downloaded my core right from the Trinitycore website tutorial)
       
      I'm currently trying to write a simple gossipteleporter that will let you talk to an npc and teleport to the given location. It's very hard to do this when so many things just don't exist within my core.
       
      EXTRA: I pasted this into a new custom script just to see if I would get errors and I got a lot of different errors: http://pastebin.com/raw/G62e0t49
      This was obtained from here: http://www.ac-web.org/forums/showthread.php?129885-Request-Teleporter-NPC-for-TrinityCore
      By no means am I looking to copy the code from the two links above, I was using them as a test to see if my core accepted them.
       
      Thanks,
      Wark
×
×
  • Create New...