This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Eclipse IDE can't build

My setup is based on a jlink clone and yunjia module nrf51822 and nRF51_SDK_10.0.0_dc26b5e. I am following this tutorial successfully till the section Enable auto discovery of symbols, include paths and compiler settings. After rebuilding the project I got this on my console.

22:30:21 **** Incremental Build of configuration Default for project blinky_s110_pca10028 ****
make VERBOSE=1 all 
rm -rf _build
C:/Program Files/GNU ARM Eclipse/Build Tools/2.8-201611221915/bin/make -f  Makefile -C ./  -e cleanobj
make[1]: Entering directory 'C:/ble/nRF51_SDK_10.0.0_dc26b5e/examples/peripheral/blinky/pca10028/blank/armgcc'
rm -rf _build/*.o
make[1]: Leaving directory 'C:/ble/nRF51_SDK_10.0.0_dc26b5e/examples/peripheral/blinky/pca10028/blank/armgcc'
C:/Program Files/GNU ARM Eclipse/Build Tools/2.8-201611221915/bin/make -f  Makefile -C ./  -e nrf51422_xxac_s110
make[1]: Entering directory 'C:/ble/nRF51_SDK_10.0.0_dc26b5e/examples/peripheral/blinky/pca10028/blank/armgcc'
echo  Makefile
Makefile
mkdir _build
Compiling file: system_nrf51.c
'C:/Program Files/GNU Tools ARM Embedded/6 2017-q1-update/bin/arm-none-eabi-gcc' -DBOARD_PCA10028 -DSOFTDEVICE_PRESENT -DNRF51 -DS110 -DBLE_STACK_SUPPORT_REQD -DBSP_DEFINES_ONLY -mcpu=cortex-m0 -mthumb -mabi=aapcs --std=gnu99 -Wall -Werror -O0 -g3 -mfloat-abi=soft -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -IC:/ble/nRF51_SDK_10.0.0_dc26b5e/examples/peripheral/blinky/config/blinky_s110_pca10028 -IC:/ble/nRF51_SDK_10.0.0_dc26b5e/examples/peripheral/blinky/config -IC:/ble/nRF51_SDK_10.0.0_dc26b5e/components/toolchain/gcc -IC:/ble/nRF51_SDK_10.0.0_dc26b5e/components/toolchain -IC:/ble/nRF51_SDK_10.0.0_dc26b5e/components/softdevice/s110/headers -IC:/ble/nRF51_SDK_10.0.0_dc26b5e/examples/peripheral/blinky -IC:/ble/nRF51_SDK_10.0.0_dc26b5e/examples/bsp -IC:/ble/nRF51_SDK_10.0.0_dc26b5e/components/device -IC:/ble/nRF51_SDK_10.0.0_dc26b5e/components/drivers_nrf/delay -IC:/ble/nRF51_SDK_10.0.0_dc26b5e/components/drivers_nrf/hal -c -o _build/system_nrf51.o C:/ble/nRF51_SDK_10.0.0_dc26b5e/components/toolchain/system_nrf51.c
process_begin: CreateProcess(NULL, "C:/Program Files/GNU Tools ARM Embedded/6 2017-q1-update/bin/arm-none-eabi-gcc" -DBOARD_PCA10028 -DSOFTDEVICE_PRESENT -DNRF51 -DS110 -DBLE_STACK_SUPPORT_REQD -DBSP_DEFINES_ONLY -mcpu=cortex-m0 -mthumb -mabi=aapcs --std=gnu99 -Wall -Werror -O0 -g3 -mfloat-abi=soft -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -IC:/ble/nRF51_SDK_10.0.0_dc26b5e/examples/peripheral/blinky/config/blinky_s110_pca10028 -IC:/ble/nRF51_SDK_10.0.0_dc26b5e/examples/peripheral/blinky/config -IC:/ble/nRF51_SDK_10.0.0_dc26b5e/components/toolchain/gcc -IC:/ble/nRF51_SDK_10.0.0_dc26b5e/components/toolchain -IC:/ble/nRF51_SDK_10.0.0_dc26b5e/components/softdevice/s110/headers -IC:/ble/nRF51_SDK_10.0.0_dc26b5e/examples/peripheral/blinky -IC:/ble/nRF51_SDK_10.0.0_dc26b5e/examples/bsp -IC:/ble/nRF51_SDK_10.0.0_dc26b5e/components/device -IC:/ble/nRF51_SDK_10.0.0_dc26b5e/components/drivers_nrf/delay -IC:/ble/nRF51_SDK_10.0.0_dc26b5e/components/drivers_nrf/hal -c -o _build/system_nrf51.o C:/ble/nRF51_SDK_10.0.0_dc26b5e/components/toolchain/system_nrf51.c, ...) failed.
Makefile:140: recipe for target '_build/system_nrf51.o' failed
make (e=2): The system cannot find the file specified.
make[1]: Leaving directory 'C:/ble/nRF51_SDK_10.0.0_dc26b5e/examples/peripheral/blinky/pca10028/blank/armgcc'

Makefile:103: recipe for target 'all' failed
make[1]: *** [_build/system_nrf51.o] Error 2
make: *** [all] Error 2

22:30:22 Build Finished (took 1s.129ms)

What can I do in order to solve it?

Related