This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Fail to build ble_app_hrs on raspberry pi 2

The gcc compiler is gcc-arm-none-eabi-4_9-2015q2.

The make version is GNU Make 4.0 (Build for arm-unknown-linux-gnueabihf).

The error message is:

... arm-none-eabi-gcc: Syntax error: word unexpected (expecting ")")

... Makefile.common: 122 : recipe for target '_build/main.o' failed

Please advise what might be the problems? Thanks in advance.

Parents
  • I decide to try Debian version of gcc-arm-none-eabi and download the package from packages.debian.org/.../gcc-arm-none-eabi. I have to solve a few dependency issues (a recommended dependency libnewlib is "required") but it turns out to be working.

    NRF51 SDK version: nrf51_sdk_v6_1_0_b2ec2e6.

    Softdevice version: s110_nrf51822_7.3.0.

    GCC version: Debian gcc-arm-none-eabi (4.9.2-18+14) armhf.

    Now I can compile and merge hrs example on RPi 2.

Reply
  • I decide to try Debian version of gcc-arm-none-eabi and download the package from packages.debian.org/.../gcc-arm-none-eabi. I have to solve a few dependency issues (a recommended dependency libnewlib is "required") but it turns out to be working.

    NRF51 SDK version: nrf51_sdk_v6_1_0_b2ec2e6.

    Softdevice version: s110_nrf51822_7.3.0.

    GCC version: Debian gcc-arm-none-eabi (4.9.2-18+14) armhf.

    Now I can compile and merge hrs example on RPi 2.

Children
Related