Jump to content
TrinityCore

HolyNitzan

Plebs
  • Posts

    4
  • Joined

  • Last visited

Posts posted by HolyNitzan

  1. Hey Guys,

    I'm  using the last build of TrinityCore for WoD, currently using latest TDB release, I noticed that there are no spawns in Draenor, I would like to konw how could I solve it? is the TDB not populated with Draenor mobs/npc spawns?

  2. **EDIT**

    Recompiled and it runs, thanks :)

     

    Hey @Nay

    I received the following error

     

    Determining if the pthread_create exist failed with the following output:
    Change Dir: /home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp

    Run Build Command:"/usr/bin/make" "cmTryCompileExec611397089/fast"
    /usr/bin/make -f CMakeFiles/cmTryCompileExec611397089.dir/build.make CMakeFiles/cmTryCompileExec611397089.dir/build
    make[1]: Entering directory '/home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp'
    /usr/bin/cmake -E cmake_progress_report /home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp/CMakeFiles 1
    Building C object CMakeFiles/cmTryCompileExec611397089.dir/CheckSymbolExists.c.o
    /usr/bin/cc   -std=gnu99 -W -Wall -Wextra -Winit-self -Winvalid-pch -Wfatal-errors    -o CMakeFiles/cmTryCompileExec611397089.dir/CheckSymbolExists.c.o   -c /home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
    Linking C executable cmTryCompileExec611397089
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec611397089.dir/link.txt --verbose=1
    /usr/bin/cc   -std=gnu99 -W -Wall -Wextra -Winit-self -Winvalid-pch -Wfatal-errors     CMakeFiles/cmTryCompileExec611397089.dir/CheckSymbolExists.c.o  -o cmTryCompileExec611397089 -rdynamic 
    CMakeFiles/cmTryCompileExec611397089.dir/CheckSymbolExists.c.o: In function `main':
    CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create'
    collect2: error: ld returned 1 exit status
    CMakeFiles/cmTryCompileExec611397089.dir/build.make:88: recipe for target 'cmTryCompileExec611397089' failed
    make[1]: Leaving directory '/home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp'
    Makefile:118: recipe for target 'cmTryCompileExec611397089/fast' failed
    make[1]: *** [cmTryCompileExec611397089] Error 1
    make: *** [cmTryCompileExec611397089/fast] Error 2

    File /home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
    /* */
    #include <pthread.h>

    int main(int argc, char** argv)
    {
      (void)argv;
    #ifndef pthread_create
      return ((int*)(&pthread_create))[argc];
    #else
      (void)argc;
      return 0;
    #endif
    }

    Determining if the function pthread_create exists in the pthreads failed with the following output:
    Change Dir: /home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp

    Run Build Command:"/usr/bin/make" "cmTryCompileExec731348423/fast"
    /usr/bin/make -f CMakeFiles/cmTryCompileExec731348423.dir/build.make CMakeFiles/cmTryCompileExec731348423.dir/build
    make[1]: Entering directory '/home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp'
    /usr/bin/cmake -E cmake_progress_report /home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp/CMakeFiles 1
    Building C object CMakeFiles/cmTryCompileExec731348423.dir/CheckFunctionExists.c.o
    /usr/bin/cc   -std=gnu99 -W -Wall -Wextra -Winit-self -Winvalid-pch -Wfatal-errors -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTryCompileExec731348423.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.0/Modules/CheckFunctionExists.c
    Linking C executable cmTryCompileExec731348423
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec731348423.dir/link.txt --verbose=1
    /usr/bin/cc   -std=gnu99 -W -Wall -Wextra -Winit-self -Winvalid-pch -Wfatal-errors -DCHECK_FUNCTION_EXISTS=pthread_create    CMakeFiles/cmTryCompileExec731348423.dir/CheckFunctionExists.c.o  -o cmTryCompileExec731348423 -rdynamic -lpthreads 
    /usr/bin/ld: cannot find -lpthreads
    collect2: error: ld returned 1 exit status
    CMakeFiles/cmTryCompileExec731348423.dir/build.make:88: recipe for target 'cmTryCompileExec731348423' failed
    make[1]: Leaving directory '/home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp'
    Makefile:118: recipe for target 'cmTryCompileExec731348423/fast' failed
    make[1]: *** [cmTryCompileExec731348423] Error 1
    make: *** [cmTryCompileExec731348423/fast] Error 2


    Performing C++ SOURCE FILE Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM failed with the following output:
    Change Dir: /home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp

    Run Build Command:"/usr/bin/make" "cmTryCompileExec591387630/fast"
    /usr/bin/make -f CMakeFiles/cmTryCompileExec591387630.dir/build.make CMakeFiles/cmTryCompileExec591387630.dir/build
    make[1]: Entering directory '/home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp'
    /usr/bin/cmake -E cmake_progress_report /home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp/CMakeFiles 1
    Building CXX object CMakeFiles/cmTryCompileExec591387630.dir/src.cxx.o
    /usr/bin/c++    -std=c++11 -W -Wall -Wextra -Winit-self -Winvalid-pch -Wfatal-errors -Woverloaded-virtual -Dboost_filesystem_copy_links_without_NO_SCOPED_ENUM -std=c++11   -o CMakeFiles/cmTryCompileExec591387630.dir/src.cxx.o -c /home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp/src.cxx
    Linking CXX executable cmTryCompileExec591387630
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec591387630.dir/link.txt --verbose=1
    /usr/bin/c++    -std=c++11 -W -Wall -Wextra -Winit-self -Winvalid-pch -Wfatal-errors -Woverloaded-virtual -Dboost_filesystem_copy_links_without_NO_SCOPED_ENUM -std=c++11    CMakeFiles/cmTryCompileExec591387630.dir/src.cxx.o  -o cmTryCompileExec591387630 -rdynamic -lboost_system -lboost_filesystem -lboost_iostreams 
    CMakeFiles/cmTryCompileExec591387630.dir/src.cxx.o: In function `boost::filesystem::copy_file(boost::filesystem::path const&, boost::filesystem::path const&)':
    src.cxx:(.text._ZN5boost10filesystem9copy_fileERKNS0_4pathES3_[_ZN5boost10filesystem9copy_fileERKNS0_4pathES3_]+0x26): undefined reference to `boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::copy_option, boost::system::error_code*)'
    collect2: error: ld returned 1 exit status
    CMakeFiles/cmTryCompileExec591387630.dir/build.make:91: recipe for target 'cmTryCompileExec591387630' failed
    make[1]: Leaving directory '/home/nitzan/TrinityCore/build/CMakeFiles/CMakeTmp'
    Makefile:118: recipe for target 'cmTryCompileExec591387630/fast' failed
    make[1]: *** [cmTryCompileExec591387630] Error 1
    make: *** [cmTryCompileExec591387630/fast] Error 2

    Source file was:

      #include <boost/filesystem/path.hpp>
      #include <boost/filesystem/operations.hpp>
      int main() { boost::filesystem::copy_file(boost::filesystem::path(), boost::filesystem::path()); }
     

     

    What could be wrong here?

  3. Hey Guys,

    I want to explore the 6.x server.

    As for now according to the wiki I understand that 6.x follows the latest patch available

    I wonder how can I open a WoD server using the 6.x?

    Should I use an earlier branch?

    I tried to compile 363731a but I kept gettings errors

    What is the right way to get a working WoD server for linux?

     

    Thanks, Nitzan

    • Upvote 1
×
×
  • Create New...