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

Unable to compile for nrf9160_pca20035 (Thingy:91)


I have been at this for a few days now, I have had a number of compilation errors that I have had to work through and find solutions for, but I am stumped on this current error.

First a bit about my system and the development environment:

Arch Linux 5.3.10-arch-1 (System up to date)

Latest Master Zephyr SDK also install in a separate directory.
Latest Master NCS but with the Joakimtoe NRF Fork (This fork solved a whole host of problems for me, but last update was 11 months ago?)

West v0.6.3
Ninja v1.9.0
Cmake v3.15.5
GCC Arm v7 2018-Q2

ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb
ZEPHYR_SDK_INSTALL_DIR=$HOME/zephyrsdk
GNUARMEMB_TOOLCHAIN_PATH='~/.gnuarmemb'
source zephyr-env.sh using the NCS Zephyr Directory

The sample that I am trying to compile is the lte_ble_gateway sample found in the nrf9160 folder of NCS. After changing into the nrf directory I run the command:

west build -p -b nrf9160_pca20035 samples/nrf9160/lte_ble_gateway

The build successfully compiles 136 of 167 of the objects before stopping with a message of:

ninja: build stopped: subcommand failed.
ERROR: command exited with status 1: /usr/bin/cmake --build /home/rex/.nRFConnectSDK/nrf/build

Where should I begin? There looks to be a number of "Warnings" that are being thrown surrounding nrf_cloud_transport.c

  • Thank you ,

    Thank you for directing me to that thread. I have followed what I could make of it and got the precompiled hex files loaded up. I have a few issues still but they seem to be pretty minor in nature and I am sure they are a result of me missing a step during the setup.

    I have written a post in that thread asking Sigurd for a bit more clarification on the process that surrounds his thought process to see if we can surmise where I am missing the mark. 

    Kindest Regards, 

    Arch

1 2 3