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

GCC Build w/sdk9 (no rule to make target)

Hi there!

I've followed the guide to Eclipse GCC (using OSX) from here:devzone.nordicsemi.com/.../

I had to add some stuff to main.c to have it built (e.g. BSP_LED_APP_TIMERS_NUMBER).

Apart from that it seems like everything goes well, until I need to build the app using the make file.

I get the following error:

make[1]: *** No rule to make target _build/app_button.o, needed by nrf51422_xxac_s110.  Stop.

Please help, I've spent a lot of hours trying to get this to work.

Thanks! Henrik

Parents
  • I'm also seeing similar problems building from the command line in OSX with an out of the box example from directory:

    /Users/me/Nordic Semiconductor/nRF51_SDK_9.0.0_2e23562/examples/ble_central_and_peripheral/ble_connectivity/pca10028/ser_s130_spi/armgcc
    

    I'm seeing:

    $ make
    rm -rf _build
    echo  Makefile
    Makefile
    mkdir _build
    make: *** No rule to make target `_build/Nordic', needed by `nrf51422_xxac_s130'.  Stop.
    

    Also, I've updated MakeFile.posix with correct paths

Reply
  • I'm also seeing similar problems building from the command line in OSX with an out of the box example from directory:

    /Users/me/Nordic Semiconductor/nRF51_SDK_9.0.0_2e23562/examples/ble_central_and_peripheral/ble_connectivity/pca10028/ser_s130_spi/armgcc
    

    I'm seeing:

    $ make
    rm -rf _build
    echo  Makefile
    Makefile
    mkdir _build
    make: *** No rule to make target `_build/Nordic', needed by `nrf51422_xxac_s130'.  Stop.
    

    Also, I've updated MakeFile.posix with correct paths

Children
Related