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

Error during build of nRF9160 samples

Hi!

I'm having issues compiling the nRF9160 samples in the SDK. I've followed the Getting Started Assistant. I'm currently on the master branch. When I check out the v3 tag it doesn't have the west.yml file, so I can't do `west update`.

Anyways, my build stops at `GEN_ABSOLUTE_SYM` in `gen_offset.h`. I get the same build error for the spm sample as well as the at_client sample.

Complete output log from SES:

Building ‘zephyr/include/generated/driver-validation.h’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/CMakeFiles/driver_validation_h_target’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/driver_validation_h_target’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/include/generated/kobj-types-enum.h’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/include/generated/otype-to-str.h’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/CMakeFiles/kobj_types_h_target’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/kobj_types_h_target’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/misc/generated/syscalls.json’ from solution ‘build’ in configuration ‘Common’
1> Combining ‘zephyr/misc/generated/syscalls.json’
Building ‘zephyr/include/generated/syscall_list.h’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/CMakeFiles/syscall_list_h_target’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/include/generated/syscall_dispatch.c’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/syscall_list_h_target’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/include/generated/syscall_macros.h’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/CMakeFiles/syscall_macros_h_target’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/syscall_macros_h_target’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_offsets’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/offsets’ from solution ‘build’ in configuration ‘Common’
1> Compiling ‘offsets.c’
1> In file included from C:/Dev/nrfconnectsdk/zephyr/include/toolchain.h:21:0,
1>                  from C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:74,
1>                  from C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:25:
1> C:/Dev/nrfconnectsdk/zephyr/include/toolchain/gcc.h:322:1: warning: multi-line comment [-Wcomment]
1> In file included from C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:25:0:
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:2: warning: implicit declaration of function 'GEN_ABSOLUTE_SYM'; did you mean 'GEN_OFFSET_SYM'? [-Wimplicit-function-declaration]
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:21:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___kernel_t_current_OFFSET' undeclared (first use in this function)
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:21:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: note: each undeclared identifier is reported only once for each function it appears in
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:21:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___kernel_t_nested_OFFSET' undeclared (first use in this function); did you mean '___kernel_t_current_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:22:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___kernel_t_irq_stack_OFFSET' undeclared (first use in this function); did you mean '___kernel_t_nested_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:23:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___cpu_t_current_OFFSET' undeclared (first use in this function); did you mean '___kernel_t_current_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:26:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___cpu_t_nested_OFFSET' undeclared (first use in this function); did you mean '___cpu_t_current_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:27:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___cpu_t_irq_stack_OFFSET' undeclared (first use in this function); did you mean '___kernel_t_irq_stack_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:28:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___kernel_t_idle_OFFSET' undeclared (first use in this function); did you mean '___kernel_t_nested_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:35:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___kernel_t_ready_q_OFFSET' undeclared (first use in this function); did you mean '___kernel_t_idle_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:38:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___kernel_t_arch_OFFSET' undeclared (first use in this function); did you mean '___kernel_t_idle_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:39:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___ready_q_t_cache_OFFSET' undeclared (first use in this function); did you mean '___kernel_t_arch_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:42:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> In file included from C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:27:0:
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:49:18: error: '_STRUCT_KERNEL_SIZE' undeclared (first use in this function)
1> In file included from C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:25:0:
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___thread_base_t_user_options_OFFSET' undeclared (first use in this function)
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:51:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___thread_base_t_thread_state_OFFSET' undeclared (first use in this function); did you mean '___thread_base_t_user_options_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:52:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___thread_base_t_prio_OFFSET' undeclared (first use in this function); did you mean '___thread_base_t_user_options_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:53:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___thread_base_t_sched_locked_OFFSET' undeclared (first use in this function); did you mean '___thread_base_t_thread_state_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:54:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___thread_base_t_preempt_OFFSET' undeclared (first use in this function); did you mean '___thread_base_t_prio_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:55:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___thread_base_t_swap_data_OFFSET' undeclared (first use in this function); did you mean '___thread_base_t_preempt_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:56:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___thread_t_base_OFFSET' undeclared (first use in this function); did you mean '___ready_q_t_cache_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:58:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___thread_t_caller_saved_OFFSET' undeclared (first use in this function); did you mean '___thread_t_base_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:59:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___thread_t_callee_saved_OFFSET' undeclared (first use in this function); did you mean '___thread_t_caller_saved_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:60:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___thread_t_arch_OFFSET' undeclared (first use in this function); did you mean '___thread_t_base_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:61:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___thread_stack_info_t_start_OFFSET' undeclared (first use in this function); did you mean '___thread_t_callee_saved_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:64:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___thread_stack_info_t_size_OFFSET' undeclared (first use in this function); did you mean '___thread_stack_info_t_start_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:65:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___thread_t_stack_info_OFFSET' undeclared (first use in this function); did you mean '___thread_stack_info_t_size_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:67:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> In file included from C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:27:0:
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:78:18: error: 'K_THREAD_SIZEOF' undeclared (first use in this function); did you mean 'K_THREAD_DEFINE'?
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/kernel_offsets.h:81:18: error: '_DEVICE_STRUCT_SIZEOF' undeclared (first use in this function); did you mean 'K_THREAD_STACK_SIZEOF'?
1> In file included from C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:25:0:
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___thread_arch_t_basepri_OFFSET' undeclared (first use in this function); did you mean '___thread_t_base_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:29:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___thread_arch_t_swap_return_value_OFFSET' undeclared (first use in this function); did you mean '___thread_arch_t_basepri_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:30:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___esf_t_a1_OFFSET' undeclared (first use in this function); did you mean '___thread_t_arch_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:41:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___esf_t_a2_OFFSET' undeclared (first use in this function); did you mean '___esf_t_a1_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:42:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___esf_t_a3_OFFSET' undeclared (first use in this function); did you mean '___esf_t_a2_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:43:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___esf_t_a4_OFFSET' undeclared (first use in this function); did you mean '___esf_t_a3_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:44:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___esf_t_ip_OFFSET' undeclared (first use in this function); did you mean '___esf_t_a4_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:45:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___esf_t_lr_OFFSET' undeclared (first use in this function); did you mean '___esf_t_ip_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:46:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___esf_t_pc_OFFSET' undeclared (first use in this function); did you mean '___esf_t_lr_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:47:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___esf_t_xpsr_OFFSET' undeclared (first use in this function); did you mean '___esf_t_pc_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:48:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:55:18: error: '___esf_t_SIZEOF' undeclared (first use in this function); did you mean 'K_THREAD_SIZEOF'?
1> In file included from C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:25:0:
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___callee_saved_t_v1_OFFSET' undeclared (first use in this function); did you mean '___esf_t_a1_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:57:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___callee_saved_t_v2_OFFSET' undeclared (first use in this function); did you mean '___callee_saved_t_v1_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:58:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___callee_saved_t_v3_OFFSET' undeclared (first use in this function); did you mean '___callee_saved_t_v2_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:59:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___callee_saved_t_v4_OFFSET' undeclared (first use in this function); did you mean '___callee_saved_t_v3_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:60:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___callee_saved_t_v5_OFFSET' undeclared (first use in this function); did you mean '___callee_saved_t_v4_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:61:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___callee_saved_t_v6_OFFSET' undeclared (first use in this function); did you mean '___callee_saved_t_v5_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:62:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___callee_saved_t_v7_OFFSET' undeclared (first use in this function); did you mean '___callee_saved_t_v6_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:63:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___callee_saved_t_v8_OFFSET' undeclared (first use in this function); did you mean '___callee_saved_t_v7_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:64:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/kernel/include/gen_offset.h:80:19: error: '___callee_saved_t_psp_OFFSET' undeclared (first use in this function); did you mean '___callee_saved_t_v8_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:65:1: note: in expansion of macro 'GEN_OFFSET_SYM'
1> C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:69:18: error: '___callee_saved_t_SIZEOF' undeclared (first use in this function); did you mean '___callee_saved_t_psp_OFFSET'?
1> C:/Dev/nrfconnectsdk/zephyr/arch/arm/core/offsets/offsets.c:80:18: error: '_K_THREAD_NO_FLOAT_SIZEOF' undeclared (first use in this function); did you mean 'K_THREAD_STACK_SIZEOF'?
Build failed

Parents
  • Hello, 
     

    I've followed the Getting Started Assistant.

    What version of the Getting Started Assistant are you running? The current version is v0.9.0. When following the steps in the assistant, did you get any errors prior to the issue you have described?

    When I check out the v3 tag it doesn't have the west.yml file, so I can't do `west update`.

    The Getting Started Assistant does have a bug: there are no other branches (other than master) to checkout when following the assistant. 

    After running 

    west init -m https://github.com/NordicPlayground/fw-nrfconnect-nrf

    It should state:

    === West initialized. Now run "west update" in <sourcecode_root>\NCS


    See this thread for more information.

    Kind regards,
    Øyvind

  • Hi!

    I removed my old directory and ran `west init` and `west update` again and I'm now able to build the samples. Thank you!

    However, when I build the `spm` sample and write it to the nRF9160 and also build and download the `coap_client` sample, the old application `at_client` is started on boot.

    I can see in the nRF Connect Programmer that there are two applications in memory, one at 0x00008000 (`coap_client`) and one at 0x00040000 (`at_client` (flashed from a .hex file from this forum)).

    So the `spm` loads the application from 0x00040000, but SES flashes it at 0x00008000. What am I doing wrong?

    I use the board without `_ns` when building `spm` and the board with `_ns` when building `coap_client`.

  • Hi Marten,

    Please look at this link. Do you have the correct path in SES?

    Kind regards,

    Øyvind

  • Yes I set the correct path for gcc and zepyr base.

  • And you are still not able to use SES? 

    Just a shot in the dark, but what direction is your slash in the path? 
    From previous link I posted, it shows:
    C:/ncs/zephyr but this should be C:\ncs\zephyr

    Ref. this link

  • in SES, nRF Connect environment Options I indeed already used back slashes (windows style): \

    Build output:

    3> Compiling ‘socket_offload.c’
    3> C:/gnuarmemb/bin/arm-none-eabi-gcc -DBUILD_VERSION=v1.14.99-ncs1 -DKERNEL -DNRF9160_XXAA -DUSE_PARTITION_MANAGER=0 -D_FORTIFY_SOURCE=2 -D__LINUX_ERRNO_EXTENSIONS__ -D__ZEPHYR__=1 -ID:/ncs/zephyr/kernel/include -ID:/ncs/zephyr/arch/arm/include -ID:/ncs/zephyr/include -ID:/ncs/zephyr/include/drivers -Izephyr/include/generated -ID:/ncs/zephyr/soc/arm/nordic_nrf/nrf91 -ID:/ncs/zephyr/soc/arm/nordic_nrf/include -ID:/ncs/zephyr/ext/hal/cmsis/Include -ID:/ncs/zephyr/ext/hal/nordic/nrfx -ID:/ncs/zephyr/ext/hal/nordic/nrfx/drivers/include -ID:/ncs/zephyr/ext/hal/nordic/nrfx/hal -ID:/ncs/zephyr/ext/hal/nordic/nrfx/mdk -ID:/ncs/zephyr/ext/hal/nordic/. -ID:/ncs/zephyr/subsys/net/lib/sockets/. -ID:/ncs/nrf/include -ID:/ncs/nrf/ext/cjson/. -ID:/ncs/nrf/lib/at_cmd_parser/include -ID:/ncs/nrf/subsys/net/lib/nrf_cloud/./include -ID:/ncs/nrfxlib/bsdlib/include -ID:/ncs/nrf/applications/asset_tracker/src -ID:/ncs/nrfxlib/crypto/nrf_oberon/include -isystem C:/gnuarmemb/arm-none-eabi/include -Os -g -Wall -Wformat -Wformat-security -Wno-format-zero-length -imacros D:/ncs/nrf/applications/asset_tracker/build_nrf9160_pca10090/zephyr/include/generated/autoconf.h -ffreestanding -Wno-main -fno-common -mthumb -mcpu=cortex-m33 -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -Wno-pointer-sign -Wno-unused-but-set-variable -fno-reorder-functions -fno-defer-pop -Werror=implicit-int -Wpointer-arith -ffunction-sections -fdata-sections -mabi=aapcs -march=armv8-m.main+dsp -std=c99 -MD -MF D:/ncs/nrf/applications/asset_tracker/build_nrf9160_pca10090/zephyr\CMakeFiles\zephyr.dir\subsys\net\lib\sockets\socket_offload.c.obj.d -fno-diagnostics-show-caret -o zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/socket_offload.c.obj -c D:/ncs/zephyr/subsys/net/lib/sockets/socket_offload.c
    11> In file included from D:/ncs/zephyr/include/toolchain.h:21:0,
    11>                  from zephyr/misc/generated/configs.c:7:
    11> D:/ncs/zephyr/include/toolchain/gcc.h:325:51: error: expected expression before ')' token
    11> zephyr/misc/generated/configs.c:22:1: note: in expansion of macro 'GEN_ABSOLUTE_SYM'
    11> D:/ncs/zephyr/include/toolchain/gcc.h:325:51: error: expected expression before ')' token
    11> zephyr/misc/generated/configs.c:29:1: note: in expansion of macro 'GEN_ABSOLUTE_SYM'
    Build failed

  • Thanks for your feedback! Can you please register a new support ticket here. We need to get this kind of issue registered.

    Please add a screenshot of your "nRF Connect settings" and the "Open nRF Connect SDK project" in SES 4.16.

    Thank you!

    Kind regards,
    Øyvind

Reply Children
No Data
Related