You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
2.9 KiB
Plaintext
54 lines
2.9 KiB
Plaintext
Determining if the pthread_create exist failed with the following output:
|
|
Change Dir: /home2/tcs/librab/build/CMakeFiles/CMakeTmp
|
|
|
|
Run Build Command:/bin/gmake "cmTryCompileExec3741421367/fast"
|
|
/bin/gmake -f CMakeFiles/cmTryCompileExec3741421367.dir/build.make CMakeFiles/cmTryCompileExec3741421367.dir/build
|
|
gmake[1]: Entering directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
|
|
/usr/bin/cmake -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CMakeFiles 1
|
|
Building C object CMakeFiles/cmTryCompileExec3741421367.dir/CheckSymbolExists.c.o
|
|
/bin/cc -o CMakeFiles/cmTryCompileExec3741421367.dir/CheckSymbolExists.c.o -c /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
|
Linking C executable cmTryCompileExec3741421367
|
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3741421367.dir/link.txt --verbose=1
|
|
/bin/cc CMakeFiles/cmTryCompileExec3741421367.dir/CheckSymbolExists.c.o -o cmTryCompileExec3741421367 -rdynamic
|
|
CMakeFiles/cmTryCompileExec3741421367.dir/CheckSymbolExists.c.o: In function `main':
|
|
CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create'
|
|
collect2: error: ld returned 1 exit status
|
|
gmake[1]: *** [cmTryCompileExec3741421367] 오류 1
|
|
gmake[1]: Leaving directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
|
|
gmake: *** [cmTryCompileExec3741421367/fast] 오류 2
|
|
|
|
File /home2/tcs/librab/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: /home2/tcs/librab/build/CMakeFiles/CMakeTmp
|
|
|
|
Run Build Command:/bin/gmake "cmTryCompileExec3288110602/fast"
|
|
/bin/gmake -f CMakeFiles/cmTryCompileExec3288110602.dir/build.make CMakeFiles/cmTryCompileExec3288110602.dir/build
|
|
gmake[1]: Entering directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
|
|
/usr/bin/cmake -E cmake_progress_report /home2/tcs/librab/build/CMakeFiles/CMakeTmp/CMakeFiles 1
|
|
Building C object CMakeFiles/cmTryCompileExec3288110602.dir/CheckFunctionExists.c.o
|
|
/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec3288110602.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
|
|
Linking C executable cmTryCompileExec3288110602
|
|
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3288110602.dir/link.txt --verbose=1
|
|
/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec3288110602.dir/CheckFunctionExists.c.o -o cmTryCompileExec3288110602 -rdynamic -lpthreads
|
|
/bin/ld: cannot find -lpthreads
|
|
collect2: error: ld returned 1 exit status
|
|
gmake[1]: Leaving directory `/home2/tcs/librab/build/CMakeFiles/CMakeTmp'
|
|
gmake[1]: *** [cmTryCompileExec3288110602] 오류 1
|
|
gmake: *** [cmTryCompileExec3288110602/fast] 오류 2
|
|
|
|
|