Jump to content
TrinityCore

Recommended Posts

I try to compile the code using

make -j 2

and i get an error around 12-13%

/home/Paul/TrinityCore/src/server/shared/Database/MySQLConnection.cpp: In member function ‘bool MySQLConnection::_HandleMySQLErrno(uint32)’:

/home/Paul/TrinityCore/src/server/shared/Database/MySQLConnection.cpp:521:13: error: ‘sleep’ is not a member of ‘ACE_OS’

make[2]: *** [src/server/shared/CMakeFiles/shared.dir/Database/MySQLConnection.cpp.o] Error 1

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

make[1]: *** Waiting for unfinished jobs....

/home/Paul/TrinityCore/src/server/shared/Database/MySQLConnection.cpp: In member function ‘bool MySQLConnection::_HandleMySQLErrno(uint32)’:

/home/Paul/TrinityCore/src/server/shared/Database/MySQLConnection.cpp:521:13: error: ‘sleep’ is not a member of ‘ACE_OS’

make[2]: *** [src/server/shared/CMakeFiles/shared.dir/Database/MySQLConnection.cpp.o] Error 1

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

make[1]: *** Waiting for unfinished jobs....

/home/Paul/TrinityCore/src/server/shared/Database/MySQLConnection.cpp: In member function ‘bool MySQLConnection::_HandleMySQLErrno(uint32)’:

/home/Paul/TrinityCore/src/server/shared/Database/MySQLConnection.cpp:521:13: error: ‘sleep’ is not a member of ‘ACE_OS’

make[2]: *** [src/server/shared/CMakeFiles/shared.dir/Database/MySQLConnection.cpp.o] Error 1

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

make[1]: *** Waiting for unfinished jobs....

/home/Paul/TrinityCore/src/server/shared/Database/MySQLConnection.cpp: In member function ‘bool MySQLConnection::_HandleMySQLErrno(uint32)’:

/home/Paul/TrinityCore/src/server/shared/Database/MySQLConnection.cpp:521:13: error: ‘sleep’ is not a member of ‘ACE_OS’

make[2]: *** [src/server/shared/CMakeFiles/shared.dir/Database/MySQLConnection.cpp.o] Error 1

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

make[1]: *** Waiting for unfinished jobs....

any input on the reason of this error, I been following the Linux Howto guide on the TrinityCore wikki

Link to comment
Share on other sites

I also get this error then the compile closes

/home/Paul/TrinityCore/src/server/shared/Database/MySQLConnection.cpp: In member function ‘bool MySQLConnection::_HandleMySQLErrno(uint32)’:

/home/Paul/TrinityCore/src/server/shared/Database/MySQLConnection.cpp:521:13: error: ‘sleep’ is not a member of ‘ACE_OS’

make[2]: *** [src/server/shared/CMakeFiles/shared.dir/Database/MySQLConnection.cpp.o] Error 1

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

make[1]: *** Waiting for unfinished jobs....

[ 32%] Built target game

make: *** [all] Error 2

[email protected]:~/TrinityCore/build>

Link to comment
Share on other sites

Could you be a bit more vague, i can almost tell what version of ACE libs Mysql and such you are using, and, knowing that info will keep me from being able to help you at all. Also, if you were to post the hash revision of the core or the DB revision, etc. the mods might just have to lock this topic!

Link to comment
Share on other sites

Hello i have a issue with my core, i updated my core and upated my sql db with the updates and i tried to compile in c++ 64 and 32 bits i get ========== Build: 17 succeeded, 2 failed, 0 up-to-date, 0 skipped========== Never had this issue before, please help :)

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:

searchbuttonfordummieslsq1.jpg

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

--- Canned message end ---

  • Upvote 1
Link to comment
Share on other sites

Complete!

[email protected] [/wow/build]# make

[ 2%] Built target jemalloc

[ 7%] Built target g3dlib

[ 8%] Built target gsoap

[ 8%] Built target revision.h

[ 9%] Built target shared_pch_dephelp

[ 9%] Built target pch_Generate_shared

[ 11%] Built target shared

[ 11%] Built target game_pch_dephelp

[ 12%] Built target pch_Generate_game

[ 12%] Building CXX object src/server/game/CMakeFiles/game.dir/Accounts/AccountMgr.cpp.o

<command line>:1: fatal error: had to relocate PCH

compilation terminated.

Preprocessed source stored into /tmp/ccKats7p.out file, please attach this to your bugreport.

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

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

make: *** [all] Error 2

ive set this up before but for some reason this time it wont work.

Link to comment
Share on other sites

Hello,

First, sorry for my bad english...^^

I've a problem during compilation :

[ 55%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/EasternKingdoms/duskwood.cpp.o

/home/trinity/TrinityCore/src/server/game/Spells/Spell.cpp: In member function âvoid Spell::SelectSpellTargets()â:

/home/trinity/TrinityCore/src/server/game/Spells/Spell.cpp:770: error: âSPELL_ATTR0_UNK18â was not declared in this scope

[ 56%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/EasternKingdoms/ScarletMonastery/boss_azshir_the_sleepless.cpp.o

/home/trinity/TrinityCore/src/server/game/Spells/Spell.cpp: In member function âSpellCastResult Spell::CheckCast(bool)â:

/home/trinity/TrinityCore/src/server/game/Spells/Spell.cpp:4875: error: âSPELL_ATTR0_UNK18â was not declared in this scope

[ 56%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/EasternKingdoms/ScarletMonastery/boss_mograine_and_whitemane.cpp.o

make[2]: *** [src/server/game/CMakeFiles/game.dir/Spells/Spell.cpp.o] Erreur 1

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

make[1]: *** Attente des tâches non terminées....
And others errors :
[ 99%] Built target scripts

make: *** [all] Erreur 2

[  2%] Built target jemalloc

[  7%] Built target g3dlib

[  8%] Built target gsoap

[  8%] Built target revision.h

[  9%] Built target shared_pch_dephelp

[  9%] Built target pch_Generate_shared

[ 11%] Built target shared

[ 11%] Built target game_pch_dephelp

[ 12%] Built target pch_Generate_game

[ 12%] Building CXX object src/server/game/CMakeFiles/game.dir/Spells/Spell.cpp.o

/home/trinity/TrinityCore/src/server/game/Spells/Spell.cpp: In member function âvoid Spell::SelectSpellTargets()â:

/home/trinity/TrinityCore/src/server/game/Spells/Spell.cpp:770: error: âSPELL_ATTR0_UNK18â was not declared in this scope

/home/trinity/TrinityCore/src/server/game/Spells/Spell.cpp: In member function âSpellCastResult Spell::CheckCast(bool)â:

/home/trinity/TrinityCore/src/server/game/Spells/Spell.cpp:4875: error: âSPELL_ATTR0_UNK18â was not declared in this scope

make[2]: *** [src/server/game/CMakeFiles/game.dir/Spells/Spell.cpp.o] Erreur 1

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

make: *** [all] Erreur 2

[email protected]:~$

I don't understand, i've already do a server without error, 2 days ago,

Today i've done the Debian updates with apt-get upgrade, and there wasn't any packet to remove... Only updates.

Any idea ?

Thanks in advance,

Link to comment
Share on other sites

  • 3 weeks later...

Greetings,

I am not new here, at trinity forums, but this problem has occured me and i cant solve it...

I am having a Windows Web Server 2008 R2 64bit.

I installed Microsoft C++ 2010, and OpenSSL 32bit and 64bit, and all packages from microsoft...

So i get newest revision from Trinity GitHub, i go to CMake, choose where i have put it, and put a Bulid Directory...

I choose option Visual Studio 10 ( Not 64x, because there are errors, when you are doing 64x)

When i press Configure, i get this... Can anyone help me?

Thanks in advance....

Error:

Check for working C compiler using: Visual Studio 10

Check for working C compiler using: Visual Studio 10 -- broken

CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):

  The C compiler "cl" is not able to compile a simple test program.


  It fails with the following output:


   Change Dir: C:/World of Warcraft Server/Emulator & Database/TrinityBulid/CMakeFiles/CMakeTmp




  Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\VCExpress.exe

  CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec




  Microsoft (R) Visual C++ 2010 Express Version 10.0.30319.1.


  Copyright (C) Microsoft Corp.  All rights reserved.




  Unable to read the project file "ALL_BUILD.vcxproj".


  C:\World of Warcraft Server\Emulator &

  Database\TrinityBulid\CMakeFiles\CMakeTmp\ALL_BUILD.vcxproj(113,121): The

  project file could not be loaded.  An error occurred while parsing

  EntityName.  Line 113, position 121.


  Unable to read the project file "cmTryCompileExec.vcxproj".


  C:\World of Warcraft Server\Emulator &

  Database\TrinityBulid\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj(58,111):

  The project file could not be loaded.  An error occurred while parsing

  EntityName.  Line 58, position 111.


  Invalid project




  Use:


  vcexpress [solutionfile | projectfile | anyfile.ext] [switches]




  The first argument for vcexpress is usually a solution file or project

  file.


  You can also use any other file as the first argument if you want to have

  the


  file open automatically in an editor.  When you enter a project file, the

  IDE


  looks for an .sln file with the same base name as the project file in the


  parent directory for the project file.  If no such .sln file exists, then

  the


  IDE looks for a single .sln file that references the project.  If no such

  single


  .sln file exists, then the IDE creates an unsaved solution with a default

  .sln


  file name that has the same base name as the project file.




  Command line builds:


  vcexpress solutionfile.sln /build [ solutionconfig ] [ /project

  projectnameorfile [ /projectconfig name ] ]


  Available command line switches:




  /Log		Logs IDE activity to the specified file for troubleshooting.


  /ResetSettings	Restores the IDE's default settings, optionally resets to


  		the specified VSSettings file.


  /SafeMode	Launches the IDE in safe mode loading minimal windows.




  Product-specific switches:




  /debugexe	Open the specified executable to be debugged.  The


  	remainder of the command line is passed to this


  		executable as its arguments.


  /useenv		Use PATH, INCLUDE, LIBPATH, and LIB environment variables


  		instead of IDE paths for VC++ builds.




  To attach the debugger from the command line, use:


  	VsJITDebugger.exe -p <pid>






  CMake will not be able to correctly generate this project.

Call Stack (most recent call first):

  CMakeLists.txt:12 (project)



Configuring incomplete, errors occurred!

Kind Regards

Squeezee

Edited by Squeezee
Link to comment
Share on other sites

  • 2 weeks later...

this is the error

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

4>C:\Users\User\Desktop\build\bin\Release\worldserver.exe : fatal error LNK1120: 1 unresolved externals

5>------ Build started: Project: ALL_BUILD, Configuration: Release Win32 ------

5>  Build all projects

6>------ Skipped Build: Project: INSTALL, Configuration: Release Win32 ------

6>Project not selected to build for this solution configuration

========== Build: 4 succeeded, 1 failed, 9 up-to-date, 1 skipped ==========

How can i fix it ? :X

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