| Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: |
| Change Dir: /content/colmap/build/CMakeFiles/CMakeTmp |
|
|
| Run Build Command(s):/usr/bin/make -f Makefile cmTC_80676/fast && /usr/bin/make -f CMakeFiles/cmTC_80676.dir/build.make CMakeFiles/cmTC_80676.dir/build |
| make[1]: Entering directory '/content/colmap/build/CMakeFiles/CMakeTmp' |
| Building C object CMakeFiles/cmTC_80676.dir/src.c.o |
| /usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_80676.dir/src.c.o -c /content/colmap/build/CMakeFiles/CMakeTmp/src.c |
| Linking C executable cmTC_80676 |
| /usr/local/lib/python3.8/dist-packages/cmake/data/bin/cmake -E cmake_link_script CMakeFiles/cmTC_80676.dir/link.txt --verbose=1 |
| /usr/bin/cc -rdynamic CMakeFiles/cmTC_80676.dir/src.c.o -o cmTC_80676 |
| CMakeFiles/cmTC_80676.dir/src.c.o: In function `main': |
| src.c:(.text+0x3e): undefined reference to `pthread_create' |
| src.c:(.text+0x4a): undefined reference to `pthread_detach' |
| src.c:(.text+0x56): undefined reference to `pthread_cancel' |
| src.c:(.text+0x67): undefined reference to `pthread_join' |
| src.c:(.text+0x7b): undefined reference to `pthread_atfork' |
| collect2: error: ld returned 1 exit status |
| CMakeFiles/cmTC_80676.dir/build.make:98: recipe for target 'cmTC_80676' failed |
| make[1]: *** [cmTC_80676] Error 1 |
| make[1]: Leaving directory '/content/colmap/build/CMakeFiles/CMakeTmp' |
| Makefile:127: recipe for target 'cmTC_80676/fast' failed |
| make: *** [cmTC_80676/fast] Error 2 |
|
|
|
|
| Source file was: |
| |
|
|
| static void* test_func(void* data) |
| { |
| return data; |
| } |
|
|
| int main(void) |
| { |
| pthread_t thread; |
| pthread_create(&thread, NULL, test_func, NULL); |
| pthread_detach(thread); |
| pthread_cancel(thread); |
| pthread_join(thread, NULL); |
| pthread_atfork(NULL, NULL, NULL); |
| pthread_exit(NULL); |
|
|
| return 0; |
| } |
|
|
| Determining if the function pthread_create exists in the pthreads failed with the following output: |
| Change Dir: /content/colmap/build/CMakeFiles/CMakeTmp |
|
|
| Run Build Command(s):/usr/bin/make -f Makefile cmTC_58e78/fast && /usr/bin/make -f CMakeFiles/cmTC_58e78.dir/build.make CMakeFiles/cmTC_58e78.dir/build |
| make[1]: Entering directory '/content/colmap/build/CMakeFiles/CMakeTmp' |
| Building C object CMakeFiles/cmTC_58e78.dir/CheckFunctionExists.c.o |
| /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_58e78.dir/CheckFunctionExists.c.o -c /usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.22/Modules/CheckFunctionExists.c |
| Linking C executable cmTC_58e78 |
| /usr/local/lib/python3.8/dist-packages/cmake/data/bin/cmake -E cmake_link_script CMakeFiles/cmTC_58e78.dir/link.txt --verbose=1 |
| /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_58e78.dir/CheckFunctionExists.c.o -o cmTC_58e78 -lpthreads |
| /usr/bin/ld: cannot find -lpthreads |
| collect2: error: ld returned 1 exit status |
| CMakeFiles/cmTC_58e78.dir/build.make:98: recipe for target 'cmTC_58e78' failed |
| make[1]: *** [cmTC_58e78] Error 1 |
| make[1]: Leaving directory '/content/colmap/build/CMakeFiles/CMakeTmp' |
| Makefile:127: recipe for target 'cmTC_58e78/fast' failed |
| make: *** [cmTC_58e78/fast] Error 2 |
|
|
|
|
|
|
| Determining if the function sgemm_ exists failed with the following output: |
| Change Dir: /content/colmap/build/CMakeFiles/CMakeTmp |
|
|
| Run Build Command(s):/usr/bin/make -f Makefile cmTC_1b0dd/fast && /usr/bin/make -f CMakeFiles/cmTC_1b0dd.dir/build.make CMakeFiles/cmTC_1b0dd.dir/build |
| make[1]: Entering directory '/content/colmap/build/CMakeFiles/CMakeTmp' |
| Building C object CMakeFiles/cmTC_1b0dd.dir/CheckFunctionExists.c.o |
| /usr/bin/cc -DCHECK_FUNCTION_EXISTS=sgemm_ -o CMakeFiles/cmTC_1b0dd.dir/CheckFunctionExists.c.o -c /usr/local/lib/python3.8/dist-packages/cmake/data/share/cmake-3.22/Modules/CheckFunctionExists.c |
| Linking C executable cmTC_1b0dd |
| /usr/local/lib/python3.8/dist-packages/cmake/data/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1b0dd.dir/link.txt --verbose=1 |
| /usr/bin/cc -DCHECK_FUNCTION_EXISTS=sgemm_ -rdynamic CMakeFiles/cmTC_1b0dd.dir/CheckFunctionExists.c.o -o cmTC_1b0dd |
| CMakeFiles/cmTC_1b0dd.dir/CheckFunctionExists.c.o: In function `main': |
| CheckFunctionExists.c:(.text+0x10): undefined reference to `sgemm_' |
| collect2: error: ld returned 1 exit status |
| CMakeFiles/cmTC_1b0dd.dir/build.make:98: recipe for target 'cmTC_1b0dd' failed |
| make[1]: *** [cmTC_1b0dd] Error 1 |
| make[1]: Leaving directory '/content/colmap/build/CMakeFiles/CMakeTmp' |
| Makefile:127: recipe for target 'cmTC_1b0dd/fast' failed |
| make: *** [cmTC_1b0dd/fast] Error 2 |
|
|
|
|
|
|
|
|