Advertisement
Guest User

yottaBuildFailed

a guest
Apr 4th, 2016
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.10 KB | None | 0 0
  1. ➜ example-mbedos-blinky git:(master) yt build
  2. info: get versions for mbed-drivers
  3. info: download mbed-drivers@1.5.0 from the public module registry
  4. info: get versions for mbed-hal
  5. info: download mbed-hal@1.3.0 from the public module registry
  6. info: get versions for cmsis-core
  7. info: download cmsis-core@1.2.0 from the public module registry
  8. info: get versions for ualloc
  9. info: download ualloc@1.3.0 from the public module registry
  10. info: get versions for minar
  11. info: download minar@1.3.0 from the public module registry
  12. info: get versions for core-util
  13. info: download core-util@1.8.0 from the public module registry
  14. info: get versions for compiler-polyfill
  15. info: download compiler-polyfill@1.3.0 from the public module registry
  16. info: get versions for greentea-client
  17. info: download greentea-client@1.1.0 from the public module registry
  18. info: get versions for mbed-hal-freescale
  19. info: download mbed-hal-freescale@1.1.0 from the public module registry
  20. info: get versions for mbed-hal-ksdk-mcu
  21. info: download mbed-hal-ksdk-mcu@1.2.1 from the public module registry
  22. info: get versions for uvisor-lib
  23. info: download uvisor-lib@2.1.2 from the public module registry
  24. info: get versions for mbed-hal-k64f
  25. info: download mbed-hal-k64f@1.3.0 from the public module registry
  26. info: get versions for cmsis-core-freescale
  27. info: download cmsis-core-freescale@1.1.0 from the public module registry
  28. info: get versions for cmsis-core-k64f
  29. info: download cmsis-core-k64f@1.1.0 from the public module registry
  30. info: get versions for mbed-hal-frdm-k64f
  31. info: download mbed-hal-frdm-k64f@1.1.0 from the public module registry
  32. info: get versions for dlmalloc
  33. info: download dlmalloc@1.1.0 from the public module registry
  34. info: get versions for minar-platform
  35. info: download minar-platform@1.1.0 from the public module registry
  36. info: get versions for minar-platform-mbed
  37. info: download minar-platform-mbed@1.3.0 from the public module registry
  38. info: generate for target: frdm-k64f-gcc 2.0.0 at /home/rotor/mbed/example-mbedos-blinky/yotta_targets/frdm-k64f-gcc
  39. -- The C compiler identification is GNU 5.3.0
  40. -- The CXX compiler identification is GNU 5.3.0
  41. -- Check for working C compiler using: Ninja
  42. -- Check for working C compiler using: Ninja -- broken
  43. CMake Error at /usr/share/cmake-3.5/Modules/CMakeTestCCompiler.cmake:61 (message):
  44. The C compiler "/usr/bin/arm-none-eabi-gcc" is not able to compile a simple
  45. test program.
  46.  
  47. It fails with the following output:
  48.  
  49. Change Dir: /home/rotor/mbed/example-mbedos-blinky/build/frdm-k64f-gcc/CMakeFiles/CMakeTmp
  50.  
  51.  
  52.  
  53. Run Build Command:"/usr/bin/ninja" "cmTC_38608"
  54.  
  55. [1/2] Building C object CMakeFiles/cmTC_38608.dir/testCCompiler.c.o
  56.  
  57. [2/2] Linking C executable cmTC_38608
  58.  
  59. FAILED: : && /usr/bin/arm-none-eabi-gcc -fno-exceptions -fno-unwind-tables
  60. -Wl,--gc-sections -Wl,--sort-common -Wl,--sort-section=alignment
  61. -Wl,-wrap,main -Wl,-u,_printf_float -mcpu=cortex-m4 -mthumb
  62. -T"/home/rotor/mbed/example-mbedos-blinky/yotta_targets/kinetis-k64-gcc/CMake/../ld/K64FN1M0xxx12.ld"
  63. -Wl,-Map,cmTC_38608.map -Wl,--start-group
  64. CMakeFiles/cmTC_38608.dir/testCCompiler.c.o -lm -lc -lgcc -lm -lc -lgcc
  65. -Wl,--end-group --specs=nano.specs -o cmTC_38608 && :
  66.  
  67. /usr/lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: warning:
  68. cannot find entry symbol Reset_Handler; defaulting to 0000000000000410
  69.  
  70.  
  71. /usr/lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/lib/armv7e-m/libc_nano.a(lib_a-sbrkr.o):
  72. In function `_sbrk_r':
  73.  
  74. sbrkr.c:(.text._sbrk_r+0xc): undefined reference to `_sbrk'
  75.  
  76. collect2: error: ld returned 1 exit status
  77.  
  78. ninja: build stopped: subcommand failed.
  79.  
  80.  
  81.  
  82.  
  83.  
  84. CMake will not be able to correctly generate this project.
  85. Call Stack (most recent call first):
  86. CMakeLists.txt:150 (project)
  87.  
  88.  
  89. -- Configuring incomplete, errors occurred!
  90. See also "/home/rotor/mbed/example-mbedos-blinky/build/frdm-k64f-gcc/CMakeFiles/CMakeOutput.log".
  91. See also "/home/rotor/mbed/example-mbedos-blinky/build/frdm-k64f-gcc/CMakeFiles/CMakeError.log".
  92. error: command ['cmake', '-D', 'CMAKE_BUILD_TYPE=RelWithDebInfo', '-G', 'Ninja', '.'] failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement