Jump to content
TrinityCore

Serniksernik

Plebs
  • Posts

    1
  • Joined

  • Last visited

Recent Profile Visitors

1176 profile views

Serniksernik's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello, i'm having problems with cmake ../ -DPREFIX=/home/`echo $USER`/server -DTOOLS=1 ( i followed this) http://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-emulator-servers/wow-emu-guides-tutorials/447028-how-compile-trinity-linux-ubuntu-pictures.html for first i had problem with finding ZMQ libraries i solved it by sudo apt-get install libzmq-dev after that i tried again cmake ../ -DPREFIX=/home/`echo $USER`/server -DTOOLS=1 not im getting this error and second log file Determining if the pthread_create exist failed with the following output: Change Dir: /home/TrinityCore/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec2986375289/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec2986375289.dir/build.make CMakeFiles/cmTryCompileExec2986375289.dir/build make[1]: Entering directory '/home/TrinityCore/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/TrinityCore/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2986375289.dir/CheckSymbolExists.c.o /usr/bin/cc -std=gnu99 -o CMakeFiles/cmTryCompileExec2986375289.dir/CheckSymbolExists.c.o -c /home/TrinityCore/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec2986375289 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2986375289.dir/link.txt --verbose=1 /usr/bin/cc -std=gnu99 CMakeFiles/cmTryCompileExec2986375289.dir/CheckSymbolExists.c.o -o cmTryCompileExec2986375289 -rdynamic CMakeFiles/cmTryCompileExec2986375289.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status CMakeFiles/cmTryCompileExec2986375289.dir/build.make:88: recipe for target 'cmTryCompileExec2986375289' failed make[1]: Leaving directory '/home/TrinityCore/build/CMakeFiles/CMakeTmp' make[1]: *** [cmTryCompileExec2986375289] Error 1 Makefile:114: recipe for target 'cmTryCompileExec2986375289/fast' failed make: *** [cmTryCompileExec2986375289/fast] Error 2 File /home/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/TrinityCore/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec1377397327/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec1377397327.dir/build.make CMakeFiles/cmTryCompileExec1377397327.dir/build make[1]: Entering directory '/home/TrinityCore/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/TrinityCore/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1377397327.dir/CheckFunctionExists.c.o /usr/bin/cc -std=gnu99 -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec1377397327.dir/CheckFunctionExists.c.o -c /usr/share/cmake-2.8/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec1377397327 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1377397327.dir/link.txt --verbose=1 /usr/bin/cc -std=gnu99 -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec1377397327.dir/CheckFunctionExists.c.o -o cmTryCompileExec1377397327 -rdynamic -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status CMakeFiles/cmTryCompileExec1377397327.dir/build.make:88: recipe for target 'cmTryCompileExec1377397327' failed make[1]: Leaving directory '/home/TrinityCore/build/CMakeFiles/CMakeTmp' make[1]: *** [cmTryCompileExec1377397327] Error 1 Makefile:114: recipe for target 'cmTryCompileExec1377397327/fast' failed make: *** [cmTryCompileExec1377397327/fast] Error 2 Performing C++ SOURCE FILE Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM failed with the following output: Change Dir: /home/TrinityCore/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec227087680/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec227087680.dir/build.make CMakeFiles/cmTryCompileExec227087680.dir/build make[1]: Entering directory '/home/TrinityCore/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/TrinityCore/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec227087680.dir/src.cxx.o /usr/bin/c++ -std=c++11 -Dboost_filesystem_copy_links_without_NO_SCOPED_ENUM -std=c++11 -o CMakeFiles/cmTryCompileExec227087680.dir/src.cxx.o -c /home/TrinityCore/build/CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTryCompileExec227087680 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec227087680.dir/link.txt --verbose=1 /usr/bin/c++ -std=c++11 -Dboost_filesystem_copy_links_without_NO_SCOPED_ENUM -std=c++11 CMakeFiles/cmTryCompileExec227087680.dir/src.cxx.o -o cmTryCompileExec227087680 -rdynamic CMakeFiles/cmTryCompileExec227087680.dir/src.cxx.o: In function `__static_initialization_and_destruction_0(int, int)': src.cxx:(.text+0xe4): undefined reference to `boost::system::generic_category()' src.cxx:(.text+0xf0): undefined reference to `boost::system::generic_category()' src.cxx:(.text+0xfc): undefined reference to `boost::system::system_category()' CMakeFiles/cmTryCompileExec227087680.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/cmTryCompileExec227087680.dir/build.make:88: recipe for target 'cmTryCompileExec227087680' failed make[1]: Leaving directory '/home/TrinityCore/build/CMakeFiles/CMakeTmp' make[1]: *** [cmTryCompileExec227087680] Error 1 Makefile:114: recipe for target 'cmTryCompileExec227087680/fast' failed make: *** [cmTryCompileExec227087680/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()); }
×
×
  • Create New...