Skip to content

make syntax error #15

Description

@aiXander

Hi, I just downloaded the latest GNU toolchain, but when running the make command I run into a syntax error:

Makefile:75: warning: overriding recipe for target 'flash'
../nordic/nrf51822/Source/templates/gcc/Makefile.common:148: warning: ignoring old recipe for target 'flash'
Makefile:87: warning: overriding recipe for target 'erase'
../nordic/nrf51822/Source/templates/gcc/Makefile.common:156: warning: ignoring old recipe for target 'erase'
"/mnt/c/Users/Xander/Desktop/personal_work/BLEKey/gcc-arm-none-eabi-5_4-2016q3/bin/arm-none-eabi-gcc" -DDEBUG_NRF_USER -DBLE_STACK_SUPPORT_REQD -DS110 -ffunction-sections -g -fdata-sections -O2 -mcpu=cortex-m0 -mthumb -mabi=aapcs -DNRF51 -DBOARD_NRF6310 -DNRF51822_QFAA_CA --std=gnu99 -Wall -Werror -mfloat-abi=soft -DDEBUG -g3 -O0 -I"../nordic/nrf51822/Include/s110" -I"../nordic/nrf51822/Include/ble" -I"../nordic/nrf51822/Include/ble/device_manager" -I"../nordic/nrf51822/Include/ble/ble_services" -I"../nordic/nrf51822/Include/app_common" -I"../nordic/nrf51822/Include/sd_common" -I"../nordic/nrf51822/Include/sdk" -I"../nordic/nrf51822/Include/bootloader_dfu" -I"../" -I"../nordic/nrf51822/Include" -I"../nordic/nrf51822/Include/gcc" -I"../nordic/nrf51822/Include/ext_sensors" -M ../main.c -MF "_build/main.d" -MT _build/main.o
/mnt/c/Users/Xander/Desktop/personal_work/BLEKey/gcc-arm-none-eabi-5_4-2016q3/bin/arm-none-eabi-gcc: 1: /mnt/c/Users/Xander/Desktop/personal_work/BLEKey/gcc-arm-none-eabi-5_4-2016q3/bin/arm-none-eabi-gcc: Syntax error: word unexpected (expecting ")")
../nordic/nrf51822/Source/templates/gcc/Makefile.common:118: recipe for target '_build/main.o' failed
make: *** [_build/main.o] Error 2 

I also tried installing the 4.9.3 version but it failed with the same error..

Any ideas here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions