CMakeError.log 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. Determining if the pthread_create exist failed with the following output:
  2. Change Dir: /home/nvidia/work/MIVA/build/CMakeFiles/CMakeTmp
  3. Run Build Command:"/usr/bin/make" "cmTC_0ef3b/fast"
  4. /usr/bin/make -f CMakeFiles/cmTC_0ef3b.dir/build.make CMakeFiles/cmTC_0ef3b.dir/build
  5. make[1]: Entering directory '/home/nvidia/work/MIVA/build/CMakeFiles/CMakeTmp'
  6. Building C object CMakeFiles/cmTC_0ef3b.dir/CheckSymbolExists.c.o
  7. /usr/bin/cc -fPIC -o CMakeFiles/cmTC_0ef3b.dir/CheckSymbolExists.c.o -c /home/nvidia/work/MIVA/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
  8. Linking C executable cmTC_0ef3b
  9. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0ef3b.dir/link.txt --verbose=1
  10. /usr/bin/cc -fPIC CMakeFiles/cmTC_0ef3b.dir/CheckSymbolExists.c.o -o cmTC_0ef3b
  11. CMakeFiles/cmTC_0ef3b.dir/CheckSymbolExists.c.o: In function `main':
  12. CheckSymbolExists.c:(.text+0x14): undefined reference to `pthread_create'
  13. CheckSymbolExists.c:(.text+0x18): undefined reference to `pthread_create'
  14. collect2: error: ld returned 1 exit status
  15. CMakeFiles/cmTC_0ef3b.dir/build.make:97: recipe for target 'cmTC_0ef3b' failed
  16. make[1]: *** [cmTC_0ef3b] Error 1
  17. make[1]: Leaving directory '/home/nvidia/work/MIVA/build/CMakeFiles/CMakeTmp'
  18. Makefile:126: recipe for target 'cmTC_0ef3b/fast' failed
  19. make: *** [cmTC_0ef3b/fast] Error 2
  20. File /home/nvidia/work/MIVA/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
  21. /* */
  22. #include <pthread.h>
  23. int main(int argc, char** argv)
  24. {
  25. (void)argv;
  26. #ifndef pthread_create
  27. return ((int*)(&pthread_create))[argc];
  28. #else
  29. (void)argc;
  30. return 0;
  31. #endif
  32. }
  33. Determining if the function pthread_create exists in the pthreads failed with the following output:
  34. Change Dir: /home/nvidia/work/MIVA/build/CMakeFiles/CMakeTmp
  35. Run Build Command:"/usr/bin/make" "cmTC_2b14c/fast"
  36. /usr/bin/make -f CMakeFiles/cmTC_2b14c.dir/build.make CMakeFiles/cmTC_2b14c.dir/build
  37. make[1]: Entering directory '/home/nvidia/work/MIVA/build/CMakeFiles/CMakeTmp'
  38. Building C object CMakeFiles/cmTC_2b14c.dir/CheckFunctionExists.c.o
  39. /usr/bin/cc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_2b14c.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
  40. Linking C executable cmTC_2b14c
  41. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2b14c.dir/link.txt --verbose=1
  42. /usr/bin/cc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_2b14c.dir/CheckFunctionExists.c.o -o cmTC_2b14c -lpthreads
  43. /usr/bin/ld: cannot find -lpthreads
  44. collect2: error: ld returned 1 exit status
  45. CMakeFiles/cmTC_2b14c.dir/build.make:97: recipe for target 'cmTC_2b14c' failed
  46. make[1]: *** [cmTC_2b14c] Error 1
  47. make[1]: Leaving directory '/home/nvidia/work/MIVA/build/CMakeFiles/CMakeTmp'
  48. Makefile:126: recipe for target 'cmTC_2b14c/fast' failed
  49. make: *** [cmTC_2b14c/fast] Error 2
  50. Performing C++ SOURCE FILE Test HAVE_MYSQL_OPT_EMBEDDED_CONNECTION failed with the following output:
  51. Change Dir: /home/nvidia/work/MIVA/build/CMakeFiles/CMakeTmp
  52. Run Build Command:"/usr/bin/make" "cmTC_4b061/fast"
  53. /usr/bin/make -f CMakeFiles/cmTC_4b061.dir/build.make CMakeFiles/cmTC_4b061.dir/build
  54. make[1]: Entering directory '/home/nvidia/work/MIVA/build/CMakeFiles/CMakeTmp'
  55. Building CXX object CMakeFiles/cmTC_4b061.dir/src.cxx.o
  56. /usr/bin/c++ -DHAVE_OPENCV -DHAVE_FFMPEG -DHAVE_MYSQL_OPT_EMBEDDED_CONNECTION -o CMakeFiles/cmTC_4b061.dir/src.cxx.o -c /home/nvidia/work/MIVA/build/CMakeFiles/CMakeTmp/src.cxx
  57. /home/nvidia/work/MIVA/build/CMakeFiles/CMakeTmp/src.cxx:1:10: fatal error: mysql.h: No such file or directory
  58. #include <mysql.h>
  59. ^~~~~~~~~
  60. compilation terminated.
  61. CMakeFiles/cmTC_4b061.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_4b061.dir/src.cxx.o' failed
  62. make[1]: *** [CMakeFiles/cmTC_4b061.dir/src.cxx.o] Error 1
  63. make[1]: Leaving directory '/home/nvidia/work/MIVA/build/CMakeFiles/CMakeTmp'
  64. Makefile:126: recipe for target 'cmTC_4b061/fast' failed
  65. make: *** [cmTC_4b061/fast] Error 2
  66. Source file was:
  67. #include <mysql.h>
  68. int main() { int i = MYSQL_OPT_USE_EMBEDDED_CONNECTION; }