Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
- Compiler: /usr/bin/arm-none-eabi-gcc
- Build flags:
- Id flags:
- The output was:
- 1
- /usr/lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/lib/libc.a(lib_a-exit.o): In function `exit':
- exit.c:(.text.exit+0x2c): undefined reference to `_exit'
- collect2: error: ld returned 1 exit status
- Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
- Compiler: /usr/bin/arm-none-eabi-g++
- Build flags:
- Id flags:
- The output was:
- 1
- /usr/lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/lib/libc.a(lib_a-exit.o): In function `exit':
- exit.c:(.text.exit+0x2c): undefined reference to `_exit'
- collect2: error: ld returned 1 exit status
- Determining if the C compiler works failed with the following output:
- Change Dir: /home/rotor/mbed/example-mbedos-blinky/build/frdm-k64f-gcc/CMakeFiles/CMakeTmp
- Run Build Command:"/usr/bin/ninja" "cmTC_38608"
- [1/2] Building C object CMakeFiles/cmTC_38608.dir/testCCompiler.c.o
- [2/2] Linking C executable cmTC_38608
- 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 && :
- /usr/lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol Reset_Handler; defaulting to 0000000000000410
- /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':
- sbrkr.c:(.text._sbrk_r+0xc): undefined reference to `_sbrk'
- collect2: error: ld returned 1 exit status
- ninja: build stopped: subcommand failed.
Advertisement
Add Comment
Please, Sign In to add comment