Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make syntax error #15

Open
aiXander opened this issue Jan 29, 2018 · 0 comments
Open

make syntax error #15

aiXander opened this issue Jan 29, 2018 · 0 comments

Comments

@aiXander
Copy link

aiXander commented Jan 29, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant