Advertisement
Guest User

CMakeError.log

a guest
Dec 3rd, 2014
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.84 KB | None | 0 0
  1. Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
  2. Compiler: /usr/bin/cc
  3. Build flags:
  4. Id flags:
  5.  
  6. The output was:
  7. 1
  8. CMakeCCompilerId.c:183:10: error: macro names must be identifiers
  9. # define /home/root/serverCOMPILER_VERSION_MAJOR DEC(__GNUC__)
  10. ^
  11. CMakeCCompilerId.c:184:10: error: macro names must be identifiers
  12. # define /home/root/serverCOMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
  13. ^
  14. CMakeCCompilerId.c:186:11: error: macro names must be identifiers
  15. # define /home/root/serverCOMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
  16. ^
  17.  
  18.  
  19. Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
  20. Compiler: /usr/bin/cc
  21. Build flags:
  22. Id flags: -c
  23.  
  24. The output was:
  25. 1
  26. CMakeCCompilerId.c:183:10: error: macro names must be identifiers
  27. # define /home/root/serverCOMPILER_VERSION_MAJOR DEC(__GNUC__)
  28. ^
  29. CMakeCCompilerId.c:184:10: error: macro names must be identifiers
  30. # define /home/root/serverCOMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
  31. ^
  32. CMakeCCompilerId.c:186:11: error: macro names must be identifiers
  33. # define /home/root/serverCOMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
  34. ^
  35.  
  36.  
  37. Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
  38. Compiler: /usr/bin/cc
  39. Build flags:
  40. Id flags: -Aa
  41.  
  42. The output was:
  43. 1
  44. <command-line>:0:1: error: missing '(' after predicate
  45. CMakeCCompilerId.c:183:10: error: macro names must be identifiers
  46. # define /home/root/serverCOMPILER_VERSION_MAJOR DEC(__GNUC__)
  47. ^
  48. CMakeCCompilerId.c:184:10: error: macro names must be identifiers
  49. # define /home/root/serverCOMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
  50. ^
  51. CMakeCCompilerId.c:186:11: error: macro names must be identifiers
  52. # define /home/root/serverCOMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
  53. ^
  54.  
  55.  
  56. Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler":
  57. cc: fatal error: no input files
  58. compilation terminated.
  59. Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
  60. Compiler: /usr/bin/c++
  61. Build flags:
  62. Id flags:
  63.  
  64. The output was:
  65. 1
  66. CMakeCXXCompilerId.cpp:185:10: error: macro names must be identifiers
  67. CMakeCXXCompilerId.cpp:186:10: error: macro names must be identifiers
  68. CMakeCXXCompilerId.cpp:188:11: error: macro names must be identifiers
  69.  
  70.  
  71. Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
  72. Compiler: /usr/bin/c++
  73. Build flags:
  74. Id flags: -c
  75.  
  76. The output was:
  77. 1
  78. CMakeCXXCompilerId.cpp:185:10: error: macro names must be identifiers
  79. CMakeCXXCompilerId.cpp:186:10: error: macro names must be identifiers
  80. CMakeCXXCompilerId.cpp:188:11: error: macro names must be identifiers
  81.  
  82.  
  83. Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler":
  84. c++: fatal error: no input files
  85. compilation terminated.
  86. Determining if the pthread_create exist failed with the following output:
  87. Change Dir: /root/TrinityCore/build/CMakeFiles/CMakeTmp
  88.  
  89. Run Build Command:"/usr/bin/make" "cmTryCompileExec3849492577/fast"
  90. /usr/bin/make -f CMakeFiles/cmTryCompileExec3849492577.dir/build.make CMakeFiles/cmTryCompileExec3849492577.dir/build
  91. make[1]: Entering directory `/root/TrinityCore/build/CMakeFiles/CMakeTmp'
  92. /usr/local/bin/cmake -E cmake_progress_report /root/TrinityCore/build/CMakeFiles/CMakeTmp/CMakeFiles 1
  93. Building C object CMakeFiles/cmTryCompileExec3849492577.dir/CheckSymbolExists.c.o
  94. /usr/bin/cc -o CMakeFiles/cmTryCompileExec3849492577.dir/CheckSymbolExists.c.o -c /root/TrinityCore/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
  95. Linking C executable cmTryCompileExec3849492577
  96. /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3849492577.dir/link.txt --verbose=1
  97. /usr/bin/cc CMakeFiles/cmTryCompileExec3849492577.dir/CheckSymbolExists.c.o -o cmTryCompileExec3849492577
  98. CMakeFiles/cmTryCompileExec3849492577.dir/CheckSymbolExists.c.o: In function `main':
  99. CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create'
  100. collect2: error: ld returned 1 exit status
  101. make[1]: Leaving directory `/root/TrinityCore/build/CMakeFiles/CMakeTmp'
  102. make[1]: *** [cmTryCompileExec3849492577] Error 1
  103. make: *** [cmTryCompileExec3849492577/fast] Error 2
  104.  
  105. File /root/TrinityCore/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
  106. /* */
  107. #include <pthread.h>
  108.  
  109. int main(int argc, char** argv)
  110. {
  111. (void)argv;
  112. #ifndef pthread_create
  113. return ((int*)(&pthread_create))[argc];
  114. #else
  115. (void)argc;
  116. return 0;
  117. #endif
  118. }
  119.  
  120. Determining if the function pthread_create exists in the pthreads failed with the following output:
  121. Change Dir: /root/TrinityCore/build/CMakeFiles/CMakeTmp
  122.  
  123. Run Build Command:"/usr/bin/make" "cmTryCompileExec2475642370/fast"
  124. /usr/bin/make -f CMakeFiles/cmTryCompileExec2475642370.dir/build.make CMakeFiles/cmTryCompileExec2475642370.dir/build
  125. make[1]: Entering directory `/root/TrinityCore/build/CMakeFiles/CMakeTmp'
  126. /usr/local/bin/cmake -E cmake_progress_report /root/TrinityCore/build/CMakeFiles/CMakeTmp/CMakeFiles 1
  127. Building C object CMakeFiles/cmTryCompileExec2475642370.dir/CheckFunctionExists.c.o
  128. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec2475642370.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-3.1/Modules/CheckFunctionExists.c
  129. Linking C executable cmTryCompileExec2475642370
  130. /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2475642370.dir/link.txt --verbose=1
  131. /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec2475642370.dir/CheckFunctionExists.c.o -o cmTryCompileExec2475642370 -lpthreads
  132. /usr/bin/ld: cannot find -lpthreads
  133. collect2: error: ld returned 1 exit status
  134. make[1]: *** [cmTryCompileExec2475642370] Error 1
  135. make[1]: Leaving directory `/root/TrinityCore/build/CMakeFiles/CMakeTmp'
  136. make: *** [cmTryCompileExec2475642370/fast] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement