Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
- Compiler: /usr/bin/cc
- Build flags:
- Id flags:
- The output was:
- 1
- CMakeCCompilerId.c:183:10: error: macro names must be identifiers
- # define /home/root/serverCOMPILER_VERSION_MAJOR DEC(__GNUC__)
- ^
- CMakeCCompilerId.c:184:10: error: macro names must be identifiers
- # define /home/root/serverCOMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
- ^
- CMakeCCompilerId.c:186:11: error: macro names must be identifiers
- # define /home/root/serverCOMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
- ^
- Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
- Compiler: /usr/bin/cc
- Build flags:
- Id flags: -c
- The output was:
- 1
- CMakeCCompilerId.c:183:10: error: macro names must be identifiers
- # define /home/root/serverCOMPILER_VERSION_MAJOR DEC(__GNUC__)
- ^
- CMakeCCompilerId.c:184:10: error: macro names must be identifiers
- # define /home/root/serverCOMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
- ^
- CMakeCCompilerId.c:186:11: error: macro names must be identifiers
- # define /home/root/serverCOMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
- ^
- Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
- Compiler: /usr/bin/cc
- Build flags:
- Id flags: -Aa
- The output was:
- 1
- <command-line>:0:1: error: missing '(' after predicate
- CMakeCCompilerId.c:183:10: error: macro names must be identifiers
- # define /home/root/serverCOMPILER_VERSION_MAJOR DEC(__GNUC__)
- ^
- CMakeCCompilerId.c:184:10: error: macro names must be identifiers
- # define /home/root/serverCOMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
- ^
- CMakeCCompilerId.c:186:11: error: macro names must be identifiers
- # define /home/root/serverCOMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
- ^
- Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler":
- cc: fatal error: no input files
- compilation terminated.
- Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
- Compiler: /usr/bin/c++
- Build flags:
- Id flags:
- The output was:
- 1
- CMakeCXXCompilerId.cpp:185:10: error: macro names must be identifiers
- CMakeCXXCompilerId.cpp:186:10: error: macro names must be identifiers
- CMakeCXXCompilerId.cpp:188:11: error: macro names must be identifiers
- Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
- Compiler: /usr/bin/c++
- Build flags:
- Id flags: -c
- The output was:
- 1
- CMakeCXXCompilerId.cpp:185:10: error: macro names must be identifiers
- CMakeCXXCompilerId.cpp:186:10: error: macro names must be identifiers
- CMakeCXXCompilerId.cpp:188:11: error: macro names must be identifiers
- Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler":
- c++: fatal error: no input files
- compilation terminated.
- Determining if the pthread_create exist failed with the following output:
- Change Dir: /root/TrinityCore/build/CMakeFiles/CMakeTmp
- Run Build Command:"/usr/bin/make" "cmTryCompileExec3849492577/fast"
- /usr/bin/make -f CMakeFiles/cmTryCompileExec3849492577.dir/build.make CMakeFiles/cmTryCompileExec3849492577.dir/build
- make[1]: Entering directory `/root/TrinityCore/build/CMakeFiles/CMakeTmp'
- /usr/local/bin/cmake -E cmake_progress_report /root/TrinityCore/build/CMakeFiles/CMakeTmp/CMakeFiles 1
- Building C object CMakeFiles/cmTryCompileExec3849492577.dir/CheckSymbolExists.c.o
- /usr/bin/cc -o CMakeFiles/cmTryCompileExec3849492577.dir/CheckSymbolExists.c.o -c /root/TrinityCore/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
- Linking C executable cmTryCompileExec3849492577
- /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3849492577.dir/link.txt --verbose=1
- /usr/bin/cc CMakeFiles/cmTryCompileExec3849492577.dir/CheckSymbolExists.c.o -o cmTryCompileExec3849492577
- CMakeFiles/cmTryCompileExec3849492577.dir/CheckSymbolExists.c.o: In function `main':
- CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create'
- collect2: error: ld returned 1 exit status
- make[1]: Leaving directory `/root/TrinityCore/build/CMakeFiles/CMakeTmp'
- make[1]: *** [cmTryCompileExec3849492577] Error 1
- make: *** [cmTryCompileExec3849492577/fast] Error 2
- File /root/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: /root/TrinityCore/build/CMakeFiles/CMakeTmp
- Run Build Command:"/usr/bin/make" "cmTryCompileExec2475642370/fast"
- /usr/bin/make -f CMakeFiles/cmTryCompileExec2475642370.dir/build.make CMakeFiles/cmTryCompileExec2475642370.dir/build
- make[1]: Entering directory `/root/TrinityCore/build/CMakeFiles/CMakeTmp'
- /usr/local/bin/cmake -E cmake_progress_report /root/TrinityCore/build/CMakeFiles/CMakeTmp/CMakeFiles 1
- Building C object CMakeFiles/cmTryCompileExec2475642370.dir/CheckFunctionExists.c.o
- /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
- Linking C executable cmTryCompileExec2475642370
- /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2475642370.dir/link.txt --verbose=1
- /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec2475642370.dir/CheckFunctionExists.c.o -o cmTryCompileExec2475642370 -lpthreads
- /usr/bin/ld: cannot find -lpthreads
- collect2: error: ld returned 1 exit status
- make[1]: *** [cmTryCompileExec2475642370] Error 1
- make[1]: Leaving directory `/root/TrinityCore/build/CMakeFiles/CMakeTmp'
- make: *** [cmTryCompileExec2475642370/fast] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement