Page MenuHomec4science

CMakeError.log
No OneTemporary

File Metadata

Created
Sat, Nov 9, 08:23

CMakeError.log

Determining if the pthread_create exist failed with the following output:
Change Dir: /home/afalsafi/program-files/munew2/muSpectre/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_ada43/fast"
/usr/bin/make -f CMakeFiles/cmTC_ada43.dir/build.make CMakeFiles/cmTC_ada43.dir/build
make[1]: Entering directory '/home/afalsafi/program-files/munew2/muSpectre/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_ada43.dir/CheckSymbolExists.c.o
/usr/bin/cc -o CMakeFiles/cmTC_ada43.dir/CheckSymbolExists.c.o -c /home/afalsafi/program-files/munew2/muSpectre/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_ada43
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ada43.dir/link.txt --verbose=1
/usr/bin/cc -rdynamic CMakeFiles/cmTC_ada43.dir/CheckSymbolExists.c.o -o cmTC_ada43
CMakeFiles/cmTC_ada43.dir/CheckSymbolExists.c.o: In function `main':
CheckSymbolExists.c:(.text+0x1b): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_ada43.dir/build.make:86: recipe for target 'cmTC_ada43' failed
make[1]: *** [cmTC_ada43] Error 1
make[1]: Leaving directory '/home/afalsafi/program-files/munew2/muSpectre/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_ada43/fast' failed
make: *** [cmTC_ada43/fast] Error 2
File /home/afalsafi/program-files/munew2/muSpectre/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/afalsafi/program-files/munew2/muSpectre/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_cad6d/fast"
/usr/bin/make -f CMakeFiles/cmTC_cad6d.dir/build.make CMakeFiles/cmTC_cad6d.dir/build
make[1]: Entering directory '/home/afalsafi/program-files/munew2/muSpectre/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_cad6d.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_cad6d.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.11/Modules/CheckFunctionExists.c
Linking C executable cmTC_cad6d
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cad6d.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_cad6d.dir/CheckFunctionExists.c.o -o cmTC_cad6d -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_cad6d.dir/build.make:86: recipe for target 'cmTC_cad6d' failed
make[1]: *** [cmTC_cad6d] Error 1
make[1]: Leaving directory '/home/afalsafi/program-files/munew2/muSpectre/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_cad6d/fast' failed
make: *** [cmTC_cad6d/fast] Error 2
Performing C++ SOURCE FILE Test HAS_STD_OPTIONAL failed with the following output:
Change Dir: /home/afalsafi/program-files/munew2/muSpectre/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_bd43c/fast"
/usr/bin/make -f CMakeFiles/cmTC_bd43c.dir/build.make CMakeFiles/cmTC_bd43c.dir/build
make[1]: Entering directory '/home/afalsafi/program-files/munew2/muSpectre/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_bd43c.dir/src.cxx.o
/usr/bin/c++ -lCGAL -lgmp -lgmpxx -lmfpr -DHAS_STD_OPTIONAL -o CMakeFiles/cmTC_bd43c.dir/src.cxx.o -c /home/afalsafi/program-files/munew2/muSpectre/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_bd43c
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bd43c.dir/link.txt --verbose=1
/usr/bin/c++ -lCGAL -lgmp -lgmpxx -lmfpr -DHAS_STD_OPTIONAL -rdynamic CMakeFiles/cmTC_bd43c.dir/src.cxx.o -o cmTC_bd43c
/usr/bin/ld: cannot find -lmfpr
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_bd43c.dir/build.make:86: recipe for target 'cmTC_bd43c' failed
make[1]: *** [cmTC_bd43c] Error 1
make[1]: Leaving directory '/home/afalsafi/program-files/munew2/muSpectre/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_bd43c/fast' failed
make: *** [cmTC_bd43c/fast] Error 2
Source file was:
#include <experimental/optional>
int main() {
std::experimental::optional<double> A{};
}

Event Timeline