Jump to content
TrinityCore

Recommended Posts

Confirm the problem on ubuntu and this works to me too https://github.com/f...7adab2a0fe4d22c

Erm, ok? One note here, since libmpq requires both the libbz2-library and zlib-library objects to already exist before it will do anything...

The entire linking is controlled by the sequence given in the original file, meaning libmpq will be linked in AFTER the other two has been compiled/linked in, and thus allowing for libMPQ itself to find the requested functions.

Why this alledgedly happens for you beats me, but for the sake of it, post the parameters you use for make during compilation (that means -j flags and whatnot). I can't see the reason for moving libMPQ -up- in the chain, it kind of counters the entire link-sequence. Unless they changed CMake somewhere and never posted it in their changelogs... :P

(Also, supply the entire cmake-configuration phase output so I can see where CMake actually grabs the headers from - it might be that it finds something you've installed locally, ie. not systemwide).

Link to comment
Share on other sites

-- The C compiler identification is GNU

-- The CXX compiler identification is GNU

-- Check for working C compiler: /usr/bin/gcc

-- Check for working C compiler: /usr/bin/gcc -- works

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Check for working CXX compiler: /usr/bin/c++

-- Check for working CXX compiler: /usr/bin/c++ -- works

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Detected 64-bit platform

-- UNIX: Using default configuration directory

-- UNIX: Using default library directory

-- UNIX: Configuring uninstall target

-- UNIX: Created uninstall target

-- GCC: All warnings disabled

-- Found ACE library: /usr/lib/libACE.so

-- Found ACE headers: /usr/include

-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so

-- Using mysql-config: /usr/bin/mysql_config

-- Found MySQL library: /usr/lib/libmysqlclient_r.so

-- Found MySQL headers: /usr/include/mysql

-- Found Readline library: /usr/lib/libreadline.so

-- Include dir is: /usr/include

-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.3.4")

-- Found BZip2: /usr/lib/libbz2.so

-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so

-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so - found

* TrinityCore rev. hash  : 231b849ac4b2

* TrinityCore rev. date  : 2012-02-11 11:05:37 -0500

* TrinityCore buildtype  : Release

* Install core to		: /home/user/server

* Install libraries to   : /home/user/server/lib

* Install configs to	 : /home/user/server/etc

* Build world/auth	   : Yes (default)

* Build with scripts	 : Yes (default)

* Build map/vmap tools   : Yes

* Build core w/PCH	   : Yes (default)

* Build scripts w/PCH	: Yes (default)

* Use SFMT for RNG	   : No  (default)

* Show compile-warnings  : No  (default)

* Use coreside debug	 : No  (default)

-- SCRIPT PREPARATIONS

  -> Prepared: Spells

  -> Prepared: Commands

  -> Prepared: Examples

  -> Prepared: Custom

  -> Prepared: World

  -> Prepared: Outdoor PVP Zones

  -> Prepared: Eastern Kingdoms

  -> Prepared: Kalimdor

  -> Prepared: Outland

  -> Prepared: Northrend

-- SCRIPT PREPARATION COMPLETE

-- Configuring done

-- Generating done

-- Build files have been written to: /home/user/build

Link to comment
Share on other sites

Hi, I have a problem ... during compilation i´ve got this error ... please how fix it ? Thank you.

In file included from /home/mino/wow/tc/TrinityCore/src/server/game/Maps/MapManager.h:26,

                 from /home/mino/wow/tc/TrinityCore/src/server/game/PrecompiledHeaders/gamePCH.h:7,

                 from /home/mino/wow/tc/TrinityCore/src/server/game/game_pch_dephelp.cxx:1:

/home/mino/wow/tc/TrinityCore/src/server/game/Maps/Map.h:169: error: declaration of ‘uint16 GridMap::_liquidType’

/home/mino/wow/tc/TrinityCore/src/server/game/Maps/Map.h:166: error: conflicts with previous declaration ‘uint8* GridMap::_liquidType’

In file included from /home/mino/wow/tc/TrinityCore/src/server/game/Entities/Unit/Unit.h:33,

                 from /home/mino/wow/tc/TrinityCore/src/server/game/Entities/Pet/Pet.h:23,

                 from /home/mino/wow/tc/TrinityCore/src/server/game/Entities/Player/Player.h:33,

                 from /home/mino/wow/tc/TrinityCore/src/server/game/Globals/ObjectAccessor.h:31,

                 from /home/mino/wow/tc/TrinityCore/src/server/game/PrecompiledHeaders/gamePCH.h:9,

                 from /home/mino/wow/tc/TrinityCore/src/server/game/game_pch_dephelp.cxx:1:

/home/mino/wow/tc/TrinityCore/src/server/game/Movement/MotionMaster.h:85: error: ‘_Ty’ was not declared in this scope

/home/mino/wow/tc/TrinityCore/src/server/game/Movement/MotionMaster.h:85: error: template argument 1 is invalid

/home/mino/wow/tc/TrinityCore/src/server/game/Movement/MotionMaster.h:85: error: template argument 2 is invalid

/home/mino/wow/tc/TrinityCore/src/server/game/Movement/MotionMaster.h:88: error: ‘_Ty’ has not been declared

/home/mino/wow/tc/TrinityCore/src/server/game/Movement/MotionMaster.h:109: error: ‘_Ty’ does not name a type

/home/mino/wow/tc/TrinityCore/src/server/game/Movement/MotionMaster.h:110: error: ‘_Ty’ does not name a type

/home/mino/wow/tc/TrinityCore/src/server/game/Movement/MotionMaster.h:112: error: ‘_Ty’ has not been declared

/home/mino/wow/tc/TrinityCore/src/server/game/Movement/MotionMaster.h:113: error: ‘_Ty’ has not been declared

/home/mino/wow/tc/TrinityCore/src/server/game/Movement/MotionMaster.h: In member function ‘void MotionMaster::push(int)’:

/home/mino/wow/tc/TrinityCore/src/server/game/Movement/MotionMaster.h:88: error: invalid conversion from ‘int’ to ‘MovementGenerator*’

make[2]: *** [src/server/game/CMakeFiles/game_pch_dephelp.dir/game_pch_dephelp.cxx.o] Error 1

make[1]: *** [src/server/game/CMakeFiles/game_pch_dephelp.dir/all] Error 2

make: *** [all] Error 2

Link to comment
Share on other sites

  • 2 weeks later...

4>------ Build started: Project: worldserver, Configuration: Release Win32 ------

4>Build started 2/23/2012 4:41:59 PM.

4>InitializeBuildStatus:

4> Touching "worldserver.dir\Release\worldserver.unsuccessfulbuild".

4>CustomBuild:

4> All outputs are up-to-date.

4>ClCompile:

4> All outputs are up-to-date.

4> All outputs are up-to-date.

4>ResourceCompile:

4> All outputs are up-to-date.

4>Link:

4> Creating library C:/Users/N A T U R A L/Desktop/Build/src/server/worldserver/Release/worldserver.lib and object C:/Users/N A T U R A L/Desktop/Build/src/server/worldserver/Release/worldserver.exp

4>game.lib(ScriptLoader.obj) : error LNK2019: unresolved external symbol "void __cdecl AddSC_npc_beastmaster(void)" ([email protected]@YAXXZ) referenced in function "void __cdecl AddCustomScripts(void)" ([email protected]@YAXXZ)

4>game.lib(ScriptLoader.obj) : error LNK2019: unresolved external symbol "void __cdecl AddSC_npc_keep_out(void)" ([email protected]@YAXXZ) referenced in function "void __cdecl AddCustomScripts(void)" ([email protected]@YAXXZ)

4>game.lib(ScriptLoader.obj) : error LNK2019: unresolved external symbol "void __cdecl AddSC_world_chat(void)" ([email protected]@YAXXZ) referenced in function "void __cdecl AddCustomScripts(void)" ([email protected]@YAXXZ)

4>C:\Users\N A T U R A L\Desktop\Build\bin\Release\worldserver.exe : fatal error LNK1120: 3 unresolved externals

4>

4>Build FAILED.

Link to comment
Share on other sites

Hi Team, i found an Error in your rSource-Code, here it goes:

[ 15%] Building CXX object src/server/game/CMakeFiles/game.dir/Calendar/CalendarMgr.cpp.o

In file included from /home/wow_trinity/TrinityCore/src/server/game/Calendar/CalendarMgr.h:22,

from /home/wow_trinity/TrinityCore/src/server/game/Calendar/CalendarMgr.cpp:49:

/home/wow_trinity/TrinityCore/src/server/game/Calendar/Calendar.h: In constructor 'CalendarAction::CalendarAction()':

/home/wow_trinity/TrinityCore/src/server/game/Calendar/Calendar.h:219: error: class 'CalendarAction' does not have any field named '_guid'

compilation terminated due to -Wfatal-errors.

make[2]: *** [src/server/game/CMakeFiles/game.dir/Calendar/CalendarMgr.cpp.o] Error 1

make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2

make: *** [all] Error 2

[email protected]***************:~/TrinityCore$ git pull

Already up-to-date.

[email protected]***************:~/TrinityCore$

Compiled with (Folders existing):

cmake ../TrinityCore/ -DSERVERS=1 -DSCRIPTS=1 -DTOOLS=1 -DWITH_WARNINGS=1 -DPREFIX=/home/wow_trinity/0_auth -DCONF_DIR=/home/wow_trinity/0_auth/conf -DLIBSDIR=/home/wow_trinity/0_auth/libs

System Debian Squeeze 64bit (vServer) -> All Depencies installed

Edited by Izze
Link to comment
Share on other sites

Greetings community, Im wondering if there is a way so that, when I clone the trinity source, I can do it from an specific date or commit number, for.example. Clone the source updated up to Jan-31, (It's February now) so that i can avoid certain recent updates that have been breaking important stuff in the game.

Thanks in advance.

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

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.


  • Similar Content

    • By xgamerninjax
      Hello all, first time posting here and it's really got me scratching my head.
      I've compiled everything on my own computer, and then transferred everything to a host computer so the server can stay live. The server was running fine for a month or so and then suddenly it just crashes when it hits "Loading C++ scripts", exiting saying "caught signal 22"
      I tried setting up the host computer from scratch and transferred everything over fresh and it's still happening for some reason. (Note, I can run the server perfectly on my personal pc where I compiled it.)
      Any help would be greatly appreciated, thanks!
      3d7e3a40e2b3+_worldserver.exe_[1-4_15-19-45].dmp 3d7e3a40e2b3+_worldserver.exe_[1-4_15-19-45].txt
    • 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.
×
×
  • Create New...