Advertisement
Guest User

Untitled

a guest
Oct 21st, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. dmitry@DemonComp:~/firstProject$ cmake CMakeLists.txt
  2. -- The C compiler identification is GNU 6.3.1
  3. -- The CXX compiler identification is GNU 6.3.1
  4. -- Check for working C compiler: /home/dmitry/STM32CubeMX/gcc-arm/bin/arm-none-eabi-gcc
  5. -- Check for working C compiler: /home/dmitry/STM32CubeMX/gcc-arm/bin/arm-none-eabi-gcc -- broken
  6. CMake Error at /usr/share/cmake-3.5/Modules/CMakeTestCCompiler.cmake:61 (message):
  7. The C compiler "/home/dmitry/STM32CubeMX/gcc-arm/bin/arm-none-eabi-gcc" is
  8. not able to compile a simple test program.
  9.  
  10. It fails with the following output:
  11.  
  12. Change Dir: /home/dmitry/firstProject/CMakeFiles/CMakeTmp
  13.  
  14.  
  15.  
  16. Run Build Command:"/usr/bin/make" "cmTC_4a703/fast"
  17.  
  18. /usr/bin/make -f CMakeFiles/cmTC_4a703.dir/build.make
  19. CMakeFiles/cmTC_4a703.dir/build
  20.  
  21. make[1]: вход в каталог
  22. «/home/dmitry/firstProject/CMakeFiles/CMakeTmp»
  23.  
  24. Building C object CMakeFiles/cmTC_4a703.dir/testCCompiler.c.obj
  25.  
  26. /home/dmitry/STM32CubeMX/gcc-arm/bin/arm-none-eabi-gcc -o
  27. CMakeFiles/cmTC_4a703.dir/testCCompiler.c.obj -c
  28. /home/dmitry/firstProject/CMakeFiles/CMakeTmp/testCCompiler.c
  29.  
  30. Linking C executable cmTC_4a703
  31.  
  32. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4a703.dir/link.txt
  33. --verbose=1
  34.  
  35. /home/dmitry/STM32CubeMX/gcc-arm/bin/arm-none-eabi-gcc
  36. CMakeFiles/cmTC_4a703.dir/testCCompiler.c.obj -o cmTC_4a703
  37.  
  38.  
  39. /home/dmitry/STM32CubeMX/gcc-arm/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/libc.a(lib_a-exit.o):
  40. In function `exit':
  41.  
  42. exit.c:(.text.exit+0x2c): undefined reference to `_exit'
  43.  
  44. collect2: error: ld returned 1 exit status
  45.  
  46. CMakeFiles/cmTC_4a703.dir/build.make:97: ошибка выполнения
  47. рецепта для цели «cmTC_4a703»
  48.  
  49. make[1]: *** [cmTC_4a703] Ошибка 1
  50.  
  51. make[1]: выход из каталога
  52. «/home/dmitry/firstProject/CMakeFiles/CMakeTmp»
  53.  
  54. Makefile:126: ошибка выполнения рецепта для
  55. цели «cmTC_4a703/fast»
  56.  
  57. make: *** [cmTC_4a703/fast] Ошибка 2
  58.  
  59.  
  60.  
  61.  
  62.  
  63. CMake will not be able to correctly generate this project.
  64. Call Stack (most recent call first):
  65. CMakeLists.txt:11 (project)
  66.  
  67.  
  68. -- Configuring incomplete, errors occurred!
  69. See also "/home/dmitry/firstProject/CMakeFiles/CMakeOutput.log".
  70. See also "/home/dmitry/firstProject/CMakeFiles/CMakeError.log".
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement