Advertisement
Guest User

Untitled

a guest
May 3rd, 2016
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.12 KB | None | 0 0
  1. -- The C compiler identification is GNU 5.2.0
  2. -- The CXX compiler identification is GNU 5.2.0
  3. -- Check for working C compiler: /opt/mydistro/1.0/sysroots/x86_64-companysdk-linux/usr/bin/arm-company-linux-gnueabi/arm-company-linux-gnueabi-gcc
  4. -- Check for working C compiler: /opt/mydistro/1.0/sysroots/x86_64-companysdk-linux/usr/bin/arm-company-linux-gnueabi/arm-company-linux-gnueabi-gcc -- broken
  5. CMake Error at /usr/share/cmake-3.5/Modules/CMakeTestCCompiler.cmake:61 (message):
  6. The C compiler
  7. "/opt/mydistro/1.0/sysroots/x86_64-companysdk-linux/usr/bin/arm-company-linux-gnueabi/arm-company-linux-gnueabi-gcc"
  8. is not able to compile a simple test program.
  9.  
  10. It fails with the following output:
  11.  
  12. Change Dir: /home/simon/workspace-luna/HelloYoctoCMake/Debug/CMakeFiles/CMakeTmp
  13.  
  14.  
  15.  
  16. Run Build Command:"/usr/sbin/make" "cmTC_06a92/fast"
  17.  
  18. /usr/sbin/make -f CMakeFiles/cmTC_06a92.dir/build.make
  19. CMakeFiles/cmTC_06a92.dir/build
  20.  
  21. make[1]: Entering directory
  22. '/home/simon/workspace-luna/HelloYoctoCMake/Debug/CMakeFiles/CMakeTmp'
  23.  
  24. Building C object CMakeFiles/cmTC_06a92.dir/testCCompiler.c.o
  25.  
  26.  
  27. /opt/mydistro/1.0/sysroots/x86_64-companysdk-linux/usr/bin/arm-company-linux-gnueabi/arm-company-linux-gnueabi-gcc
  28. --sysroot=/opt/mydistro/1.0/sysroots/cortexa5hf-vfp-company-linux-gnueabi -o
  29. CMakeFiles/cmTC_06a92.dir/testCCompiler.c.o -c
  30. /home/simon/workspace-luna/HelloYoctoCMake/Debug/CMakeFiles/CMakeTmp/testCCompiler.c
  31.  
  32.  
  33. Linking C executable cmTC_06a92
  34.  
  35. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_06a92.dir/link.txt
  36. --verbose=1
  37.  
  38.  
  39. /opt/mydistro/1.0/sysroots/x86_64-companysdk-linux/usr/bin/arm-company-linux-gnueabi/arm-company-linux-gnueabi-gcc
  40. --sysroot=/opt/mydistro/1.0/sysroots/cortexa5hf-vfp-company-linux-gnueabi
  41. --sysroot=/opt/mydistro/1.0/sysroots/cortexa5hf-vfp-company-linux-gnueabi
  42. CMakeFiles/cmTC_06a92.dir/testCCompiler.c.o -o cmTC_06a92 -rdynamic
  43.  
  44.  
  45. /opt/mydistro/1.0/sysroots/x86_64-companysdk-linux/usr/libexec/arm-company-linux-gnueabi/gcc/arm-company-linux-gnueabi/5.2.0/real-ld:
  46. error: cmTC_06a92 uses VFP register arguments,
  47. CMakeFiles/cmTC_06a92.dir/testCCompiler.c.o does not
  48.  
  49.  
  50. /opt/mydistro/1.0/sysroots/x86_64-companysdk-linux/usr/libexec/arm-company-linux-gnueabi/gcc/arm-company-linux-gnueabi/5.2.0/real-ld:
  51. failed to merge target specific data of file
  52. CMakeFiles/cmTC_06a92.dir/testCCompiler.c.o
  53.  
  54. collect2: error: ld returned 1 exit status
  55.  
  56. CMakeFiles/cmTC_06a92.dir/build.make:97: recipe for target 'cmTC_06a92'
  57. failed
  58.  
  59. make[1]: *** [cmTC_06a92] Error 1
  60.  
  61. make[1]: Leaving directory
  62. '/home/simon/workspace-luna/HelloYoctoCMake/Debug/CMakeFiles/CMakeTmp'
  63.  
  64. Makefile:126: recipe for target 'cmTC_06a92/fast' failed
  65.  
  66. make: *** [cmTC_06a92/fast] Error 2
  67.  
  68.  
  69.  
  70.  
  71.  
  72. CMake will not be able to correctly generate this project.
  73. Call Stack (most recent call first):
  74. CMakeLists.txt:4 (PROJECT)
  75.  
  76.  
  77. -- Configuring incomplete, errors occurred!
  78. See also "/home/simon/workspace-luna/HelloYoctoCMake/Debug/CMakeFiles/CMakeOutput.log".
  79. See also "/home/simon/workspace-luna/HelloYoctoCMake/Debug/CMakeFiles/CMakeError.log".
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement