Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Determining if the pthread_create exist failed with the following output:
- Change Dir: /home/osmc/hyperion/build/CMakeFiles/CMakeTmp
- Run Build Command:"/usr/bin/make" "cmTryCompileExec2699633270/fast"
- /usr/bin/make -f CMakeFiles/cmTryCompileExec2699633270.dir/build.make CMakeFiles/cmTryCompileExec2699633270.dir/build
- make[1]: Entering directory '/home/osmc/hyperion/build/CMakeFiles/CMakeTmp'
- /usr/bin/cmake -E cmake_progress_report /home/osmc/hyperion/build/CMakeFiles/CMakeTmp/CMakeFiles 1
- Building C object CMakeFiles/cmTryCompileExec2699633270.dir/CheckSymbolExists.c.o
- /usr/bin/cc -o CMakeFiles/cmTryCompileExec2699633270.dir/CheckSymbolExists.c.o -c /home/osmc/hyperion/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
- Linking C executable cmTryCompileExec2699633270
- /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2699633270.dir/link.txt --verbose=1
- /usr/bin/cc CMakeFiles/cmTryCompileExec2699633270.dir/CheckSymbolExists.c.o -o cmTryCompileExec2699633270 -rdynamic
- CMakeFiles/cmTryCompileExec2699633270.dir/CheckSymbolExists.c.o: In function `main':
- CheckSymbolExists.c:(.text+0xe): undefined reference to `pthread_create'
- CheckSymbolExists.c:(.text+0x12): undefined reference to `pthread_create'
- collect2: error: ld returned 1 exit status
- CMakeFiles/cmTryCompileExec2699633270.dir/build.make:88: recipe for target 'cmTryCompileExec2699633270' failed
- make[1]: Leaving directory '/home/osmc/hyperion/build/CMakeFiles/CMakeTmp'
- make[1]: *** [cmTryCompileExec2699633270] Error 1
- Makefile:118: recipe for target 'cmTryCompileExec2699633270/fast' failed
- make: *** [cmTryCompileExec2699633270/fast] Error 2
- File /home/osmc/hyperion/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/osmc/hyperion/build/CMakeFiles/CMakeTmp
- Run Build Command:"/usr/bin/make" "cmTryCompileExec1979239185/fast"
- /usr/bin/make -f CMakeFiles/cmTryCompileExec1979239185.dir/build.make CMakeFiles/cmTryCompileExec1979239185.dir/build
- make[1]: Entering directory '/home/osmc/hyperion/build/CMakeFiles/CMakeTmp'
- /usr/bin/cmake -E cmake_progress_report /home/osmc/hyperion/build/CMakeFiles/CMakeTmp/CMakeFiles 1
- Building C object CMakeFiles/cmTryCompileExec1979239185.dir/CheckFunctionExists.c.o
- /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec1979239185.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.0/Modules/CheckFunctionExists.c
- Linking C executable cmTryCompileExec1979239185
- /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1979239185.dir/link.txt --verbose=1
- /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec1979239185.dir/CheckFunctionExists.c.o -o cmTryCompileExec1979239185 -rdynamic -lpthreads
- /usr/bin/ld: cannot find -lpthreads
- collect2: error: ld returned 1 exit status
- CMakeFiles/cmTryCompileExec1979239185.dir/build.make:88: recipe for target 'cmTryCompileExec1979239185' failed
- make[1]: Leaving directory '/home/osmc/hyperion/build/CMakeFiles/CMakeTmp'
- make[1]: *** [cmTryCompileExec1979239185] Error 1
- Makefile:118: recipe for target 'cmTryCompileExec1979239185/fast' failed
- make: *** [cmTryCompileExec1979239185/fast] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement