Guest User

CMakeError.log

a guest
Apr 4th, 2016
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
  2. Compiler: /usr/bin/arm-none-eabi-gcc
  3. Build flags:
  4. Id flags:
  5.  
  6. The output was:
  7. 1
  8. /usr/lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/lib/libc.a(lib_a-exit.o): In function `exit':
  9. exit.c:(.text.exit+0x2c): undefined reference to `_exit'
  10. collect2: error: ld returned 1 exit status
  11.  
  12.  
  13. Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
  14. Compiler: /usr/bin/arm-none-eabi-g++
  15. Build flags:
  16. Id flags:
  17.  
  18. The output was:
  19. 1
  20. /usr/lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/lib/libc.a(lib_a-exit.o): In function `exit':
  21. exit.c:(.text.exit+0x2c): undefined reference to `_exit'
  22. collect2: error: ld returned 1 exit status
  23.  
  24.  
  25. Determining if the C compiler works failed with the following output:
  26. Change Dir: /home/rotor/mbed/example-mbedos-blinky/build/frdm-k64f-gcc/CMakeFiles/CMakeTmp
  27.  
  28. Run Build Command:"/usr/bin/ninja" "cmTC_38608"
  29. [1/2] Building C object CMakeFiles/cmTC_38608.dir/testCCompiler.c.o
  30. [2/2] Linking C executable cmTC_38608
  31. FAILED: : && /usr/bin/arm-none-eabi-gcc -fno-exceptions -fno-unwind-tables -Wl,--gc-sections -Wl,--sort-common -Wl,--sort-section=alignment -Wl,-wrap,main -Wl,-u,_printf_float -mcpu=cortex-m4 -mthumb -T"/home/rotor/mbed/example-mbedos-blinky/yotta_targets/kinetis-k64-gcc/CMake/../ld/K64FN1M0xxx12.ld" -Wl,-Map,cmTC_38608.map -Wl,--start-group CMakeFiles/cmTC_38608.dir/testCCompiler.c.o -lm -lc -lgcc -lm -lc -lgcc -Wl,--end-group --specs=nano.specs -o cmTC_38608 && :
  32. /usr/lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol Reset_Handler; defaulting to 0000000000000410
  33. /usr/lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/lib/armv7e-m/libc_nano.a(lib_a-sbrkr.o): In function `_sbrk_r':
  34. sbrkr.c:(.text._sbrk_r+0xc): undefined reference to `_sbrk'
  35. collect2: error: ld returned 1 exit status
  36. ninja: build stopped: subcommand failed.
Advertisement
Add Comment
Please, Sign In to add comment