Jump to content
TrinityCore

mateosselma

Plebs
  • Posts

    6
  • Joined

  • Last visited

Posts posted by mateosselma

  1. First I want to apologize for using a translator, but my English is quite poor. 
     
    At Trinity Core compile gives me the following error: 
     
    /usr/bin/ld: no se puede encontrar -lpthreads
    collect2: error: ld returned 1 exit status
    make[1]: *** [cmTryCompileExec2085435913] Error 1
    make[1]: se sale del directorio «/TrinityCore/build/CMakeFiles/CMakeTmp»
    make: *** [cmTryCompileExec2085435913/fast] Error 2
     
    Under the archive CMakeError.log
     
    CMakeError.log
     

     

    Determining if the pthread_create exist failed with the following output:

    Change Dir: /TrinityCore/build/CMakeFiles/CMakeTmp
     
    Run Build Command:/usr/bin/make "cmTryCompileExec2531903625/fast"
    /usr/bin/make -f CMakeFiles/cmTryCompileExec2531903625.dir/build.make CMakeFiles/cmTryCompileExec2531903625.dir/build
    make[1]: se ingresa al directorio «/TrinityCore/build/CMakeFiles/CMakeTmp»
    /usr/bin/cmake -E cmake_progress_report /TrinityCore/build/CMakeFiles/CMakeTmp/CMakeFiles 1
    Building C object CMakeFiles/cmTryCompileExec2531903625.dir/CheckSymbolExists.c.o
    /usr/bin/cc   -std=gnu99 -msse2 -mfpmath=sse -W -Wall -Wextra -Winit-self -Winvalid-pch -Wfatal-errors    -o CMakeFiles/cmTryCompileExec2531903625.dir/CheckSymbolExists.c.o   -c /TrinityCore/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
    Linking C executable cmTryCompileExec2531903625
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2531903625.dir/link.txt --verbose=1
    /usr/bin/cc   -std=gnu99 -msse2 -mfpmath=sse -W -Wall -Wextra -Winit-self -Winvalid-pch -Wfatal-errors     CMakeFiles/cmTryCompileExec2531903625.dir/CheckSymbolExists.c.o  -o cmTryCompileExec2531903625 -rdynamic 
    CMakeFiles/cmTryCompileExec2531903625.dir/CheckSymbolExists.c.o: En la función `main':
    CheckSymbolExists.c:(.text+0xa): referencia a `pthread_create' sin definir
    collect2: error: ld returned 1 exit status
    make[1]: *** [cmTryCompileExec2531903625] Error 1
    make[1]: se sale del directorio «/TrinityCore/build/CMakeFiles/CMakeTmp»
    make: *** [cmTryCompileExec2531903625/fast] Error 2
     
    File /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: /TrinityCore/build/CMakeFiles/CMakeTmp
     
    Run Build Command:/usr/bin/make "cmTryCompileExec2085435913/fast"
    /usr/bin/make -f CMakeFiles/cmTryCompileExec2085435913.dir/build.make CMakeFiles/cmTryCompileExec2085435913.dir/build
    make[1]: se ingresa al directorio «/TrinityCore/build/CMakeFiles/CMakeTmp»
    /usr/bin/cmake -E cmake_progress_report /TrinityCore/build/CMakeFiles/CMakeTmp/CMakeFiles 1
    Building C object CMakeFiles/cmTryCompileExec2085435913.dir/CheckFunctionExists.c.o
    /usr/bin/cc   -std=gnu99 -msse2 -mfpmath=sse -W -Wall -Wextra -Winit-self -Winvalid-pch -Wfatal-errors -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTryCompileExec2085435913.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-2.8/Modules/CheckFunctionExists.c
    Linking C executable cmTryCompileExec2085435913
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2085435913.dir/link.txt --verbose=1
    /usr/bin/cc   -std=gnu99 -msse2 -mfpmath=sse -W -Wall -Wextra -Winit-self -Winvalid-pch -Wfatal-errors -DCHECK_FUNCTION_EXISTS=pthread_create    CMakeFiles/cmTryCompileExec2085435913.dir/CheckFunctionExists.c.o  -o cmTryCompileExec2085435913 -rdynamic -lpthreads 
    /usr/bin/ld: no se puede encontrar -lpthreads
    collect2: error: ld returned 1 exit status
    make[1]: *** [cmTryCompileExec2085435913] Error 1
    make[1]: se sale del directorio «/TrinityCore/build/CMakeFiles/CMakeTmp»
    make: *** [cmTryCompileExec2085435913/fast] Error 2
     

     

×
×
  • Create New...