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

Nrf9160dk Build failed for asset tracker application.

Parents
  • Same problem here - same build errors when building nrf/applications/asset_tracker on tag v0.4.0.

    I'm using command-line build on my Windows PC using cmake and ninja to build the apps.  Zephyr samples build, as does nrf/samples/nrf9160/at_client.

    I'll track down the issue and update this thread.

    Problem compiling zephyr/misc/generated/configs.c.

    In file included from C:/iot/nordic/ncs/zephyr/include/toolchain.h:21:0,
    from zephyr/misc/generated/configs.c:7:
    zephyr/misc/generated/configs.c: In function '_ConfigAbsSyms':
    C:/iot/nordic/ncs/zephyr/include/toolchain/gcc.h:325:51: error: expected expression before ')' token
    "\n\t.type\t" #name ",%%object" : : "n"(~(value)))

  • These generated configuration symbols in configs.c have no value, causing the compilation error.

    line 23: GEN_ABSOLUTE_SYM(CONFIG_FLIP_INPUT, );
    line 30: GEN_ABSOLUTE_SYM(CONFIG_TEMP_SIM_BUTTON, );
Reply Children
No Data
Related