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

Buildproblem with nRF9160 release v1.0.0

Hi,

I checkout v1.0.0 and try to build the at_client-sample but it fails. I cannot see anything I did wrong.
I'm attaching the exact steps to reproduce the behaviour.

Step 1. Following first this guide
http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_ins_linux.html

1. mkdir f:\nordic + cd nordic
2. Cloning the repositories
  a. west init -m github.com/.../fw-nrfconnect-nrf --mr v1.0.0
  b. west update

Step 2. Then this one
https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/how-to-get-production-version-v1-0-0-to-nrf9160

1. cd nrf
2. git checkout master
3. git pull
4. git checkout v1.0.0
5. west update

To be clear what was checked out, log is here below.

LOG

F:\nordic\nrf>git checkout v1.0.0
Note: checking out 'v1.0.0'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b <new-branch-name>

HEAD is now at 1f3f87d manifest: Updated manifest to use v1.0.0 release tags

F:\nordic\nrf>west update
WARNING: ZEPHYR_BASE=F:\nsd_src_root2\ncs\zephyr in the calling environment will be used, but was set to F:\nordic\zephyr in west config.
To disable this warning, execute 'west config --global zephyr.base-prefer env'
=== self-updating west:
--- west: fetching changes
From github.com/.../west
* tag v0.5.8 -> FETCH_HEAD
--- west: checked out 1980f707d6cb2b71d3488420e928051cc0a9df13 as detached HEAD
=== updating fw-nrfconnect-zephyr (zephyr):
--- fw-nrfconnect-zephyr: fetching changes
From github.com/.../fw-nrfconnect-zephyr
* tag v1.14.99-ncs2 -> FETCH_HEAD
--- fw-nrfconnect-zephyr: checked out 7e64ac737daead12d2dbdda5daec04188243a81c as detached HEAD
=== updating nffs (modules\fs\nffs):
--- nffs: fetching changes
--- nffs: checked out bc62a2fa9d98ddb5d633c932ea199bc68e10f194 as detached HEAD
=== updating segger (modules\debug\segger):
--- segger: fetching changes
--- segger: checked out 6fcf61606d6012d2c44129edc033f59331e268bc as detached HEAD
=== updating fw-nrfconnect-mcuboot (mcuboot):
--- fw-nrfconnect-mcuboot: fetching changes
From github.com/.../fw-nrfconnect-mcuboot
* tag v1.3.99-ncs2 -> FETCH_HEAD
--- fw-nrfconnect-mcuboot: checked out 8b0e50cd5898e66e8bf92b5378c5b29fb0838471 as detached HEAD
=== updating fw-nrfconnect-mcumgr (modules\lib\mcumgr):
--- fw-nrfconnect-mcumgr: fetching changes
--- fw-nrfconnect-mcumgr: checked out c8f675a5fa7f62106b9d913844bd5ed6e16ae69e as detached HEAD
=== updating fw-nrfconnect-tinycbor (modules\lib\tinycbor):
--- fw-nrfconnect-tinycbor: fetching changes
--- fw-nrfconnect-tinycbor: checked out 543ecb7c8662580ef803d59ceda7bd3b8a84a11b as detached HEAD
=== updating nrfxlib (nrfxlib):
--- nrfxlib: fetching changes
From github.com/.../nrfxlib
* tag v1.0.0 -> FETCH_HEAD
--- nrfxlib: checked out efcbc258d7c869457e5af59f100fe9a7eeb19b62 as detached HEAD
=== updating cmock (test\cmock):
--- cmock: fetching changes
--- cmock: checked out c243b9a7a7b3c471023193992b46cf1bd1910450 as detached HEAD
=== updating unity (test\cmock\vendor\unity):
--- unity: fetching changes
--- unity: checked out 031f3bbe45f8adf504ca3d13e6f093869920b091 as detached HEAD
=== updating mbedtls (mbedtls):
--- mbedtls: fetching changes
From github.com/.../mbedtls
* tag mbedtls-2.13.1 -> FETCH_HEAD
--- mbedtls: checked out 53546ea099f6f53d0be653a64accd250e170337f as detached HEAD

F:\nordic\nrf>

Step 3. Build at_client with SEGGER Embedded Studio for ARM (Nordic Edition) V4.16 (64-bit)

1. Configure location of Nordic SDK via menu: Tools ->Options -> nRF Connect -> Zephyr Base = F:\nordic\zephyr
2. Open the project -> File -> Open nRF Connect SDK Project...
  a. Select according to picture below.

b. Press OK.
c. Waiting for indexing to finish (minutes)
d. Choosing Build Solution in menu.
  - Build fails. multple definitions of z_abort_timeout

Build log below

Building ‘spm/zephyr/include/generated/driver-validation.h’ from solution ‘build’ in configuration ‘Common’
1> Combining ‘spm/zephyr/include/generated/driver-validation.h’
Building ‘spm/zephyr/CMakeFiles/spm_driver_validation_h_target’ from solution ‘build’ in configuration ‘Common’
Building ‘spm/zephyr/spm_driver_validation_h_target’ from solution ‘build’ in configuration ‘Common’
Building ‘spm/zephyr/include/generated/kobj-types-enum.h’ from solution ‘build’ in configuration ‘Common’
1> Combining ‘spm/zephyr/include/generated/kobj-types-enum.h’
Building ‘spm/zephyr/include/generated/otype-to-str.h’ from solution ‘build’ in configuration ‘Common’
Building ‘spm/zephyr/CMakeFiles/spm_kobj_types_h_target’ from solution ‘build’ in configuration ‘Common’
Building ‘spm/zephyr/spm_kobj_types_h_target’ from solution ‘build’ in configuration ‘Common’
Building ‘spm/zephyr/misc/generated/syscalls.json’ from solution ‘build’ in configuration ‘Common’
1> Combining ‘spm/zephyr/misc/generated/syscalls.json’
Building ‘spm/zephyr/include/generated/syscall_list.h’ from solution ‘build’ in configuration ‘Common’
1> Combining ‘spm/zephyr/include/generated/syscall_list.h’
Building ‘spm/zephyr/CMakeFiles/spm_syscall_list_h_target’ from solution ‘build’ in configuration ‘Common’
Building ‘spm/zephyr/include/generated/syscall_dispatch.c’ from solution ‘build’ in configuration ‘Common’
Building ‘spm/zephyr/spm_syscall_list_h_target’ from solution ‘build’ in configuration ‘Common’
Building ‘spm/zephyr/include/generated/syscall_macros.h’ from solution ‘build’ in configuration ‘Common’
1> Combining ‘spm/zephyr/include/generated/syscall_macros.h’
Building ‘spm/zephyr/CMakeFiles/spm_syscall_macros_h_target’ from solution ‘build’ in configuration ‘Common’
Building ‘spm/zephyr/spm_syscall_macros_h_target’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_spm_offsets’ from solution ‘build’ in configuration ‘Common’
Building ‘spm/zephyr/spm_offsets’ from solution ‘build’ in configuration ‘Common’
1> Compiling ‘offsets.c’
Building ‘spm/zephyr/include/generated/offsets.h’ from solution ‘build’ in configuration ‘Common’
1> Combining ‘spm/zephyr/include/generated/offsets.h’
Building ‘spm/zephyr/CMakeFiles/spm_offsets_h’ from solution ‘build’ in configuration ‘Common’
Building ‘spm/zephyr/spm_offsets_h’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_spm_app’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_spm_arch__arm__core’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_spm_arch__arm__core__cortex_m’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_spm_arch__arm__core__cortex_m__mpu’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_spm_drivers__serial’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_spm_kernel’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_spm_lib__libc__minimal’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_spm_mbedcrypto_vanilla’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_spm_mbeddrbg’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_spm_zephyr’ from solution ‘build’ in configuration ‘Common’
Building ‘spm/zephyr/linker.cmd’ from solution ‘build’ in configuration ‘Common’
1> Combining ‘spm/zephyr/linker.cmd’
Building ‘spm/zephyr/CMakeFiles/spm_linker_script_target’ from solution ‘build’ in configuration ‘Common’
Building ‘spm/zephyr/spm_linker_script_target’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_spm_zephyr_prebuilt’ from solution ‘build’ in configuration ‘Common’
Building ‘spm/spm_app/libspm_app.a’ from solution ‘build’ in configuration ‘Common’
Building ‘spm/zephyr/libspm_zephyr.a’ from solution ‘build’ in configuration ‘Common’
Building ‘spm/zephyr/arch/arm/core/libspm_arch__arm__core.a’ from solution ‘build’ in configuration ‘Common’
1> Compiling ‘isr_tables.c’
2> Compiling ‘main.c’
Building ‘spm/zephyr/arch/arm/core/cortex_m/libspm_arch__arm__core__cortex_m.a’ from solution ‘build’ in configuration ‘Common’
3> Assembling ‘exc_exit.S’
Building ‘spm/zephyr/arch/arm/core/cortex_m/mpu/libspm_arch__arm__core__cortex_m__mpu.a’ from solution ‘build’ in configuration ‘Common’
4> Assembling ‘vector_table.S’
Building ‘spm/zephyr/lib/libc/minimal/libspm_lib__libc__minimal.a’ from solution ‘build’ in configuration ‘Common’
5> Compiling ‘arm_core_mpu.c’
Building ‘spm/zephyr/drivers/serial/libspm_drivers__serial.a’ from solution ‘build’ in configuration ‘Common’
6> Compiling ‘atoi.c’
Building ‘spm/zephyr/modules/nrfxlib/nrf_security/src/mbedtls/libspm_mbeddrbg.a’ from solution ‘build’ in configuration ‘Common’
7> Compiling ‘uart_nrfx_uarte.c’
Building ‘spm/zephyr/modules/nrfxlib/nrf_security/src/mbedtls/libspm_mbedcrypto_vanilla.a’ from solution ‘build’ in configuration ‘Common’
8> Compiling ‘ctr_drbg.c’
Building ‘spm/zephyr/kernel/libspm_kernel.a’ from solution ‘build’ in configuration ‘Common’
9> Compiling ‘aes.c’
10> Compiling ‘device.c’
2> Archiving ‘libspm_app.a’
1> Compiling ‘sw_isr_common.c’
3> Assembling ‘swap_helper.S’
4> Assembling ‘reset.S’
6> Compiling ‘strtol.c’
9> Compiling ‘aesni.c’
5> Compiling ‘arm_mpu.c’
8> Compiling ‘entropy.c’
4> Assembling ‘nmi_on_reset.S’
3> Assembling ‘cpu_idle.S’
1> Compiling ‘arm_core_cmse.c’
7> Archiving ‘libspm_drivers__serial.a’
9> Compiling ‘arc4.c’
6> Compiling ‘strtoul.c’
10> Compiling ‘errno.c’
3> Assembling ‘fault_s.S’
4> Compiling ‘prep_c.c’
9> Compiling ‘aria.c’
8> Archiving ‘libspm_mbeddrbg.a’
3> Assembling ‘isr_wrapper.S’
6> Compiling ‘malloc.c’
1> Compiling ‘arm_core_tz.c’
9> Compiling ‘asn1parse.c’
10> Compiling ‘idle.c’
5> Archiving ‘libspm_arch__arm__core__cortex_m__mpu.a’
3> Compiling ‘irq_init.c’
4> Compiling ‘scb.c’
6> Compiling ‘bsearch.c’
1> Compiling ‘crc32_sw.c’
9> Compiling ‘asn1write.c’
10> Compiling ‘init.c’
3> Compiling ‘swap.c’
4> Compiling ‘nmi.c’
6> Compiling ‘exit.c’
1> Compiling ‘crc16_sw.c’
3> Compiling ‘fault.c’
9> Compiling ‘base64.c’
1> Compiling ‘crc8_sw.c’
4> Compiling ‘exc_manage.c’
10> Compiling ‘mailbox.c’
6> Compiling ‘strncasecmp.c’
1> Compiling ‘crc7_sw.c’
6> Compiling ‘strstr.c’
9> Compiling ‘bignum.c’
4> Archiving ‘libspm_arch__arm__core__cortex_m.a’
1> Compiling ‘fdtable.c’
3> Compiling ‘irq_manage.c’
6> Compiling ‘string.c’
10> Compiling ‘mem_slab.c’
1> Compiling ‘mempool.c’
3> Compiling ‘thread.c’
6> Compiling ‘prf.c’
10> Compiling ‘mempool.c’
3> Compiling ‘fatal.c’
10> Compiling ‘msg_q.c’
1> Compiling ‘rb.c’
6> Compiling ‘stdout_console.c’
3> Compiling ‘sys_fatal_error_handler.c’
6> Compiling ‘sprintf.c’
10> Compiling ‘mutex.c’
9> Compiling ‘blowfish.c’
3> Compiling ‘thread_abort.c’
6> Compiling ‘fprintf.c’
1> Compiling ‘thread_entry.c’
9> Compiling ‘camellia.c’
6> Archiving ‘libspm_lib__libc__minimal.a’
9> Compiling ‘ccm.c’
10> Compiling ‘pipes.c’
3> Archiving ‘libspm_arch__arm__core.a’
1> Compiling ‘work_q.c’
9> Compiling ‘chacha20.c’
9> Compiling ‘chachapoly.c’
1> Compiling ‘printk.c’
9> Compiling ‘cipher.c’
10> Compiling ‘queue.c’
1> Compiling ‘configs.c’
9> Compiling ‘cmac.c’
10> Compiling ‘sched.c’
9> Compiling ‘des.c’
1> Compiling ‘soc.c’
9> Compiling ‘dhm.c’
9> Compiling ‘ecdh.c’
1> Compiling ‘mpu_regions.c’
1> Compiling ‘system_nrf9160.c’
9> Compiling ‘ecdsa.c’
10> Compiling ‘sem.c’
1> Compiling ‘nrfx_glue.c’
10> Compiling ‘stack.c’
9> Compiling ‘ecjpake.c’
1> Compiling ‘power.c’
9> Compiling ‘ecp.c’
10> Compiling ‘system_work_q.c’
1> Compiling ‘reboot.c’
10> Compiling ‘thread.c’
1> Compiling ‘policy_residency.c’
1> Compiling ‘uart_console.c’
10> Compiling ‘thread_abort.c’
1> Compiling ‘nrf_power_clock.c’
10> Compiling ‘version.c’
9> Compiling ‘ecp_curves.c’
10> Compiling ‘work_q.c’
1> Compiling ‘sys_clock_init.c’
1> Compiling ‘nrf_rtc_timer.c’
10> Compiling ‘smp.c’
9> Compiling ‘entropy_poll.c’
10> Compiling ‘timeout.c’
1> Compiling ‘spm.c’
9> Compiling ‘error.c’
9> Compiling ‘gcm.c’
10> Compiling ‘timer.c’
1> Compiling ‘secure_services.c’
9> Compiling ‘havege.c’
9> Compiling ‘hkdf.c’
1> Archiving ‘libspm_zephyr.a’
10> Archiving ‘libspm_kernel.a’
9> Compiling ‘hmac_drbg.c’
9> Compiling ‘md.c’
9> Compiling ‘md2.c’
9> Compiling ‘md4.c’
9> Compiling ‘md5.c’
9> Compiling ‘md_wrap.c’
9> Compiling ‘memory_buffer_alloc.c’
9> Compiling ‘nist_kw.c’
9> Compiling ‘oid.c’
9> Compiling ‘padlock.c’
9> Compiling ‘pk.c’
9> Compiling ‘pk_wrap.c’
9> Compiling ‘pkcs12.c’
9> Compiling ‘pkcs5.c’
9> Compiling ‘pkparse.c’
9> Compiling ‘pkwrite.c’
9> Compiling ‘platform.c’
9> Compiling ‘platform_util.c’
9> Compiling ‘poly1305.c’
9> Compiling ‘ripemd160.c’
9> Compiling ‘rsa.c’
9> Compiling ‘rsa_internal.c’
9> Compiling ‘sha1.c’
9> Compiling ‘sha256.c’
9> Compiling ‘sha512.c’
9> Compiling ‘threading.c’
9> Compiling ‘timing.c’
9> Compiling ‘version.c’
9> Compiling ‘version_features.c’
9> Compiling ‘xtea.c’
9> Compiling ‘cipher_wrap.c’
9> Compiling ‘pem.c’
9> Archiving ‘libspm_mbedcrypto_vanilla.a’
Building ‘spm/zephyr/spm_zephyr_prebuilt.elf’ from solution ‘build’ in configuration ‘Common’
1> Compiling ‘empty_file.c’
1> Linking ‘spm_zephyr_prebuilt.elf’
1> Memory region Used Size Region Size %age Used
1> FLASH: 32 KB 48 KB 66.67%
1> SRAM: 10000 B 64 KB 15.26%
1> IDT_LIST: 40 B 2 KB 1.95%
Building ‘spm/zephyr/linker_pass_final.cmd’ from solution ‘build’ in configuration ‘Common’
1> Combining ‘spm/zephyr/linker_pass_final.cmd’
Building ‘spm/zephyr/CMakeFiles/spm_linker_pass_final_script_target’ from solution ‘build’ in configuration ‘Common’
Building ‘spm/zephyr/spm_linker_pass_final_script_target’ from solution ‘build’ in configuration ‘Common’
Building ‘spm/zephyr/isr_tables.c’ from solution ‘build’ in configuration ‘Common’
1> Combining ‘spm/zephyr/isr_tables.c’
Building ‘cmake_object_order_depends_target_spm_zephyr_final’ from solution ‘build’ in configuration ‘Common’
Building ‘libspmsecureentries.a’ from solution ‘build’ in configuration ‘Common’
Building ‘spm/zephyr/zephyr.elf’ from solution ‘build’ in configuration ‘Common’
1> Compiling ‘empty_file.c’
2> Linking ‘zephyr.elf’
1> Compiling ‘isr_tables.c’
2> Post-link command
1> Linking ‘libspmsecureentries.a’
1> Post-link command
Building ‘spm/zephyr/arch/arm/core/cortex_m/tz/CMakeFiles/nsc_veneers’ from solution ‘build’ in configuration ‘Common’
Building ‘spm/zephyr/arch/arm/core/cortex_m/tz/nsc_veneers’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/include/generated/driver-validation.h’ from solution ‘build’ in configuration ‘Common’
1> Combining ‘zephyr/include/generated/driver-validation.h’
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’
1> Combining ‘zephyr/include/generated/kobj-types-enum.h’
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’
1> Combining ‘zephyr/include/generated/syscall_list.h’
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’
1> Combining ‘zephyr/include/generated/syscall_macros.h’
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’
Building ‘zephyr/include/generated/offsets.h’ from solution ‘build’ in configuration ‘Common’
1> Combining ‘zephyr/include/generated/offsets.h’
Building ‘zephyr/CMakeFiles/offsets_h’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/offsets_h’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_app’ from solution ‘build’ in configuration ‘Common’
Building ‘app/libapp.a’ from solution ‘build’ in configuration ‘Common’
1> Compiling ‘main.c’
1> Archiving ‘libapp.a’
Building ‘cmake_object_order_depends_target_..__nrf__drivers__at_cmd’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_..__nrf__lib__at_host’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_..__nrf__lib__bsdlib’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_arch__arm__core’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_arch__arm__core__cortex_m’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_arch__arm__core__cortex_m__mpu’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_drivers__gpio’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_drivers__serial’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_kernel’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_lib__libc__minimal’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_subsys__net’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_subsys__net__ip’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_zephyr’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/linker.cmd’ from solution ‘build’ in configuration ‘Common’
1> Combining ‘zephyr/linker.cmd’
Building ‘zephyr/CMakeFiles/linker_script_target’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/linker_script_target’ from solution ‘build’ in configuration ‘Common’
Building ‘cmake_object_order_depends_target_zephyr_prebuilt’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/libzephyr.a’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/arch/arm/core/libarch__arm__core.a’ from solution ‘build’ in configuration ‘Common’
Building ‘zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a’ from solution ‘build’ in configuration ‘Common’
1> Assembling ‘exc_exit.S’
2> Compiling ‘isr_tables.c’
Building ‘zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a’ from solution ‘build’ in configuration ‘Common’
3> Assembling ‘vector_table.S’
Building ‘zephyr/lib/libc/minimal/liblib__libc__minimal.a’ from solution ‘build’ in configuration ‘Common’
4> Compiling ‘arm_core_mpu.c’
Building ‘zephyr/subsys/net/libsubsys__net.a’ from solution ‘build’ in configuration ‘Common’
5> Compiling ‘atoi.c’
Building ‘zephyr/subsys/net/ip/libsubsys__net__ip.a’ from solution ‘build’ in configuration ‘Common’
6> Compiling ‘buf.c’
Building ‘zephyr/drivers/gpio/libdrivers__gpio.a’ from solution ‘build’ in configuration ‘Common’
7> Compiling ‘net_context.c’
Building ‘zephyr/drivers/serial/libdrivers__serial.a’ from solution ‘build’ in configuration ‘Common’
8> Compiling ‘gpio_nrfx.c’
Building ‘zephyr/modules/nrf/lib/bsdlib/lib..__nrf__lib__bsdlib.a’ from solution ‘build’ in configuration ‘Common’
9> Compiling ‘uart_nrfx_uarte.c’
Building ‘zephyr/modules/nrf/lib/at_host/lib..__nrf__lib__at_host.a’ from solution ‘build’ in configuration ‘Common’
10> Compiling ‘bsdlib.c’
Building ‘zephyr/modules/nrf/drivers/at_cmd/lib..__nrf__drivers__at_cmd.a’ from solution ‘build’ in configuration ‘Common’
11> Compiling ‘at_host.c’
Building ‘zephyr/kernel/libkernel.a’ from solution ‘build’ in configuration ‘Common’
12> Compiling ‘at_cmd.c’
1> Assembling ‘swap_helper.S’
13> Compiling ‘device.c’
2> Compiling ‘sw_isr_common.c’
3> Assembling ‘reset.S’
5> Compiling ‘strtol.c’
4> Compiling ‘arm_mpu.c’
1> Assembling ‘cpu_idle.S’
7> Compiling ‘net_core.c’
3> Assembling ‘nmi_on_reset.S’
9> Archiving ‘libdrivers__serial.a’
8> Archiving ‘libdrivers__gpio.a’
5> Compiling ‘strtoul.c’
10> Compiling ‘bsd_os.c’
13> Compiling ‘errno.c’
12> Archiving ‘lib..__nrf__drivers__at_cmd.a’
1> Assembling ‘fault_s.S’
3> Compiling ‘prep_c.c’
2> Compiling ‘arm_core_cmse.c’
6> Archiving ‘libsubsys__net.a’
1> Assembling ‘isr_wrapper.S’
11> Archiving ‘lib..__nrf__lib__at_host.a’
5> Compiling ‘malloc.c’
13> Compiling ‘idle.c’
4> Archiving ‘libarch__arm__core__cortex_m__mpu.a’
7> Compiling ‘net_if.c’
1> Compiling ‘irq_init.c’
3> Compiling ‘scb.c’
10> Compiling ‘nrf91_sockets.c’
2> Compiling ‘crc32_sw.c’
5> Compiling ‘bsearch.c’
13> Compiling ‘init.c’
1> Compiling ‘swap.c’
2> Compiling ‘crc16_sw.c’
3> Compiling ‘nmi.c’
5> Compiling ‘exit.c’
2> Compiling ‘crc8_sw.c’
1> Compiling ‘fault.c’
13> Compiling ‘mailbox.c’
3> Compiling ‘exc_manage.c’
7> Compiling ‘net_pkt.c’
2> Compiling ‘crc7_sw.c’
5> Compiling ‘strncasecmp.c’
10> Archiving ‘lib..__nrf__lib__bsdlib.a’
2> Compiling ‘fdtable.c’
5> Compiling ‘strstr.c’
1> Compiling ‘irq_manage.c’
3> Archiving ‘libarch__arm__core__cortex_m.a’
5> Compiling ‘string.c’
13> Compiling ‘mem_slab.c’
2> Compiling ‘mempool.c’
1> Compiling ‘thread.c’
5> Compiling ‘prf.c’
13> Compiling ‘mempool.c’
7> Compiling ‘net_tc.c’
1> Compiling ‘fatal.c’
2> Compiling ‘rb.c’
13> Compiling ‘msg_q.c’
7> Compiling ‘utils.c’
5> Compiling ‘stdout_console.c’
1> Compiling ‘sys_fatal_error_handler.c’
5> Compiling ‘sprintf.c’
1> Compiling ‘thread_abort.c’
2> Compiling ‘thread_entry.c’
13> Compiling ‘mutex.c’
5> Compiling ‘fprintf.c’
7> Archiving ‘libsubsys__net__ip.a’
1> Archiving ‘libarch__arm__core.a’
2> Compiling ‘work_q.c’
5> Archiving ‘liblib__libc__minimal.a’
13> Compiling ‘pipes.c’
2> Compiling ‘printk.c’
2> Compiling ‘assert.c’
13> Compiling ‘queue.c’
2> Compiling ‘configs.c’
13> Compiling ‘sched.c’
2> Compiling ‘soc.c’
2> Compiling ‘mpu_regions.c’
2> Compiling ‘system_nrf9160.c’
2> Compiling ‘nrfx_glue.c’
13> Compiling ‘sem.c’
2> Compiling ‘addr_utils.c’
13> Compiling ‘stack.c’
2> Compiling ‘socket_offload.c’
13> Compiling ‘system_work_q.c’
2> Compiling ‘rand32_timer.c’
13> Compiling ‘thread.c’
2> Compiling ‘power.c’
2> Compiling ‘policy_residency.c’
13> Compiling ‘thread_abort.c’
2> Compiling ‘uart_console.c’
13> Compiling ‘version.c’
13> Compiling ‘work_q.c’
2> Compiling ‘nrf_power_clock.c’
2> Compiling ‘sys_clock_init.c’
13> Compiling ‘smp.c’
2> Compiling ‘nrf_rtc_timer.c’
13> Compiling ‘timeout.c’
2> Compiling ‘secure_services_ns.c’
13> Compiling ‘timer.c’
2> Archiving ‘libzephyr.a’
13> Compiling ‘poll.c’
13> Archiving ‘libkernel.a’
Building ‘zephyr/zephyr_prebuilt.elf’ from solution ‘build’ in configuration ‘Common’
1> Compiling ‘empty_file.c’
1> Linking ‘zephyr_prebuilt.elf’
1> Memory region Used Size Region Size %age Used
1> FLASH: 123716 B 976 KB 12.38%
1> SRAM: 24 KB 128 KB 18.75%
1> libspmsecureentries.a: In function `z_abort_timeout':
1> F:/nordic/zephyr/kernel/timeout.c:114: multiple definition of `z_abort_timeout'
1> zephyr/kernel/libkernel.a(timeout.c.obj):F:/nordic/zephyr/kernel/timeout.c:114: first defined here
1> libspmsecureentries.a:F:/nordic/zephyr/kernel/init.c:80: multiple definition of `_idle_stack'
1> zephyr/kernel/libkernel.a(init.c.obj):F:/nordic/zephyr/kernel/init.c:80: first defined here
1> libspmsecureentries.a: In function `z_init_thread_base':
1> F:/nordic/zephyr/kernel/thread.c:683: multiple definition of `z_init_thread_base'
1> zephyr/kernel/libkernel.a(thread.c.obj):F:/nordic/zephyr/kernel/thread.c:683: first defined here
1> libspmsecureentries.a: In function `z_clock_announce':
1> F:/nordic/zephyr/kernel/timeout.c:177: multiple definition of `z_clock_announce'
1> zephyr/kernel/libkernel.a(timeout.c.obj):F:/nordic/zephyr/kernel/timeout.c:177: first defined here
1> libspmsecureentries.a: In function `__get_IPSR':
1> F:/nordic/zephyr/ext/hal/cmsis/Include/cmsis_gcc.h:209: multiple definition of `k_is_in_isr'
1> zephyr/kernel/libkernel.a(thread.c.obj):F:/nordic/zephyr/ext/hal/cmsis/Include/cmsis_gcc.h:209: first defined here
1> libspmsecureentries.a: In function `__hard_fault':
1> F:/nordic/zephyr/arch/arm/core/fault_s.S:97: multiple definition of `__usage_fault'
1> zephyr/arch/arm/core/libarch__arm__core.a(fault_s.S.obj):F:/nordic/zephyr/arch/arm/core/fault_s.S:97: first defined here
1> libspmsecureentries.a: In function `gcov_coverage_dump':
1> F:/nordic/zephyr/kernel/init.c:462: multiple definition of `_vector_table'
1> zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a(vector_table.S.obj):(.exc_vector_table._vector_table_section+0x0): first defined here
1> libspmsecureentries.a: In function `z_unpend_thread_no_timeout':
1> F:/nordic/zephyr/kernel/sched.c:407: multiple definition of `z_unpend_thread_no_timeout'
1> zephyr/kernel/libkernel.a(sched.c.obj):F:/nordic/zephyr/kernel/sched.c:407: first defined here
1> libspmsecureentries.a: In function `__swap':
1> F:/nordic/zephyr/arch/arm/core/swap.c:55: multiple definition of `__swap'
1> zephyr/arch/arm/core/libarch__arm__core.a(swap.c.obj):F:/nordic/zephyr/arch/arm/core/swap.c:55: first defined here
1> libspmsecureentries.a: In function `z_new_thread':
1> F:/nordic/zephyr/arch/arm/core/thread.c:57: multiple definition of `z_new_thread'
1> zephyr/arch/arm/core/libarch__arm__core.a(thread.c.obj):F:/nordic/zephyr/arch/arm/core/thread.c:57: first defined here
1> libspmsecureentries.a: In function `k_cpu_idle':
1> F:/nordic/zephyr/arch/arm/core/cpu_idle.S:131: multiple definition of `k_cpu_idle'
1> zephyr/arch/arm/core/libarch__arm__core.a(cpu_idle.S.obj):F:/nordic/zephyr/arch/arm/core/cpu_idle.S:131: first defined here
1> libspmsecureentries.a: In function `z_is_thread_essential':
1> F:/nordic/zephyr/kernel/thread.c:99: multiple definition of `z_is_thread_essential'
1> zephyr/kernel/libkernel.a(thread.c.obj):F:/nordic/zephyr/kernel/thread.c:99: first defined here
1> libspmsecureentries.a: In function `z_arch_irq_disable':
1> F:/nordic/zephyr/arch/arm/core/irq_manage.c:59: multiple definition of `z_arch_irq_disable'
1> zephyr/arch/arm/core/libarch__arm__core.a(irq_manage.c.obj):F:/nordic/zephyr/arch/arm/core/irq_manage.c:59: first defined here
1> libspmsecureentries.a:F:/nordic/zephyr/kernel/init.c:79: multiple definition of `_main_stack'
1> zephyr/kernel/libkernel.a(init.c.obj):F:/nordic/zephyr/kernel/init.c:79: first defined here
1> libspmsecureentries.a: In function `memmove':
1> F:/nordic/zephyr/lib/libc/minimal/source/string/string.c:206: multiple definition of `memmove'
1> zephyr/lib/libc/minimal/liblib__libc__minimal.a(string.c.obj):F:/nordic/zephyr/lib/libc/minimal/source/string/string.c:206: first defined here
1> libspmsecureentries.a: In function `_region_min_align':
1> isr_tables.c:(*ABS*+0x6c): multiple definition of `K_THREAD_SIZEOF'
1> libspmsecureentries.a: In function `__start':
1> F:/nordic/zephyr/arch/arm/core/cortex_m/reset.S:62: multiple definition of `__reset'
1> zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a(reset.S.obj):F:/nordic/zephyr/arch/arm/core/cortex_m/reset.S:62: first defined here
1> libspmsecureentries.a: In function `__svc':
1> F:/nordic/zephyr/arch/arm/core/swap_helper.S:376: multiple definition of `__svc'
1> zephyr/arch/arm/core/libarch__arm__core.a(swap_helper.S.obj):F:/nordic/zephyr/arch/arm/core/swap_helper.S:376: first defined here
1> libspmsecureentries.a: In function `z_thread_entry':
1> F:/nordic/zephyr/lib/os/thread_entry.c:28: multiple definition of `z_thread_entry'
1> zephyr/libzephyr.a(thread_entry.c.obj):F:/nordic/zephyr/lib/os/thread_entry.c:28: first defined here
1> libspmsecureentries.a: In function `_IntExit':
1> F:/nordic/zephyr/arch/arm/core/exc_exit.S:71: multiple definition of `z_ExcExit'
1> zephyr/arch/arm/core/libarch__arm__core.a(exc_exit.S.obj):F:/nordic/zephyr/arch/arm/core/exc_exit.S:71: first defined here
1> libspmsecureentries.a: In function `__data_ram_start':
1> F:/nordic/zephyr/lib/os/printk.c:56: multiple definition of `_char_out'
1> zephyr/libzephyr.a(printk.c.obj):F:/nordic/zephyr/lib/os/printk.c:56: first defined here
1> libspmsecureentries.a: In function `rtc1_nrf_isr':
1> F:/nordic/zephyr/drivers/timer/nrf_rtc_timer.c:55: multiple definition of `rtc1_nrf_isr'
1> zephyr/libzephyr.a(nrf_rtc_timer.c.obj):F:/nordic/zephyr/drivers/timer/nrf_rtc_timer.c:55: first defined here
1> libspmsecureentries.a: In function `relocate_vector_table':
1> F:/nordic/zephyr/arch/arm/core/cortex_m/prep_c.c:48: multiple definition of `_PrepC'
1> zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a(prep_c.c.obj):F:/nordic/zephyr/arch/arm/core/cortex_m/prep_c.c:48: first defined here
1> libspmsecureentries.a: In function `z_arch_configure_static_mpu_regions':
1> F:/nordic/zephyr/arch/arm/core/cortex_m/mpu/arm_core_mpu.c:62: multiple definition of `z_arch_configure_static_mpu_regions'
1> zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a(arm_core_mpu.c.obj):F:/nordic/zephyr/arch/arm/core/cortex_m/mpu/arm_core_mpu.c:62: first defined here
1> libspmsecureentries.a: In function `init_static_pools':
1> F:/nordic/zephyr/kernel/mempool.c:39: multiple definition of `init_static_pools'
1> zephyr/kernel/libkernel.a(mempool.c.obj):F:/nordic/zephyr/kernel/mempool.c:39: first defined here
1> libspmsecureentries.a: In function `__hard_fault':
1> F:/nordic/zephyr/arch/arm/core/fault_s.S:97: multiple definition of `__reserved'
1> zephyr/arch/arm/core/libarch__arm__core.a(fault_s.S.obj):F:/nordic/zephyr/arch/arm/core/fault_s.S:97: first defined here
1> libspmsecureentries.a: In function `memcpy':
1> F:/nordic/zephyr/lib/libc/minimal/source/string/string.c:237: multiple definition of `memcpy'
1> zephyr/lib/libc/minimal/liblib__libc__minimal.a(string.c.obj):F:/nordic/zephyr/lib/libc/minimal/source/string/string.c:237: first defined here
1> libspmsecureentries.a: In function `z_do_kernel_oops':
1> F:/nordic/zephyr/arch/arm/core/fatal.c:108: multiple definition of `z_do_kernel_oops'
1> zephyr/arch/arm/core/libarch__arm__core.a(fatal.c.obj):F:/nordic/zephyr/arch/arm/core/fatal.c:108: first defined here
1> libspmsecureentries.a: In function `z_impl_k_current_get':
1> F:/nordic/zephyr/kernel/sched.c:1078: multiple definition of `z_impl_k_current_get'
1> zephyr/kernel/libkernel.a(sched.c.obj):F:/nordic/zephyr/kernel/sched.c:1078: first defined here
1> libspmsecureentries.a: In function `z_cstart':
1> F:/nordic/zephyr/kernel/init.c:476: multiple definition of `z_cstart'
1> zephyr/kernel/libkernel.a(init.c.obj):F:/nordic/zephyr/kernel/init.c:476: first defined here
1> libspmsecureentries.a: In function `__data_ram_start':
1> isr_tables.c:(datas+0x4): multiple definition of `SystemCoreClock'
1> zephyr/libzephyr.a(system_nrf9160.c.obj):(.data.SystemCoreClock+0x0): first defined here
1> libspmsecureentries.a: In function `uart_console_hook_install':
1> F:/nordic/zephyr/drivers/console/uart_console.c:600: multiple definition of `uart_console_hook_install'
1> zephyr/libzephyr.a(uart_console.c.obj):F:/nordic/zephyr/drivers/console/uart_console.c:600: first defined here
1> libspmsecureentries.a: In function `z_sys_device_do_config_level':
1> F:/nordic/zephyr/kernel/device.c:40: multiple definition of `z_sys_device_do_config_level'
1> zephyr/kernel/libkernel.a(device.c.obj):F:/nordic/zephyr/kernel/device.c:40: first defined here
1> libspmsecureentries.a: In function `__kernel_ram_size':
1> isr_tables.c:(*ABS*+0x20000000): multiple definition of `CONFIG_SRAM_BASE_ADDRESS'
1> libspmsecureentries.a: In function `arm_core_mpu_configure_dynamic_mpu_regions':
1> f:\nordic\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:231: multiple definition of `arm_core_mpu_configure_dynamic_mpu_regions'
1> zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a(arm_mpu.c.obj):f:\nordic\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:231: first defined here
1> libspmsecureentries.a: In function `sys_dlist_is_empty':
1> F:/nordic/zephyr/include/misc/dlist.h:265: multiple definition of `z_priq_dumb_best'
1> zephyr/kernel/libkernel.a(sched.c.obj):F:/nordic/zephyr/include/misc/dlist.h:265: first defined here
1> libspmsecureentries.a: In function `z_sched_init':
1> F:/nordic/zephyr/kernel/sched.c:816: multiple definition of `z_sched_init'
1> zephyr/kernel/libkernel.a(sched.c.obj):F:/nordic/zephyr/kernel/sched.c:816: first defined here
1> libspmsecureentries.a: In function `_OffsetAbsSyms':
1> F:/nordic/zephyr/arch/arm/core/offsets/offsets.c:85: multiple definition of `_OffsetAbsSyms'
1> zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj:F:/nordic/zephyr/arch/arm/core/offsets/offsets.c:85: first defined here
1> libspmsecureentries.a: In function `__printk_hook_install':
1> F:/nordic/zephyr/lib/os/printk.c:69: multiple definition of `__printk_hook_install'
1> zephyr/libzephyr.a(printk.c.obj):F:/nordic/zephyr/lib/os/printk.c:69: first defined here
1> libspmsecureentries.a: In function `z_arch_irq_lock':
1> F:/nordic/zephyr/include/arch/arm/cortex_m/asm_inline_gcc.h:132: multiple definition of `k_sched_lock'
1> zephyr/kernel/libkernel.a(sched.c.obj):F:/nordic/zephyr/kernel/sched.c:536: first defined here
1> libspmsecureentries.a: In function `__udivmoddi4':
1> isr_tables.c:(_TEXT_SECTION_NAME_2+0xa0): multiple definition of `__udivmoddi4'
1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v8-m.main/fpv5-sp/hard\libgcc.a(_udivmoddi4.o):libgcc2.c:(.text+0x0): first defined here
1> libspmsecureentries.a: In function `_Fault':
1> F:/nordic/zephyr/arch/arm/core/fault.c:789: multiple definition of `_Fault'
1> zephyr/arch/arm/core/libarch__arm__core.a(fault.c.obj):F:/nordic/zephyr/arch/arm/core/fault.c:787: first defined here
1> libspmsecureentries.a: In function `z_reserve_fd':
1> F:/nordic/zephyr/lib/os/fdtable.c:124: multiple definition of `_irq_vector_table'
1> zephyr/libzephyr.a(isr_tables.c.obj):F:/nordic/zephyr/arch/common/isr_tables.c:42: first defined here
1> libspmsecureentries.a: In function `z_init_static_threads':
1> F:/nordic/zephyr/kernel/thread.c:636: multiple definition of `z_init_static_threads'
1> zephyr/kernel/libkernel.a(thread.c.obj):F:/nordic/zephyr/kernel/thread.c:636: first defined here
1> libspmsecureentries.a: In function `z_sys_power_save_idle_exit':
1> F:/nordic/zephyr/kernel/idle.c:119: multiple definition of `z_sys_power_save_idle_exit'
1> zephyr/kernel/libkernel.a(idle.c.obj):F:/nordic/zephyr/kernel/idle.c:119: first defined here
1> libspmsecureentries.a: In function `_region_min_align':
1> isr_tables.c:(*ABS*+0x400): multiple definition of `CONFIG_MAIN_STACK_SIZE'
1> libspmsecureentries.a: In function `z_bss_zero':
1> F:/nordic/zephyr/kernel/init.c:146: multiple definition of `z_bss_zero'
1> zephyr/kernel/libkernel.a(init.c.obj):F:/nordic/zephyr/kernel/init.c:146: first defined here
1> libspmsecureentries.a: In function `_ext_abis_size':
1> isr_tables.c:(*ABS*+0x0): multiple definition of `CONFIG_FLASH_LOAD_OFFSET'
1> libspmsecureentries.a: In function `__hard_fault':
1> F:/nordic/zephyr/arch/arm/core/fault_s.S:97: multiple definition of `__bus_fault'
1> zephyr/arch/arm/core/libarch__arm__core.a(fault_s.S.obj):F:/nordic/zephyr/arch/arm/core/fault_s.S:97: first defined here
1> libspmsecureentries.a: In function `z_arch_irq_lock':
1> F:/nordic/zephyr/include/arch/arm/cortex_m/asm_inline_gcc.h:132: multiple definition of `z_clock_elapsed'
1> zephyr/libzephyr.a(nrf_rtc_timer.c.obj):F:/nordic/zephyr/drivers/timer/nrf_rtc_timer.c:138: first defined here
1> libspmsecureentries.a: In function `arm_core_mpu_enable':
1> f:\nordic\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:113: multiple definition of `arm_core_mpu_enable'
1> zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a(arm_mpu.c.obj):f:\nordic\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:113: first defined here
1> libspmsecureentries.a: In function `z_data_copy':
1> F:/nordic/zephyr/kernel/init.c:177: multiple definition of `z_data_copy'
1> zephyr/kernel/libkernel.a(init.c.obj):F:/nordic/zephyr/kernel/init.c:177: first defined here
1> libspmsecureentries.a: In function `z_thread_single_abort':
1> F:/nordic/zephyr/kernel/thread.c:580: multiple definition of `z_thread_single_abort'
1> zephyr/kernel/libkernel.a(thread.c.obj):F:/nordic/zephyr/kernel/thread.c:580: first defined here
1> libspmsecureentries.a: In function `z_platform_init':
1> F:/nordic/zephyr/soc/arm/nordic_nrf/nrf91/soc.c:68: multiple definition of `z_platform_init'
1> zephyr/libzephyr.a(soc.c.obj):F:/nordic/zephyr/soc/arm/nordic_nrf/nrf91/soc.c:68: first defined here
1> libspmsecureentries.a: In function `__start':
1> F:/nordic/zephyr/arch/arm/core/cortex_m/reset.S:62: multiple definition of `__start'
1> zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a(reset.S.obj):F:/nordic/zephyr/arch/arm/core/cortex_m/reset.S:62: first defined here
1> libspmsecureentries.a: In function `z_remove_thread_from_ready_q':
1> F:/nordic/zephyr/kernel/sched.c:350: multiple definition of `z_remove_thread_from_ready_q'
1> zephyr/kernel/libkernel.a(sched.c.obj):F:/nordic/zephyr/kernel/sched.c:350: first defined here
1> libspmsecureentries.a: In function `__bss_start':
1> isr_tables.c:(bss+0x18dc): multiple definition of `_kernel'
1> zephyr/kernel/libkernel.a(sched.c.obj):(.bss._kernel+0x0): first defined here
1> libspmsecureentries.a:(rodata+0x0): multiple definition of `mpu_config'
1> zephyr/libzephyr.a(mpu_regions.c.obj):F:/nordic/zephyr/include/arch/arm/cortex_m/mpu/arm_mpu.h:56: first defined here
1> libspmsecureentries.a: In function `z_impl_k_thread_abort':
1> F:/nordic/zephyr/arch/arm/core/thread_abort.c:31: multiple definition of `z_impl_k_thread_abort'
1> zephyr/arch/arm/core/libarch__arm__core.a(thread_abort.c.obj):F:/nordic/zephyr/arch/arm/core/thread_abort.c:31: first defined here
1> libspmsecureentries.a: In function `nrf_power_clock_isr':
1> F:/nordic/zephyr/drivers/clock_control/nrf_power_clock.c:298: multiple definition of `nrf_power_clock_isr'
1> zephyr/libzephyr.a(nrf_power_clock.c.obj):F:/nordic/zephyr/drivers/clock_control/nrf_power_clock.c:288: first defined here
1> libspmsecureentries.a: In function `mbedtls_platform_zeroize':
1> isr_tables.c:(_TEXT_SECTION_NAME_2+0x1b34): multiple definition of `mbedtls_platform_zeroize'
1> F:/nordic/nrfxlib/bsdlib/lib/cortex-m33/hard-float/libbsd_nrf9160_xxaa.a(platform_util.c.o):platform_util.c:(.text.mbedtls_platform_zeroize+0x0): first defined here
1> libspmsecureentries.a: In function `__hard_fault':
1> F:/nordic/zephyr/arch/arm/core/fault_s.S:97: multiple definition of `__debug_monitor'
1> zephyr/arch/arm/core/libarch__arm__core.a(fault_s.S.obj):F:/nordic/zephyr/arch/arm/core/fault_s.S:97: first defined here
1> libspmsecureentries.a: In function `_region_min_align':
1> isr_tables.c:(*ABS*+0x40): multiple definition of `CONFIG_SRAM_SIZE'
1> libspmsecureentries.a: In function `idle':
1> F:/nordic/zephyr/kernel/idle.c:130: multiple definition of `idle'
1> zephyr/kernel/libkernel.a(idle.c.obj):F:/nordic/zephyr/kernel/idle.c:130: first defined here
1> libspmsecureentries.a: In function `z_set_timeout_expiry':
1> F:/nordic/zephyr/kernel/timeout.c:158: multiple definition of `z_set_timeout_expiry'
1> zephyr/kernel/libkernel.a(timeout.c.obj):F:/nordic/zephyr/kernel/timeout.c:158: first defined here
1> libspmsecureentries.a: In function `z_arch_configure_dynamic_mpu_regions':
1> F:/nordic/zephyr/arch/arm/core/cortex_m/mpu/arm_core_mpu.c:145: multiple definition of `z_arch_configure_dynamic_mpu_regions'
1> zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a(arm_core_mpu.c.obj):F:/nordic/zephyr/arch/arm/core/cortex_m/mpu/arm_core_mpu.c:145: first defined here
1> libspmsecureentries.a:(noinit+0x540): multiple definition of `_interrupt_stack'
1> zephyr/kernel/libkernel.a(init.c.obj):(.noinit."F:/nordic/zephyr/kernel/init.c".3+0x0): first defined here
1> libspmsecureentries.a: In function `vprintk':
1> F:/nordic/zephyr/lib/os/printk.c:333: multiple definition of `vprintk'
1> zephyr/libzephyr.a(printk.c.obj):F:/nordic/zephyr/lib/os/printk.c:333: first defined here
1> libspmsecureentries.a: In function `z_CpuIdleInit':
1> F:/nordic/zephyr/arch/arm/core/cpu_idle.S:53: multiple definition of `z_CpuIdleInit'
1> zephyr/arch/arm/core/libarch__arm__core.a(cpu_idle.S.obj):F:/nordic/zephyr/arch/arm/core/cpu_idle.S:53: first defined here
1> libspmsecureentries.a: In function `_ext_abis_size':
1> isr_tables.c:(*ABS*+0x0): multiple definition of `CONFIG_HEAP_MEM_POOL_SIZE'
1> libspmsecureentries.a: In function `_region_min_align':
1> isr_tables.c:(*ABS*+0x6c): multiple definition of `_K_THREAD_NO_FLOAT_SIZEOF'
1> libspmsecureentries.a: In function `z_FaultInit':
1> F:/nordic/zephyr/arch/arm/core/fault.c:887: multiple definition of `z_FaultInit'
1> zephyr/arch/arm/core/libarch__arm__core.a(fault.c.obj):F:/nordic/zephyr/arch/arm/core/fault.c:887: first defined here
1> libspmsecureentries.a: In function `z_thread_timeout':
1> F:/nordic/zephyr/kernel/sched.c:422: multiple definition of `z_thread_timeout'
1> zephyr/kernel/libkernel.a(sched.c.obj):F:/nordic/zephyr/kernel/sched.c:422: first defined here
1> libspmsecureentries.a: In function `_isr_wrapper':
1> F:/nordic/zephyr/arch/arm/core/isr_wrapper.S:44: multiple definition of `_isr_wrapper'
1> zephyr/arch/arm/core/libarch__arm__core.a(isr_wrapper.S.obj):F:/nordic/zephyr/arch/arm/core/isr_wrapper.S:44: first defined here
1> libspmsecureentries.a: In function `z_get_next_timeout_expiry':
1> F:/nordic/zephyr/kernel/timeout.c:148: multiple definition of `z_get_next_timeout_expiry'
1> zephyr/kernel/libkernel.a(timeout.c.obj):F:/nordic/zephyr/kernel/timeout.c:148: first defined here
1> libspmsecureentries.a: In function `z_reschedule':
1> F:/nordic/zephyr/kernel/sched.c:518: multiple definition of `z_reschedule'
1> zephyr/kernel/libkernel.a(sched.c.obj):F:/nordic/zephyr/kernel/sched.c:518: first defined here
1> libspmsecureentries.a: In function `_ConfigAbsSyms':
1> F:\nordic\nrf\samples\nrf9160\at_client\build_nrf9160_pca10090ns/spm/zephyr/misc/generated/configs.c:556: multiple definition of `_ConfigAbsSyms'
1> zephyr/libzephyr.a(configs.c.obj):F:\nordic\nrf\samples\nrf9160\at_client\build_nrf9160_pca10090ns/zephyr/misc/generated/configs.c:298: first defined here
1> libspmsecureentries.a: In function `printk':
1> F:/nordic/zephyr/lib/os/printk.c:377: multiple definition of `printk'
1> zephyr/libzephyr.a(printk.c.obj):F:/nordic/zephyr/lib/os/printk.c:377: first defined here
1> libspmsecureentries.a: In function `z_clock_set_timeout':
1> F:/nordic/zephyr/drivers/timer/nrf_rtc_timer.c:112: multiple definition of `z_clock_set_timeout'
1> zephyr/libzephyr.a(nrf_rtc_timer.c.obj):F:/nordic/zephyr/drivers/timer/nrf_rtc_timer.c:112: first defined here
1> libspmsecureentries.a: In function `__nmi':
1> F:/nordic/zephyr/arch/arm/core/cortex_m/nmi.c:92: multiple definition of `__nmi'
1> zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a(nmi.c.obj):F:/nordic/zephyr/arch/arm/core/cortex_m/nmi.c:92: first defined here
1> libspmsecureentries.a: In function `k_sched_unlock':
1> F:/nordic/zephyr/kernel/sched.c:543: multiple definition of `k_sched_unlock'
1> zephyr/kernel/libkernel.a(sched.c.obj):F:/nordic/zephyr/kernel/sched.c:543: first defined here
1> libspmsecureentries.a: In function `z_IntLibInit':
1> F:/nordic/zephyr/arch/arm/core/irq_init.c:38: multiple definition of `z_IntLibInit'
1> zephyr/arch/arm/core/libarch__arm__core.a(irq_init.c.obj):F:/nordic/zephyr/arch/arm/core/irq_init.c:38: first defined here
1> libspmsecureentries.a: In function `z_vprintk':
1> F:/nordic/zephyr/lib/os/printk.c:102: multiple definition of `z_vprintk'
1> zephyr/libzephyr.a(printk.c.obj):F:/nordic/zephyr/lib/os/printk.c:102: first defined here
1> libspmsecureentries.a: In function `z_NanoFatalErrorHandler':
1> F:/nordic/zephyr/arch/arm/core/fatal.c:49: multiple definition of `z_NanoFatalErrorHandler'
1> zephyr/arch/arm/core/libarch__arm__core.a(fatal.c.obj):F:/nordic/zephyr/arch/arm/core/fatal.c:49: first defined here
1> libspmsecureentries.a:F:/nordic/zephyr/kernel/errno.c:23: multiple definition of `_k_neg_eagain'
1> zephyr/kernel/libkernel.a(errno.c.obj):F:/nordic/zephyr/kernel/errno.c:23: first defined here
1> libspmsecureentries.a: In function `z_move_thread_to_end_of_prio_q':
1> F:/nordic/zephyr/kernel/sched.c:340: multiple definition of `z_move_thread_to_end_of_prio_q'
1> zephyr/kernel/libkernel.a(sched.c.obj):F:/nordic/zephyr/kernel/sched.c:340: first defined here
1> libspmsecureentries.a: In function `memset':
1> F:/nordic/zephyr/lib/libc/minimal/source/string/string.c:290: multiple definition of `memset'
1> zephyr/lib/libc/minimal/liblib__libc__minimal.a(string.c.obj):F:/nordic/zephyr/lib/libc/minimal/source/string/string.c:290: first defined here
1> libspmsecureentries.a: In function `main':
1> F:/nordic/nrf/samples/nrf9160/spm/src/main.c:54: multiple definition of `main'
1> app/libapp.a(main.c.obj):F:\nordic\nrf\samples\nrf9160\at_client\build_nrf9160_pca10090ns/../src/main.c:28: first defined here
1> libspmsecureentries.a: In function `arm_core_mpu_mark_areas_for_dynamic_regions':
1> f:\nordic\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:216: multiple definition of `arm_core_mpu_mark_areas_for_dynamic_regions'
1> zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a(arm_mpu.c.obj):f:\nordic\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:216: first defined here
1> libspmsecureentries.a: In function `z_impl_k_thread_start':
1> F:/nordic/zephyr/kernel/thread.c:267: multiple definition of `z_impl_k_thread_start'
1> zephyr/kernel/libkernel.a(thread.c.obj):F:/nordic/zephyr/kernel/thread.c:267: first defined here
1> libspmsecureentries.a: In function `z_SysNmiOnReset':
1> F:/nordic/zephyr/arch/arm/core/cortex_m/nmi_on_reset.S:26: multiple definition of `z_SysNmiOnReset'
1> zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a(nmi_on_reset.S.obj):F:/nordic/zephyr/arch/arm/core/cortex_m/nmi_on_reset.S:26: first defined here
1> libspmsecureentries.a: In function `z_irq_spurious':
1> F:/nordic/zephyr/arch/arm/core/irq_manage.c:132: multiple definition of `z_irq_spurious'
1> zephyr/arch/arm/core/libarch__arm__core.a(irq_manage.c.obj):F:/nordic/zephyr/arch/arm/core/irq_manage.c:132: first defined here
1> libspmsecureentries.a: In function `__DMB':
1> F:/nordic/zephyr/ext/hal/cmsis/Include/cmsis_gcc.h:890: multiple definition of `arm_core_mpu_disable'
1> zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a(arm_mpu.c.obj):F:/nordic/zephyr/ext/hal/cmsis/Include/cmsis_gcc.h:890: first defined here
1> libspmsecureentries.a:F:/nordic/zephyr/kernel/init.c:86: multiple definition of `_idle_thread'
1> zephyr/kernel/libkernel.a(init.c.obj):F:/nordic/zephyr/kernel/init.c:86: first defined here
1> libspmsecureentries.a: In function `__pendsv':
1> F:/nordic/zephyr/arch/arm/core/swap_helper.S:59: multiple definition of `__pendsv'
1> zephyr/arch/arm/core/libarch__arm__core.a(swap_helper.S.obj):F:/nordic/zephyr/arch/arm/core/swap_helper.S:59: first defined here
1> libspmsecureentries.a: In function `strcmp':
1> F:/nordic/zephyr/lib/libc/minimal/source/string/string.c:124: multiple definition of `strcmp'
1> zephyr/lib/libc/minimal/liblib__libc__minimal.a(string.c.obj):F:/nordic/zephyr/lib/libc/minimal/source/string/string.c:124: first defined here
1> libspmsecureentries.a: In function `__stdout_hook_install':
1> F:/nordic/zephyr/lib/libc/minimal/source/stdout/stdout_console.c:25: multiple definition of `__stdout_hook_install'
1> zephyr/lib/libc/minimal/liblib__libc__minimal.a(stdout_console.c.obj):F:/nordic/zephyr/lib/libc/minimal/source/stdout/stdout_console.c:25: first defined here
1> libspmsecureentries.a: In function `_IntExit':
1> F:/nordic/zephyr/arch/arm/core/exc_exit.S:71: multiple definition of `_IntExit'
1> zephyr/arch/arm/core/libarch__arm__core.a(exc_exit.S.obj):F:/nordic/zephyr/arch/arm/core/exc_exit.S:71: first defined here
1> libspmsecureentries.a: In function `SystemInit':
1> F:/nordic/zephyr/ext/hal/nordic/nrfx/mdk/system_nrf9160.c:79: multiple definition of `SystemInit'
1> zephyr/libzephyr.a(system_nrf9160.c.obj):F:/nordic/zephyr/ext/hal/nordic/nrfx/mdk/system_nrf9160.c:191: first defined here
1> libspmsecureentries.a: In function `__kernel_ram_size':
1> isr_tables.c:(*ABS*+0x30000): multiple definition of `CONFIG_FLASH_LOAD_SIZE'
1> libspmsecureentries.a: In function `z_add_timeout':
1> F:/nordic/zephyr/kernel/timeout.c:83: multiple definition of `z_add_timeout'
1> zephyr/kernel/libkernel.a(timeout.c.obj):F:/nordic/zephyr/kernel/timeout.c:84: first defined here
1> libspmsecureentries.a: In function `arm_core_mpu_configure_static_mpu_regions':
1> f:\nordic\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:200: multiple definition of `arm_core_mpu_configure_static_mpu_regions'
1> zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a(arm_mpu.c.obj):f:\nordic\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:200: first defined here
1> libspmsecureentries.a: In function `k_sched_time_slice_set':
1> F:/nordic/zephyr/kernel/sched.c:264: multiple definition of `k_sched_time_slice_set'
1> zephyr/kernel/libkernel.a(sched.c.obj):F:/nordic/zephyr/kernel/sched.c:264: first defined here
1> libspmsecureentries.a:(sw_isr_table+0x0): multiple definition of `_sw_isr_table'
1> zephyr/libzephyr.a(isr_tables.c.obj):(.gnu.linkonce.sw_isr_table+0x0): first defined here
1> libspmsecureentries.a: In function `z_add_thread_to_ready_q':
1> F:/nordic/zephyr/kernel/sched.c:331: multiple definition of `z_add_thread_to_ready_q'
1> zephyr/kernel/libkernel.a(sched.c.obj):F:/nordic/zephyr/kernel/sched.c:331: first defined here
1> libspmsecureentries.a: In function `__hard_fault':
1> F:/nordic/zephyr/arch/arm/core/fault_s.S:97: multiple definition of `__mpu_fault'
1> zephyr/arch/arm/core/libarch__arm__core.a(fault_s.S.obj):F:/nordic/zephyr/arch/arm/core/fault_s.S:97: first defined here
1> libspmsecureentries.a: In function `z_reschedule_irqlock':
1> F:/nordic/zephyr/kernel/sched.c:527: multiple definition of `z_reschedule_irqlock'
1> zephyr/kernel/libkernel.a(sched.c.obj):F:/nordic/zephyr/kernel/sched.c:527: first defined here
1> libspmsecureentries.a: In function `z_setup_new_thread':
1> F:/nordic/zephyr/kernel/thread.c:352: multiple definition of `z_setup_new_thread'
1> zephyr/kernel/libkernel.a(thread.c.obj):F:/nordic/zephyr/kernel/thread.c:352: first defined here
1> libspmsecureentries.a: In function `_region_min_align':
1> isr_tables.c:(*ABS*+0x30): multiple definition of `_STRUCT_KERNEL_SIZE'
1> libspmsecureentries.a: In function `__hard_fault':
1> F:/nordic/zephyr/arch/arm/core/fault_s.S:97: multiple definition of `__hard_fault'
1> zephyr/arch/arm/core/libarch__arm__core.a(fault_s.S.obj):F:/nordic/zephyr/arch/arm/core/fault_s.S:97: first defined here
1> libspmsecureentries.a: In function `_region_min_align':
1> isr_tables.c:(*ABS*+0x20): multiple definition of `___esf_t_SIZEOF'
1> libspmsecureentries.a: In function `cmse_TT':
1> f:\gnuarmemb\7-2018-q2-update\lib\gcc\arm-none-eabi\7.3.1\include/arm_cmse.h:125: multiple definition of `arm_cmse_mpu_region_get'
1> zephyr/libzephyr.a(arm_core_cmse.c.obj):f:\gnuarmemb\7-2018-q2-update\lib\gcc\arm-none-eabi\7.3.1\include/arm_cmse.h:125: first defined here
1> libspmsecureentries.a: In function `z_priq_dumb_remove':
1> F:/nordic/zephyr/kernel/sched.c:646: multiple definition of `z_priq_dumb_remove'
1> zephyr/kernel/libkernel.a(sched.c.obj):F:/nordic/zephyr/kernel/sched.c:646: first defined here
1> libspmsecureentries.a: In function `z_irq_priority_set':
1> F:/nordic/zephyr/arch/arm/core/irq_manage.c:115: multiple definition of `z_irq_priority_set'
1> zephyr/arch/arm/core/libarch__arm__core.a(irq_manage.c.obj):F:/nordic/zephyr/arch/arm/core/irq_manage.c:85: first defined here
1> libspmsecureentries.a: In function `z_time_slice':
1> F:/nordic/zephyr/kernel/sched.c:285: multiple definition of `z_time_slice'
1> zephyr/kernel/libkernel.a(sched.c.obj):F:/nordic/zephyr/kernel/sched.c:285: first defined here
1> libspmsecureentries.a: In function `z_arch_irq_enable':
1> F:/nordic/zephyr/arch/arm/core/irq_manage.c:45: multiple definition of `z_arch_irq_enable'
1> zephyr/arch/arm/core/libarch__arm__core.a(irq_manage.c.obj):F:/nordic/zephyr/arch/arm/core/irq_manage.c:45: first defined here
1> libspmsecureentries.a: In function `z_clock_driver_init':
1> F:/nordic/zephyr/drivers/timer/nrf_rtc_timer.c:77: multiple definition of `z_clock_driver_init'
1> zephyr/libzephyr.a(nrf_rtc_timer.c.obj):F:/nordic/zephyr/drivers/timer/nrf_rtc_timer.c:77: first defined here
1> libspmsecureentries.a: In function `z_sys_mem_pool_block_free':
1> F:/nordic/zephyr/include/misc/dlist.h:405: multiple definition of `__aeabi_ldivmod'
1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v8-m.main/fpv5-sp/hard\libgcc.a(_aeabi_ldivmod.o):(.text+0x0): first defined here
1> libspmsecureentries.a: In function `z_impl_device_get_binding':
1> F:/nordic/zephyr/kernel/device.c:77: multiple definition of `z_impl_device_get_binding'
1> zephyr/kernel/libkernel.a(device.c.obj):F:/nordic/zephyr/kernel/device.c:77: first defined here
1> libspmsecureentries.a: In function `z_sys_mem_pool_base_init':
1> F:/nordic/zephyr/lib/os/mempool.c:81: multiple definition of `z_sys_mem_pool_base_init'
1> zephyr/libzephyr.a(mempool.c.obj):F:/nordic/zephyr/lib/os/mempool.c:81: first defined here
1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: orphan section `_TEXT_SECTION_NAME_2' from `libspmsecureentries.a' being placed in section `_TEXT_SECTION_NAME_2'.
1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: libspmsecureentries.a: `spm_request_system_reboot' and its special symbol are in different sections.
1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: libspmsecureentries.a: `spm_request_random_number' and its special symbol are in different sections.
1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: cannot size stub section: Invalid operation
1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `text' not in segment
1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `_TEXT_SECTION_NAME_2' not in segment
1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `.ARM.exidx' not in segment
1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `sw_isr_table' not in segment
1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `devconfig' not in segment
1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `rodata' not in segment
1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `datas' not in segment
1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `initlevel' not in segment
1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `_k_mem_slab_area' not in segment
1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `_k_mem_pool_area' not in segment
1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `_k_mutex_area' not in segment
1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `_k_msgq_area' not in segment
1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `_net_buf_pool_area' not in segment
1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `net_if' not in segment
1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `net_if_dev' not in segment
1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `.intList' not in segment
1> collect2.exe: error: ld returned 1 exit status
1> IDT_LIST: 120 B 2 KB 5.86%
Build failed

Parents
  • Hi Johan,

    Please follow the steps correctly.
    The folder name has to be 'ncs', not "nordic"

  • Martin,

    Same error.
    So no, the path was not the reason.
    Now you have a real bug here to solve.
    I cannot build your at_client with the above in the correct path either (f:\ncs)

  • LOG again (but the same error, just different paths)
    =======================================

    Building ‘spm/zephyr/include/generated/driver-validation.h’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘spm/zephyr/include/generated/driver-validation.h’
    Building ‘spm/zephyr/CMakeFiles/spm_driver_validation_h_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/spm_driver_validation_h_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/include/generated/kobj-types-enum.h’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘spm/zephyr/include/generated/kobj-types-enum.h’
    Building ‘spm/zephyr/include/generated/otype-to-str.h’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/CMakeFiles/spm_kobj_types_h_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/spm_kobj_types_h_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/misc/generated/syscalls.json’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘spm/zephyr/misc/generated/syscalls.json’
    Building ‘spm/zephyr/include/generated/syscall_list.h’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘spm/zephyr/include/generated/syscall_list.h’
    Building ‘spm/zephyr/CMakeFiles/spm_syscall_list_h_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/include/generated/syscall_dispatch.c’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/spm_syscall_list_h_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/include/generated/syscall_macros.h’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘spm/zephyr/include/generated/syscall_macros.h’
    Building ‘spm/zephyr/CMakeFiles/spm_syscall_macros_h_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/spm_syscall_macros_h_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_offsets’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/spm_offsets’ from solution ‘build’ in configuration ‘Common’
    1> Compiling ‘offsets.c’
    Building ‘spm/zephyr/include/generated/offsets.h’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘spm/zephyr/include/generated/offsets.h’
    Building ‘spm/zephyr/CMakeFiles/spm_offsets_h’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/spm_offsets_h’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_app’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_arch__arm__core’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_arch__arm__core__cortex_m’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_arch__arm__core__cortex_m__mpu’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_drivers__serial’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_kernel’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_lib__libc__minimal’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_mbedcrypto_vanilla’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_mbeddrbg’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_zephyr’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/linker.cmd’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘spm/zephyr/linker.cmd’
    Building ‘spm/zephyr/CMakeFiles/spm_linker_script_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/spm_linker_script_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_zephyr_prebuilt’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/spm_app/libspm_app.a’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/libspm_zephyr.a’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/arch/arm/core/libspm_arch__arm__core.a’ from solution ‘build’ in configuration ‘Common’
    1> Compiling ‘isr_tables.c’
    2> Compiling ‘main.c’
    Building ‘spm/zephyr/arch/arm/core/cortex_m/libspm_arch__arm__core__cortex_m.a’ from solution ‘build’ in configuration ‘Common’
    3> Assembling ‘exc_exit.S’
    Building ‘spm/zephyr/arch/arm/core/cortex_m/mpu/libspm_arch__arm__core__cortex_m__mpu.a’ from solution ‘build’ in configuration ‘Common’
    4> Assembling ‘vector_table.S’
    Building ‘spm/zephyr/lib/libc/minimal/libspm_lib__libc__minimal.a’ from solution ‘build’ in configuration ‘Common’
    5> Compiling ‘arm_core_mpu.c’
    Building ‘spm/zephyr/drivers/serial/libspm_drivers__serial.a’ from solution ‘build’ in configuration ‘Common’
    6> Compiling ‘atoi.c’
    Building ‘spm/zephyr/modules/nrfxlib/nrf_security/src/mbedtls/libspm_mbeddrbg.a’ from solution ‘build’ in configuration ‘Common’
    7> Compiling ‘uart_nrfx_uarte.c’
    Building ‘spm/zephyr/modules/nrfxlib/nrf_security/src/mbedtls/libspm_mbedcrypto_vanilla.a’ from solution ‘build’ in configuration ‘Common’
    8> Compiling ‘ctr_drbg.c’
    Building ‘spm/zephyr/kernel/libspm_kernel.a’ from solution ‘build’ in configuration ‘Common’
    9> Compiling ‘aes.c’
    10> Compiling ‘device.c’
    2> Archiving ‘libspm_app.a’
    3> Assembling ‘swap_helper.S’
    4> Assembling ‘reset.S’
    1> Compiling ‘sw_isr_common.c’
    5> Compiling ‘arm_mpu.c’
    6> Compiling ‘strtol.c’
    8> Compiling ‘entropy.c’
    9> Compiling ‘aesni.c’
    7> Archiving ‘libspm_drivers__serial.a’
    3> Assembling ‘cpu_idle.S’
    4> Assembling ‘nmi_on_reset.S’
    10> Compiling ‘errno.c’
    6> Compiling ‘strtoul.c’
    1> Compiling ‘arm_core_cmse.c’
    9> Compiling ‘arc4.c’
    3> Assembling ‘fault_s.S’
    4> Compiling ‘prep_c.c’
    8> Archiving ‘libspm_mbeddrbg.a’
    9> Compiling ‘aria.c’
    3> Assembling ‘isr_wrapper.S’
    6> Compiling ‘malloc.c’
    10> Compiling ‘idle.c’
    5> Archiving ‘libspm_arch__arm__core__cortex_m__mpu.a’
    3> Compiling ‘irq_init.c’
    1> Compiling ‘arm_core_tz.c’
    9> Compiling ‘asn1parse.c’
    4> Compiling ‘scb.c’
    10> Compiling ‘init.c’
    6> Compiling ‘bsearch.c’
    1> Compiling ‘crc32_sw.c’
    3> Compiling ‘swap.c’
    9> Compiling ‘asn1write.c’
    4> Compiling ‘nmi.c’
    6> Compiling ‘exit.c’
    1> Compiling ‘crc16_sw.c’
    10> Compiling ‘mailbox.c’
    3> Compiling ‘fault.c’
    4> Compiling ‘exc_manage.c’
    9> Compiling ‘base64.c’
    1> Compiling ‘crc8_sw.c’
    6> Compiling ‘strncasecmp.c’
    1> Compiling ‘crc7_sw.c’
    6> Compiling ‘strstr.c’
    9> Compiling ‘bignum.c’
    4> Archiving ‘libspm_arch__arm__core__cortex_m.a’
    3> Compiling ‘irq_manage.c’
    10> Compiling ‘mem_slab.c’
    1> Compiling ‘fdtable.c’
    6> Compiling ‘string.c’
    3> Compiling ‘thread.c’
    10> Compiling ‘mempool.c’
    1> Compiling ‘mempool.c’
    6> Compiling ‘prf.c’
    3> Compiling ‘fatal.c’
    10> Compiling ‘msg_q.c’
    1> Compiling ‘rb.c’
    6> Compiling ‘stdout_console.c’
    3> Compiling ‘sys_fatal_error_handler.c’
    10> Compiling ‘mutex.c’
    6> Compiling ‘sprintf.c’
    3> Compiling ‘thread_abort.c’
    9> Compiling ‘blowfish.c’
    6> Compiling ‘fprintf.c’
    1> Compiling ‘thread_entry.c’
    9> Compiling ‘camellia.c’
    10> Compiling ‘pipes.c’
    6> Archiving ‘libspm_lib__libc__minimal.a’
    3> Archiving ‘libspm_arch__arm__core.a’
    9> Compiling ‘ccm.c’
    1> Compiling ‘work_q.c’
    9> Compiling ‘chacha20.c’
    9> Compiling ‘chachapoly.c’
    1> Compiling ‘printk.c’
    10> Compiling ‘queue.c’
    9> Compiling ‘cipher.c’
    10> Compiling ‘sched.c’
    1> Compiling ‘configs.c’
    9> Compiling ‘cmac.c’
    9> Compiling ‘des.c’
    1> Compiling ‘soc.c’
    9> Compiling ‘dhm.c’
    9> Compiling ‘ecdh.c’
    1> Compiling ‘mpu_regions.c’
    10> Compiling ‘sem.c’
    1> Compiling ‘system_nrf9160.c’
    9> Compiling ‘ecdsa.c’
    10> Compiling ‘stack.c’
    1> Compiling ‘nrfx_glue.c’
    9> Compiling ‘ecjpake.c’
    9> Compiling ‘ecp.c’
    1> Compiling ‘power.c’
    10> Compiling ‘system_work_q.c’
    10> Compiling ‘thread.c’
    1> Compiling ‘reboot.c’
    1> Compiling ‘policy_residency.c’
    10> Compiling ‘thread_abort.c’
    1> Compiling ‘uart_console.c’
    10> Compiling ‘version.c’
    9> Compiling ‘ecp_curves.c’
    10> Compiling ‘work_q.c’
    1> Compiling ‘nrf_power_clock.c’
    1> Compiling ‘sys_clock_init.c’
    10> Compiling ‘smp.c’
    1> Compiling ‘nrf_rtc_timer.c’
    10> Compiling ‘timeout.c’
    9> Compiling ‘entropy_poll.c’
    9> Compiling ‘error.c’
    1> Compiling ‘spm.c’
    10> Compiling ‘timer.c’
    9> Compiling ‘gcm.c’
    9> Compiling ‘havege.c’
    1> Compiling ‘secure_services.c’
    10> Archiving ‘libspm_kernel.a’
    9> Compiling ‘hkdf.c’
    1> Archiving ‘libspm_zephyr.a’
    9> Compiling ‘hmac_drbg.c’
    9> Compiling ‘md.c’
    9> Compiling ‘md2.c’
    9> Compiling ‘md4.c’
    9> Compiling ‘md5.c’
    9> Compiling ‘md_wrap.c’
    9> Compiling ‘memory_buffer_alloc.c’
    9> Compiling ‘nist_kw.c’
    9> Compiling ‘oid.c’
    9> Compiling ‘padlock.c’
    9> Compiling ‘pk.c’
    9> Compiling ‘pk_wrap.c’
    9> Compiling ‘pkcs12.c’
    9> Compiling ‘pkcs5.c’
    9> Compiling ‘pkparse.c’
    9> Compiling ‘pkwrite.c’
    9> Compiling ‘platform.c’
    9> Compiling ‘platform_util.c’
    9> Compiling ‘poly1305.c’
    9> Compiling ‘ripemd160.c’
    9> Compiling ‘rsa.c’
    9> Compiling ‘rsa_internal.c’
    9> Compiling ‘sha1.c’
    9> Compiling ‘sha256.c’
    9> Compiling ‘sha512.c’
    9> Compiling ‘threading.c’
    9> Compiling ‘timing.c’
    9> Compiling ‘version.c’
    9> Compiling ‘version_features.c’
    9> Compiling ‘xtea.c’
    9> Compiling ‘cipher_wrap.c’
    9> Compiling ‘pem.c’
    9> Archiving ‘libspm_mbedcrypto_vanilla.a’
    Building ‘spm/zephyr/spm_zephyr_prebuilt.elf’ from solution ‘build’ in configuration ‘Common’
    1> Compiling ‘empty_file.c’
    1> Linking ‘spm_zephyr_prebuilt.elf’
    1> Memory region Used Size Region Size %age Used
    1> FLASH: 32 KB 48 KB 66.67%
    1> SRAM: 10000 B 64 KB 15.26%
    1> IDT_LIST: 40 B 2 KB 1.95%
    Building ‘spm/zephyr/linker_pass_final.cmd’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘spm/zephyr/linker_pass_final.cmd’
    Building ‘spm/zephyr/CMakeFiles/spm_linker_pass_final_script_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/spm_linker_pass_final_script_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/isr_tables.c’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘spm/zephyr/isr_tables.c’
    Building ‘cmake_object_order_depends_target_spm_zephyr_final’ from solution ‘build’ in configuration ‘Common’
    Building ‘libspmsecureentries.a’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/zephyr.elf’ from solution ‘build’ in configuration ‘Common’
    1> Compiling ‘empty_file.c’
    2> Linking ‘zephyr.elf’
    1> Compiling ‘isr_tables.c’
    2> Post-link command
    1> Linking ‘libspmsecureentries.a’
    1> Post-link command
    Building ‘spm/zephyr/arch/arm/core/cortex_m/tz/CMakeFiles/nsc_veneers’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/arch/arm/core/cortex_m/tz/nsc_veneers’ from solution ‘build’ in configuration ‘Common’
    Building ‘zephyr/include/generated/driver-validation.h’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘zephyr/include/generated/driver-validation.h’
    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’
    1> Combining ‘zephyr/include/generated/kobj-types-enum.h’
    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’
    1> Combining ‘zephyr/include/generated/syscall_list.h’
    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’
    1> Combining ‘zephyr/include/generated/syscall_macros.h’
    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’
    Building ‘zephyr/include/generated/offsets.h’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘zephyr/include/generated/offsets.h’
    Building ‘zephyr/CMakeFiles/offsets_h’ from solution ‘build’ in configuration ‘Common’
    Building ‘zephyr/offsets_h’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_app’ from solution ‘build’ in configuration ‘Common’
    Building ‘app/libapp.a’ from solution ‘build’ in configuration ‘Common’
    1> Compiling ‘main.c’
    1> Archiving ‘libapp.a’
    Building ‘cmake_object_order_depends_target_..__nrf__drivers__at_cmd’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_..__nrf__lib__at_host’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_..__nrf__lib__bsdlib’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_arch__arm__core’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_arch__arm__core__cortex_m’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_arch__arm__core__cortex_m__mpu’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_drivers__gpio’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_drivers__serial’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_kernel’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_lib__libc__minimal’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_subsys__net’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_subsys__net__ip’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_zephyr’ from solution ‘build’ in configuration ‘Common’
    Building ‘zephyr/linker.cmd’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘zephyr/linker.cmd’
    Building ‘zephyr/CMakeFiles/linker_script_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘zephyr/linker_script_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_zephyr_prebuilt’ from solution ‘build’ in configuration ‘Common’
    Building ‘zephyr/libzephyr.a’ from solution ‘build’ in configuration ‘Common’
    Building ‘zephyr/arch/arm/core/libarch__arm__core.a’ from solution ‘build’ in configuration ‘Common’
    Building ‘zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a’ from solution ‘build’ in configuration ‘Common’
    1> Assembling ‘exc_exit.S’
    2> Compiling ‘isr_tables.c’
    Building ‘zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a’ from solution ‘build’ in configuration ‘Common’
    3> Assembling ‘vector_table.S’
    Building ‘zephyr/lib/libc/minimal/liblib__libc__minimal.a’ from solution ‘build’ in configuration ‘Common’
    4> Compiling ‘arm_core_mpu.c’
    Building ‘zephyr/subsys/net/libsubsys__net.a’ from solution ‘build’ in configuration ‘Common’
    5> Compiling ‘atoi.c’
    Building ‘zephyr/subsys/net/ip/libsubsys__net__ip.a’ from solution ‘build’ in configuration ‘Common’
    6> Compiling ‘buf.c’
    Building ‘zephyr/drivers/gpio/libdrivers__gpio.a’ from solution ‘build’ in configuration ‘Common’
    7> Compiling ‘net_context.c’
    Building ‘zephyr/drivers/serial/libdrivers__serial.a’ from solution ‘build’ in configuration ‘Common’
    8> Compiling ‘gpio_nrfx.c’
    Building ‘zephyr/modules/nrf/lib/bsdlib/lib..__nrf__lib__bsdlib.a’ from solution ‘build’ in configuration ‘Common’
    9> Compiling ‘uart_nrfx_uarte.c’
    Building ‘zephyr/modules/nrf/lib/at_host/lib..__nrf__lib__at_host.a’ from solution ‘build’ in configuration ‘Common’
    10> Compiling ‘bsdlib.c’
    Building ‘zephyr/modules/nrf/drivers/at_cmd/lib..__nrf__drivers__at_cmd.a’ from solution ‘build’ in configuration ‘Common’
    11> Compiling ‘at_host.c’
    Building ‘zephyr/kernel/libkernel.a’ from solution ‘build’ in configuration ‘Common’
    1> Assembling ‘swap_helper.S’
    12> Compiling ‘at_cmd.c’
    13> Compiling ‘device.c’
    3> Assembling ‘reset.S’
    2> Compiling ‘sw_isr_common.c’
    4> Compiling ‘arm_mpu.c’
    5> Compiling ‘strtol.c’
    1> Assembling ‘cpu_idle.S’
    13> Compiling ‘errno.c’
    3> Assembling ‘nmi_on_reset.S’
    11> Archiving ‘lib..__nrf__lib__at_host.a’
    2> Compiling ‘arm_core_cmse.c’
    6> Archiving ‘libsubsys__net.a’
    10> Compiling ‘bsd_os.c’
    9> Archiving ‘libdrivers__serial.a’
    3> Compiling ‘prep_c.c’
    1> Assembling ‘fault_s.S’
    5> Compiling ‘strtoul.c’
    13> Compiling ‘idle.c’
    12> Archiving ‘lib..__nrf__drivers__at_cmd.a’
    8> Archiving ‘libdrivers__gpio.a’
    4> Archiving ‘libarch__arm__core__cortex_m__mpu.a’
    2> Compiling ‘crc32_sw.c’
    7> Compiling ‘net_core.c’
    1> Assembling ‘isr_wrapper.S’
    3> Compiling ‘scb.c’
    5> Compiling ‘malloc.c’
    2> Compiling ‘crc16_sw.c’
    1> Compiling ‘irq_init.c’
    10> Compiling ‘nrf91_sockets.c’
    13> Compiling ‘init.c’
    3> Compiling ‘nmi.c’
    2> Compiling ‘crc8_sw.c’
    7> Compiling ‘net_if.c’
    5> Compiling ‘bsearch.c’
    1> Compiling ‘swap.c’
    13> Compiling ‘mailbox.c’
    2> Compiling ‘crc7_sw.c’
    3> Compiling ‘exc_manage.c’
    5> Compiling ‘exit.c’
    2> Compiling ‘fdtable.c’
    1> Compiling ‘fault.c’
    10> Archiving ‘lib..__nrf__lib__bsdlib.a’
    5> Compiling ‘strncasecmp.c’
    3> Archiving ‘libarch__arm__core__cortex_m.a’
    13> Compiling ‘mem_slab.c’
    2> Compiling ‘mempool.c’
    7> Compiling ‘net_pkt.c’
    5> Compiling ‘strstr.c’
    1> Compiling ‘irq_manage.c’
    5> Compiling ‘string.c’
    13> Compiling ‘mempool.c’
    1> Compiling ‘thread.c’
    2> Compiling ‘rb.c’
    5> Compiling ‘prf.c’
    1> Compiling ‘fatal.c’
    13> Compiling ‘msg_q.c’
    7> Compiling ‘net_tc.c’
    2> Compiling ‘thread_entry.c’
    5> Compiling ‘stdout_console.c’
    1> Compiling ‘sys_fatal_error_handler.c’
    13> Compiling ‘mutex.c’
    7> Compiling ‘utils.c’
    5> Compiling ‘sprintf.c’
    2> Compiling ‘work_q.c’
    1> Compiling ‘thread_abort.c’
    5> Compiling ‘fprintf.c’
    13> Compiling ‘pipes.c’
    2> Compiling ‘printk.c’
    1> Archiving ‘libarch__arm__core.a’
    5> Archiving ‘liblib__libc__minimal.a’
    7> Archiving ‘libsubsys__net__ip.a’
    2> Compiling ‘assert.c’
    13> Compiling ‘queue.c’
    2> Compiling ‘configs.c’
    2> Compiling ‘soc.c’
    13> Compiling ‘sched.c’
    2> Compiling ‘mpu_regions.c’
    2> Compiling ‘system_nrf9160.c’
    2> Compiling ‘nrfx_glue.c’
    2> Compiling ‘addr_utils.c’
    13> Compiling ‘sem.c’
    13> Compiling ‘stack.c’
    2> Compiling ‘socket_offload.c’
    2> Compiling ‘rand32_timer.c’
    13> Compiling ‘system_work_q.c’
    13> Compiling ‘thread.c’
    2> Compiling ‘power.c’
    2> Compiling ‘policy_residency.c’
    13> Compiling ‘thread_abort.c’
    2> Compiling ‘uart_console.c’
    13> Compiling ‘version.c’
    13> Compiling ‘work_q.c’
    2> Compiling ‘nrf_power_clock.c’
    2> Compiling ‘sys_clock_init.c’
    13> Compiling ‘smp.c’
    2> Compiling ‘nrf_rtc_timer.c’
    13> Compiling ‘timeout.c’
    2> Compiling ‘secure_services_ns.c’
    13> Compiling ‘timer.c’
    2> Archiving ‘libzephyr.a’
    13> Compiling ‘poll.c’
    13> Archiving ‘libkernel.a’
    Building ‘zephyr/zephyr_prebuilt.elf’ from solution ‘build’ in configuration ‘Common’
    1> Compiling ‘empty_file.c’
    1> Linking ‘zephyr_prebuilt.elf’
    1> Memory region Used Size Region Size %age Used
    1> FLASH: 123644 B 976 KB 12.37%
    1> SRAM: 24 KB 128 KB 18.75%
    1> libspmsecureentries.a: In function `z_abort_timeout':
    1> F:/ncs/zephyr/kernel/timeout.c:114: multiple definition of `z_abort_timeout'
    1> zephyr/kernel/libkernel.a(timeout.c.obj):F:/ncs/zephyr/kernel/timeout.c:114: first defined here
    1> libspmsecureentries.a:F:/ncs/zephyr/kernel/init.c:80: multiple definition of `_idle_stack'
    1> zephyr/kernel/libkernel.a(init.c.obj):F:/ncs/zephyr/kernel/init.c:80: first defined here
    1> libspmsecureentries.a: In function `z_init_thread_base':
    1> F:/ncs/zephyr/kernel/thread.c:683: multiple definition of `z_init_thread_base'
    1> zephyr/kernel/libkernel.a(thread.c.obj):F:/ncs/zephyr/kernel/thread.c:683: first defined here
    1> libspmsecureentries.a: In function `z_clock_announce':
    1> F:/ncs/zephyr/kernel/timeout.c:177: multiple definition of `z_clock_announce'
    1> zephyr/kernel/libkernel.a(timeout.c.obj):F:/ncs/zephyr/kernel/timeout.c:177: first defined here
    1> libspmsecureentries.a: In function `__get_IPSR':
    1> F:/ncs/zephyr/ext/hal/cmsis/Include/cmsis_gcc.h:209: multiple definition of `k_is_in_isr'
    1> zephyr/kernel/libkernel.a(thread.c.obj):F:/ncs/zephyr/ext/hal/cmsis/Include/cmsis_gcc.h:209: first defined here
    1> libspmsecureentries.a: In function `__hard_fault':
    1> F:/ncs/zephyr/arch/arm/core/fault_s.S:97: multiple definition of `__usage_fault'
    1> zephyr/arch/arm/core/libarch__arm__core.a(fault_s.S.obj):F:/ncs/zephyr/arch/arm/core/fault_s.S:97: first defined here
    1> libspmsecureentries.a: In function `gcov_coverage_dump':
    1> F:/ncs/zephyr/kernel/init.c:462: multiple definition of `_vector_table'
    1> zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a(vector_table.S.obj):(.exc_vector_table._vector_table_section+0x0): first defined here
    1> libspmsecureentries.a: In function `z_unpend_thread_no_timeout':
    1> F:/ncs/zephyr/kernel/sched.c:407: multiple definition of `z_unpend_thread_no_timeout'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:407: first defined here
    1> libspmsecureentries.a: In function `__swap':
    1> F:/ncs/zephyr/arch/arm/core/swap.c:55: multiple definition of `__swap'
    1> zephyr/arch/arm/core/libarch__arm__core.a(swap.c.obj):F:/ncs/zephyr/arch/arm/core/swap.c:55: first defined here
    1> libspmsecureentries.a: In function `z_new_thread':
    1> F:/ncs/zephyr/arch/arm/core/thread.c:57: multiple definition of `z_new_thread'
    1> zephyr/arch/arm/core/libarch__arm__core.a(thread.c.obj):F:/ncs/zephyr/arch/arm/core/thread.c:57: first defined here
    1> libspmsecureentries.a: In function `k_cpu_idle':
    1> F:/ncs/zephyr/arch/arm/core/cpu_idle.S:131: multiple definition of `k_cpu_idle'
    1> zephyr/arch/arm/core/libarch__arm__core.a(cpu_idle.S.obj):F:/ncs/zephyr/arch/arm/core/cpu_idle.S:131: first defined here
    1> libspmsecureentries.a: In function `z_is_thread_essential':
    1> F:/ncs/zephyr/kernel/thread.c:99: multiple definition of `z_is_thread_essential'
    1> zephyr/kernel/libkernel.a(thread.c.obj):F:/ncs/zephyr/kernel/thread.c:99: first defined here
    1> libspmsecureentries.a: In function `z_arch_irq_disable':
    1> F:/ncs/zephyr/arch/arm/core/irq_manage.c:59: multiple definition of `z_arch_irq_disable'
    1> zephyr/arch/arm/core/libarch__arm__core.a(irq_manage.c.obj):F:/ncs/zephyr/arch/arm/core/irq_manage.c:59: first defined here
    1> libspmsecureentries.a:F:/ncs/zephyr/kernel/init.c:79: multiple definition of `_main_stack'
    1> zephyr/kernel/libkernel.a(init.c.obj):F:/ncs/zephyr/kernel/init.c:79: first defined here
    1> libspmsecureentries.a: In function `memmove':
    1> F:/ncs/zephyr/lib/libc/minimal/source/string/string.c:206: multiple definition of `memmove'
    1> zephyr/lib/libc/minimal/liblib__libc__minimal.a(string.c.obj):F:/ncs/zephyr/lib/libc/minimal/source/string/string.c:206: first defined here
    1> libspmsecureentries.a: In function `_region_min_align':
    1> isr_tables.c:(*ABS*+0x6c): multiple definition of `K_THREAD_SIZEOF'
    1> libspmsecureentries.a: In function `__start':
    1> F:/ncs/zephyr/arch/arm/core/cortex_m/reset.S:62: multiple definition of `__reset'
    1> zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a(reset.S.obj):F:/ncs/zephyr/arch/arm/core/cortex_m/reset.S:62: first defined here
    1> libspmsecureentries.a: In function `__svc':
    1> F:/ncs/zephyr/arch/arm/core/swap_helper.S:376: multiple definition of `__svc'
    1> zephyr/arch/arm/core/libarch__arm__core.a(swap_helper.S.obj):F:/ncs/zephyr/arch/arm/core/swap_helper.S:376: first defined here
    1> libspmsecureentries.a: In function `z_thread_entry':
    1> F:/ncs/zephyr/lib/os/thread_entry.c:28: multiple definition of `z_thread_entry'
    1> zephyr/libzephyr.a(thread_entry.c.obj):F:/ncs/zephyr/lib/os/thread_entry.c:28: first defined here
    1> libspmsecureentries.a: In function `_IntExit':
    1> F:/ncs/zephyr/arch/arm/core/exc_exit.S:71: multiple definition of `z_ExcExit'
    1> zephyr/arch/arm/core/libarch__arm__core.a(exc_exit.S.obj):F:/ncs/zephyr/arch/arm/core/exc_exit.S:71: first defined here
    1> libspmsecureentries.a: In function `__data_ram_start':
    1> F:/ncs/zephyr/lib/os/printk.c:56: multiple definition of `_char_out'
    1> zephyr/libzephyr.a(printk.c.obj):F:/ncs/zephyr/lib/os/printk.c:56: first defined here
    1> libspmsecureentries.a: In function `rtc1_nrf_isr':
    1> F:/ncs/zephyr/drivers/timer/nrf_rtc_timer.c:55: multiple definition of `rtc1_nrf_isr'
    1> zephyr/libzephyr.a(nrf_rtc_timer.c.obj):F:/ncs/zephyr/drivers/timer/nrf_rtc_timer.c:55: first defined here
    1> libspmsecureentries.a: In function `relocate_vector_table':
    1> F:/ncs/zephyr/arch/arm/core/cortex_m/prep_c.c:48: multiple definition of `_PrepC'
    1> zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a(prep_c.c.obj):F:/ncs/zephyr/arch/arm/core/cortex_m/prep_c.c:48: first defined here
    1> libspmsecureentries.a: In function `z_arch_configure_static_mpu_regions':
    1> F:/ncs/zephyr/arch/arm/core/cortex_m/mpu/arm_core_mpu.c:62: multiple definition of `z_arch_configure_static_mpu_regions'
    1> zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a(arm_core_mpu.c.obj):F:/ncs/zephyr/arch/arm/core/cortex_m/mpu/arm_core_mpu.c:62: first defined here
    1> libspmsecureentries.a: In function `init_static_pools':
    1> F:/ncs/zephyr/kernel/mempool.c:39: multiple definition of `init_static_pools'
    1> zephyr/kernel/libkernel.a(mempool.c.obj):F:/ncs/zephyr/kernel/mempool.c:39: first defined here
    1> libspmsecureentries.a: In function `__hard_fault':
    1> F:/ncs/zephyr/arch/arm/core/fault_s.S:97: multiple definition of `__reserved'
    1> zephyr/arch/arm/core/libarch__arm__core.a(fault_s.S.obj):F:/ncs/zephyr/arch/arm/core/fault_s.S:97: first defined here
    1> libspmsecureentries.a: In function `memcpy':
    1> F:/ncs/zephyr/lib/libc/minimal/source/string/string.c:237: multiple definition of `memcpy'
    1> zephyr/lib/libc/minimal/liblib__libc__minimal.a(string.c.obj):F:/ncs/zephyr/lib/libc/minimal/source/string/string.c:237: first defined here
    1> libspmsecureentries.a: In function `z_do_kernel_oops':
    1> F:/ncs/zephyr/arch/arm/core/fatal.c:108: multiple definition of `z_do_kernel_oops'
    1> zephyr/arch/arm/core/libarch__arm__core.a(fatal.c.obj):F:/ncs/zephyr/arch/arm/core/fatal.c:108: first defined here
    1> libspmsecureentries.a: In function `z_impl_k_current_get':
    1> F:/ncs/zephyr/kernel/sched.c:1078: multiple definition of `z_impl_k_current_get'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:1078: first defined here
    1> libspmsecureentries.a: In function `z_cstart':
    1> F:/ncs/zephyr/kernel/init.c:476: multiple definition of `z_cstart'
    1> zephyr/kernel/libkernel.a(init.c.obj):F:/ncs/zephyr/kernel/init.c:476: first defined here
    1> libspmsecureentries.a: In function `__data_ram_start':
    1> isr_tables.c:(datas+0x4): multiple definition of `SystemCoreClock'
    1> zephyr/libzephyr.a(system_nrf9160.c.obj):(.data.SystemCoreClock+0x0): first defined here
    1> libspmsecureentries.a: In function `uart_console_hook_install':
    1> F:/ncs/zephyr/drivers/console/uart_console.c:600: multiple definition of `uart_console_hook_install'
    1> zephyr/libzephyr.a(uart_console.c.obj):F:/ncs/zephyr/drivers/console/uart_console.c:600: first defined here
    1> libspmsecureentries.a: In function `z_sys_device_do_config_level':
    1> F:/ncs/zephyr/kernel/device.c:40: multiple definition of `z_sys_device_do_config_level'
    1> zephyr/kernel/libkernel.a(device.c.obj):F:/ncs/zephyr/kernel/device.c:40: first defined here
    1> libspmsecureentries.a: In function `__kernel_ram_size':
    1> isr_tables.c:(*ABS*+0x20000000): multiple definition of `CONFIG_SRAM_BASE_ADDRESS'
    1> libspmsecureentries.a: In function `arm_core_mpu_configure_dynamic_mpu_regions':
    1> f:\ncs\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:231: multiple definition of `arm_core_mpu_configure_dynamic_mpu_regions'
    1> zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a(arm_mpu.c.obj):f:\ncs\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:231: first defined here
    1> libspmsecureentries.a: In function `sys_dlist_is_empty':
    1> F:/ncs/zephyr/include/misc/dlist.h:265: multiple definition of `z_priq_dumb_best'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/include/misc/dlist.h:265: first defined here
    1> libspmsecureentries.a: In function `z_sched_init':
    1> F:/ncs/zephyr/kernel/sched.c:816: multiple definition of `z_sched_init'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:816: first defined here
    1> libspmsecureentries.a: In function `_OffsetAbsSyms':
    1> F:/ncs/zephyr/arch/arm/core/offsets/offsets.c:85: multiple definition of `_OffsetAbsSyms'
    1> zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj:F:/ncs/zephyr/arch/arm/core/offsets/offsets.c:85: first defined here
    1> libspmsecureentries.a: In function `__printk_hook_install':
    1> F:/ncs/zephyr/lib/os/printk.c:69: multiple definition of `__printk_hook_install'
    1> zephyr/libzephyr.a(printk.c.obj):F:/ncs/zephyr/lib/os/printk.c:69: first defined here
    1> libspmsecureentries.a: In function `z_arch_irq_lock':
    1> F:/ncs/zephyr/include/arch/arm/cortex_m/asm_inline_gcc.h:132: multiple definition of `k_sched_lock'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:536: first defined here
    1> libspmsecureentries.a: In function `__udivmoddi4':
    1> isr_tables.c:(_TEXT_SECTION_NAME_2+0xa0): multiple definition of `__udivmoddi4'
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v8-m.main/fpv5-sp/hard\libgcc.a(_udivmoddi4.o):libgcc2.c:(.text+0x0): first defined here
    1> libspmsecureentries.a: In function `_Fault':
    1> F:/ncs/zephyr/arch/arm/core/fault.c:789: multiple definition of `_Fault'
    1> zephyr/arch/arm/core/libarch__arm__core.a(fault.c.obj):F:/ncs/zephyr/arch/arm/core/fault.c:787: first defined here
    1> libspmsecureentries.a: In function `z_reserve_fd':
    1> F:/ncs/zephyr/lib/os/fdtable.c:124: multiple definition of `_irq_vector_table'
    1> zephyr/libzephyr.a(isr_tables.c.obj):F:/ncs/zephyr/arch/common/isr_tables.c:42: first defined here
    1> libspmsecureentries.a: In function `z_init_static_threads':
    1> F:/ncs/zephyr/kernel/thread.c:636: multiple definition of `z_init_static_threads'
    1> zephyr/kernel/libkernel.a(thread.c.obj):F:/ncs/zephyr/kernel/thread.c:636: first defined here
    1> libspmsecureentries.a: In function `z_sys_power_save_idle_exit':
    1> F:/ncs/zephyr/kernel/idle.c:119: multiple definition of `z_sys_power_save_idle_exit'
    1> zephyr/kernel/libkernel.a(idle.c.obj):F:/ncs/zephyr/kernel/idle.c:119: first defined here
    1> libspmsecureentries.a: In function `_region_min_align':
    1> isr_tables.c:(*ABS*+0x400): multiple definition of `CONFIG_MAIN_STACK_SIZE'
    1> libspmsecureentries.a: In function `z_bss_zero':
    1> F:/ncs/zephyr/kernel/init.c:146: multiple definition of `z_bss_zero'
    1> zephyr/kernel/libkernel.a(init.c.obj):F:/ncs/zephyr/kernel/init.c:146: first defined here
    1> libspmsecureentries.a: In function `_ext_abis_size':
    1> isr_tables.c:(*ABS*+0x0): multiple definition of `CONFIG_FLASH_LOAD_OFFSET'
    1> libspmsecureentries.a: In function `__hard_fault':
    1> F:/ncs/zephyr/arch/arm/core/fault_s.S:97: multiple definition of `__bus_fault'
    1> zephyr/arch/arm/core/libarch__arm__core.a(fault_s.S.obj):F:/ncs/zephyr/arch/arm/core/fault_s.S:97: first defined here
    1> libspmsecureentries.a: In function `z_arch_irq_lock':
    1> F:/ncs/zephyr/include/arch/arm/cortex_m/asm_inline_gcc.h:132: multiple definition of `z_clock_elapsed'
    1> zephyr/libzephyr.a(nrf_rtc_timer.c.obj):F:/ncs/zephyr/drivers/timer/nrf_rtc_timer.c:138: first defined here
    1> libspmsecureentries.a: In function `arm_core_mpu_enable':
    1> f:\ncs\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:113: multiple definition of `arm_core_mpu_enable'
    1> zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a(arm_mpu.c.obj):f:\ncs\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:113: first defined here
    1> libspmsecureentries.a: In function `z_data_copy':
    1> F:/ncs/zephyr/kernel/init.c:177: multiple definition of `z_data_copy'
    1> zephyr/kernel/libkernel.a(init.c.obj):F:/ncs/zephyr/kernel/init.c:177: first defined here
    1> libspmsecureentries.a: In function `z_thread_single_abort':
    1> F:/ncs/zephyr/kernel/thread.c:580: multiple definition of `z_thread_single_abort'
    1> zephyr/kernel/libkernel.a(thread.c.obj):F:/ncs/zephyr/kernel/thread.c:580: first defined here
    1> libspmsecureentries.a: In function `z_platform_init':
    1> F:/ncs/zephyr/soc/arm/nordic_nrf/nrf91/soc.c:68: multiple definition of `z_platform_init'
    1> zephyr/libzephyr.a(soc.c.obj):F:/ncs/zephyr/soc/arm/nordic_nrf/nrf91/soc.c:68: first defined here
    1> libspmsecureentries.a: In function `__start':
    1> F:/ncs/zephyr/arch/arm/core/cortex_m/reset.S:62: multiple definition of `__start'
    1> zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a(reset.S.obj):F:/ncs/zephyr/arch/arm/core/cortex_m/reset.S:62: first defined here
    1> libspmsecureentries.a: In function `z_remove_thread_from_ready_q':
    1> F:/ncs/zephyr/kernel/sched.c:350: multiple definition of `z_remove_thread_from_ready_q'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:350: first defined here
    1> libspmsecureentries.a: In function `__bss_start':
    1> isr_tables.c:(bss+0x18dc): multiple definition of `_kernel'
    1> zephyr/kernel/libkernel.a(sched.c.obj):(.bss._kernel+0x0): first defined here
    1> libspmsecureentries.a:(rodata+0x0): multiple definition of `mpu_config'
    1> zephyr/libzephyr.a(mpu_regions.c.obj):F:/ncs/zephyr/include/arch/arm/cortex_m/mpu/arm_mpu.h:56: first defined here
    1> libspmsecureentries.a: In function `z_impl_k_thread_abort':
    1> F:/ncs/zephyr/arch/arm/core/thread_abort.c:31: multiple definition of `z_impl_k_thread_abort'
    1> zephyr/arch/arm/core/libarch__arm__core.a(thread_abort.c.obj):F:/ncs/zephyr/arch/arm/core/thread_abort.c:31: first defined here
    1> libspmsecureentries.a: In function `nrf_power_clock_isr':
    1> F:/ncs/zephyr/drivers/clock_control/nrf_power_clock.c:298: multiple definition of `nrf_power_clock_isr'
    1> zephyr/libzephyr.a(nrf_power_clock.c.obj):F:/ncs/zephyr/drivers/clock_control/nrf_power_clock.c:288: first defined here
    1> libspmsecureentries.a: In function `mbedtls_platform_zeroize':
    1> isr_tables.c:(_TEXT_SECTION_NAME_2+0x1b34): multiple definition of `mbedtls_platform_zeroize'
    1> F:/ncs/nrfxlib/bsdlib/lib/cortex-m33/hard-float/libbsd_nrf9160_xxaa.a(platform_util.c.o):platform_util.c:(.text.mbedtls_platform_zeroize+0x0): first defined here
    1> libspmsecureentries.a: In function `__hard_fault':
    1> F:/ncs/zephyr/arch/arm/core/fault_s.S:97: multiple definition of `__debug_monitor'
    1> zephyr/arch/arm/core/libarch__arm__core.a(fault_s.S.obj):F:/ncs/zephyr/arch/arm/core/fault_s.S:97: first defined here
    1> libspmsecureentries.a: In function `_region_min_align':
    1> isr_tables.c:(*ABS*+0x40): multiple definition of `CONFIG_SRAM_SIZE'
    1> libspmsecureentries.a: In function `idle':
    1> F:/ncs/zephyr/kernel/idle.c:130: multiple definition of `idle'
    1> zephyr/kernel/libkernel.a(idle.c.obj):F:/ncs/zephyr/kernel/idle.c:130: first defined here
    1> libspmsecureentries.a: In function `z_set_timeout_expiry':
    1> F:/ncs/zephyr/kernel/timeout.c:158: multiple definition of `z_set_timeout_expiry'
    1> zephyr/kernel/libkernel.a(timeout.c.obj):F:/ncs/zephyr/kernel/timeout.c:158: first defined here
    1> libspmsecureentries.a: In function `z_arch_configure_dynamic_mpu_regions':
    1> F:/ncs/zephyr/arch/arm/core/cortex_m/mpu/arm_core_mpu.c:145: multiple definition of `z_arch_configure_dynamic_mpu_regions'
    1> zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a(arm_core_mpu.c.obj):F:/ncs/zephyr/arch/arm/core/cortex_m/mpu/arm_core_mpu.c:145: first defined here
    1> libspmsecureentries.a:(noinit+0x540): multiple definition of `_interrupt_stack'
    1> zephyr/kernel/libkernel.a(init.c.obj):(.noinit."F:/ncs/zephyr/kernel/init.c".3+0x0): first defined here
    1> libspmsecureentries.a: In function `vprintk':
    1> F:/ncs/zephyr/lib/os/printk.c:333: multiple definition of `vprintk'
    1> zephyr/libzephyr.a(printk.c.obj):F:/ncs/zephyr/lib/os/printk.c:333: first defined here
    1> libspmsecureentries.a: In function `z_CpuIdleInit':
    1> F:/ncs/zephyr/arch/arm/core/cpu_idle.S:53: multiple definition of `z_CpuIdleInit'
    1> zephyr/arch/arm/core/libarch__arm__core.a(cpu_idle.S.obj):F:/ncs/zephyr/arch/arm/core/cpu_idle.S:53: first defined here
    1> libspmsecureentries.a: In function `_ext_abis_size':
    1> isr_tables.c:(*ABS*+0x0): multiple definition of `CONFIG_HEAP_MEM_POOL_SIZE'
    1> libspmsecureentries.a: In function `_region_min_align':
    1> isr_tables.c:(*ABS*+0x6c): multiple definition of `_K_THREAD_NO_FLOAT_SIZEOF'
    1> libspmsecureentries.a: In function `z_FaultInit':
    1> F:/ncs/zephyr/arch/arm/core/fault.c:887: multiple definition of `z_FaultInit'
    1> zephyr/arch/arm/core/libarch__arm__core.a(fault.c.obj):F:/ncs/zephyr/arch/arm/core/fault.c:887: first defined here
    1> libspmsecureentries.a: In function `z_thread_timeout':
    1> F:/ncs/zephyr/kernel/sched.c:422: multiple definition of `z_thread_timeout'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:422: first defined here
    1> libspmsecureentries.a: In function `_isr_wrapper':
    1> F:/ncs/zephyr/arch/arm/core/isr_wrapper.S:44: multiple definition of `_isr_wrapper'
    1> zephyr/arch/arm/core/libarch__arm__core.a(isr_wrapper.S.obj):F:/ncs/zephyr/arch/arm/core/isr_wrapper.S:44: first defined here
    1> libspmsecureentries.a: In function `z_get_next_timeout_expiry':
    1> F:/ncs/zephyr/kernel/timeout.c:148: multiple definition of `z_get_next_timeout_expiry'
    1> zephyr/kernel/libkernel.a(timeout.c.obj):F:/ncs/zephyr/kernel/timeout.c:148: first defined here
    1> libspmsecureentries.a: In function `z_reschedule':
    1> F:/ncs/zephyr/kernel/sched.c:518: multiple definition of `z_reschedule'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:518: first defined here
    1> libspmsecureentries.a: In function `_ConfigAbsSyms':
    1> F:\ncs\nrf\samples\nrf9160\at_client\build_nrf9160_pca10090ns/spm/zephyr/misc/generated/configs.c:556: multiple definition of `_ConfigAbsSyms'
    1> zephyr/libzephyr.a(configs.c.obj):F:\ncs\nrf\samples\nrf9160\at_client\build_nrf9160_pca10090ns/zephyr/misc/generated/configs.c:298: first defined here
    1> libspmsecureentries.a: In function `printk':
    1> F:/ncs/zephyr/lib/os/printk.c:377: multiple definition of `printk'
    1> zephyr/libzephyr.a(printk.c.obj):F:/ncs/zephyr/lib/os/printk.c:377: first defined here
    1> libspmsecureentries.a: In function `z_clock_set_timeout':
    1> F:/ncs/zephyr/drivers/timer/nrf_rtc_timer.c:112: multiple definition of `z_clock_set_timeout'
    1> zephyr/libzephyr.a(nrf_rtc_timer.c.obj):F:/ncs/zephyr/drivers/timer/nrf_rtc_timer.c:112: first defined here
    1> libspmsecureentries.a: In function `__nmi':
    1> F:/ncs/zephyr/arch/arm/core/cortex_m/nmi.c:92: multiple definition of `__nmi'
    1> zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a(nmi.c.obj):F:/ncs/zephyr/arch/arm/core/cortex_m/nmi.c:92: first defined here
    1> libspmsecureentries.a: In function `k_sched_unlock':
    1> F:/ncs/zephyr/kernel/sched.c:543: multiple definition of `k_sched_unlock'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:543: first defined here
    1> libspmsecureentries.a: In function `z_IntLibInit':
    1> F:/ncs/zephyr/arch/arm/core/irq_init.c:38: multiple definition of `z_IntLibInit'
    1> zephyr/arch/arm/core/libarch__arm__core.a(irq_init.c.obj):F:/ncs/zephyr/arch/arm/core/irq_init.c:38: first defined here
    1> libspmsecureentries.a: In function `z_vprintk':
    1> F:/ncs/zephyr/lib/os/printk.c:102: multiple definition of `z_vprintk'
    1> zephyr/libzephyr.a(printk.c.obj):F:/ncs/zephyr/lib/os/printk.c:102: first defined here
    1> libspmsecureentries.a: In function `z_NanoFatalErrorHandler':
    1> F:/ncs/zephyr/arch/arm/core/fatal.c:49: multiple definition of `z_NanoFatalErrorHandler'
    1> zephyr/arch/arm/core/libarch__arm__core.a(fatal.c.obj):F:/ncs/zephyr/arch/arm/core/fatal.c:49: first defined here
    1> libspmsecureentries.a:F:/ncs/zephyr/kernel/errno.c:23: multiple definition of `_k_neg_eagain'
    1> zephyr/kernel/libkernel.a(errno.c.obj):F:/ncs/zephyr/kernel/errno.c:23: first defined here
    1> libspmsecureentries.a: In function `z_move_thread_to_end_of_prio_q':
    1> F:/ncs/zephyr/kernel/sched.c:340: multiple definition of `z_move_thread_to_end_of_prio_q'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:340: first defined here
    1> libspmsecureentries.a: In function `memset':
    1> F:/ncs/zephyr/lib/libc/minimal/source/string/string.c:290: multiple definition of `memset'
    1> zephyr/lib/libc/minimal/liblib__libc__minimal.a(string.c.obj):F:/ncs/zephyr/lib/libc/minimal/source/string/string.c:290: first defined here
    1> libspmsecureentries.a: In function `main':
    1> F:/ncs/nrf/samples/nrf9160/spm/src/main.c:54: multiple definition of `main'
    1> app/libapp.a(main.c.obj):F:\ncs\nrf\samples\nrf9160\at_client\build_nrf9160_pca10090ns/../src/main.c:28: first defined here
    1> libspmsecureentries.a: In function `arm_core_mpu_mark_areas_for_dynamic_regions':
    1> f:\ncs\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:216: multiple definition of `arm_core_mpu_mark_areas_for_dynamic_regions'
    1> zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a(arm_mpu.c.obj):f:\ncs\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:216: first defined here
    1> libspmsecureentries.a: In function `z_impl_k_thread_start':
    1> F:/ncs/zephyr/kernel/thread.c:267: multiple definition of `z_impl_k_thread_start'
    1> zephyr/kernel/libkernel.a(thread.c.obj):F:/ncs/zephyr/kernel/thread.c:267: first defined here
    1> libspmsecureentries.a: In function `z_SysNmiOnReset':
    1> F:/ncs/zephyr/arch/arm/core/cortex_m/nmi_on_reset.S:26: multiple definition of `z_SysNmiOnReset'
    1> zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a(nmi_on_reset.S.obj):F:/ncs/zephyr/arch/arm/core/cortex_m/nmi_on_reset.S:26: first defined here
    1> libspmsecureentries.a: In function `z_irq_spurious':
    1> F:/ncs/zephyr/arch/arm/core/irq_manage.c:132: multiple definition of `z_irq_spurious'
    1> zephyr/arch/arm/core/libarch__arm__core.a(irq_manage.c.obj):F:/ncs/zephyr/arch/arm/core/irq_manage.c:132: first defined here
    1> libspmsecureentries.a: In function `__DMB':
    1> F:/ncs/zephyr/ext/hal/cmsis/Include/cmsis_gcc.h:890: multiple definition of `arm_core_mpu_disable'
    1> zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a(arm_mpu.c.obj):F:/ncs/zephyr/ext/hal/cmsis/Include/cmsis_gcc.h:890: first defined here
    1> libspmsecureentries.a:F:/ncs/zephyr/kernel/init.c:86: multiple definition of `_idle_thread'
    1> zephyr/kernel/libkernel.a(init.c.obj):F:/ncs/zephyr/kernel/init.c:86: first defined here
    1> libspmsecureentries.a: In function `__pendsv':
    1> F:/ncs/zephyr/arch/arm/core/swap_helper.S:59: multiple definition of `__pendsv'
    1> zephyr/arch/arm/core/libarch__arm__core.a(swap_helper.S.obj):F:/ncs/zephyr/arch/arm/core/swap_helper.S:59: first defined here
    1> libspmsecureentries.a: In function `strcmp':
    1> F:/ncs/zephyr/lib/libc/minimal/source/string/string.c:124: multiple definition of `strcmp'
    1> zephyr/lib/libc/minimal/liblib__libc__minimal.a(string.c.obj):F:/ncs/zephyr/lib/libc/minimal/source/string/string.c:124: first defined here
    1> libspmsecureentries.a: In function `__stdout_hook_install':
    1> F:/ncs/zephyr/lib/libc/minimal/source/stdout/stdout_console.c:25: multiple definition of `__stdout_hook_install'
    1> zephyr/lib/libc/minimal/liblib__libc__minimal.a(stdout_console.c.obj):F:/ncs/zephyr/lib/libc/minimal/source/stdout/stdout_console.c:25: first defined here
    1> libspmsecureentries.a: In function `_IntExit':
    1> F:/ncs/zephyr/arch/arm/core/exc_exit.S:71: multiple definition of `_IntExit'
    1> zephyr/arch/arm/core/libarch__arm__core.a(exc_exit.S.obj):F:/ncs/zephyr/arch/arm/core/exc_exit.S:71: first defined here
    1> libspmsecureentries.a: In function `SystemInit':
    1> F:/ncs/zephyr/ext/hal/nordic/nrfx/mdk/system_nrf9160.c:79: multiple definition of `SystemInit'
    1> zephyr/libzephyr.a(system_nrf9160.c.obj):F:/ncs/zephyr/ext/hal/nordic/nrfx/mdk/system_nrf9160.c:191: first defined here
    1> libspmsecureentries.a: In function `__kernel_ram_size':
    1> isr_tables.c:(*ABS*+0x30000): multiple definition of `CONFIG_FLASH_LOAD_SIZE'
    1> libspmsecureentries.a: In function `z_add_timeout':
    1> F:/ncs/zephyr/kernel/timeout.c:83: multiple definition of `z_add_timeout'
    1> zephyr/kernel/libkernel.a(timeout.c.obj):F:/ncs/zephyr/kernel/timeout.c:84: first defined here
    1> libspmsecureentries.a: In function `arm_core_mpu_configure_static_mpu_regions':
    1> f:\ncs\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:200: multiple definition of `arm_core_mpu_configure_static_mpu_regions'
    1> zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a(arm_mpu.c.obj):f:\ncs\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:200: first defined here
    1> libspmsecureentries.a: In function `k_sched_time_slice_set':
    1> F:/ncs/zephyr/kernel/sched.c:264: multiple definition of `k_sched_time_slice_set'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:264: first defined here
    1> libspmsecureentries.a:(sw_isr_table+0x0): multiple definition of `_sw_isr_table'
    1> zephyr/libzephyr.a(isr_tables.c.obj):(.gnu.linkonce.sw_isr_table+0x0): first defined here
    1> libspmsecureentries.a: In function `z_add_thread_to_ready_q':
    1> F:/ncs/zephyr/kernel/sched.c:331: multiple definition of `z_add_thread_to_ready_q'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:331: first defined here
    1> libspmsecureentries.a: In function `__hard_fault':
    1> F:/ncs/zephyr/arch/arm/core/fault_s.S:97: multiple definition of `__mpu_fault'
    1> zephyr/arch/arm/core/libarch__arm__core.a(fault_s.S.obj):F:/ncs/zephyr/arch/arm/core/fault_s.S:97: first defined here
    1> libspmsecureentries.a: In function `z_reschedule_irqlock':
    1> F:/ncs/zephyr/kernel/sched.c:527: multiple definition of `z_reschedule_irqlock'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:527: first defined here
    1> libspmsecureentries.a: In function `z_setup_new_thread':
    1> F:/ncs/zephyr/kernel/thread.c:352: multiple definition of `z_setup_new_thread'
    1> zephyr/kernel/libkernel.a(thread.c.obj):F:/ncs/zephyr/kernel/thread.c:352: first defined here
    1> libspmsecureentries.a: In function `_region_min_align':
    1> isr_tables.c:(*ABS*+0x30): multiple definition of `_STRUCT_KERNEL_SIZE'
    1> libspmsecureentries.a: In function `__hard_fault':
    1> F:/ncs/zephyr/arch/arm/core/fault_s.S:97: multiple definition of `__hard_fault'
    1> zephyr/arch/arm/core/libarch__arm__core.a(fault_s.S.obj):F:/ncs/zephyr/arch/arm/core/fault_s.S:97: first defined here
    1> libspmsecureentries.a: In function `_region_min_align':
    1> isr_tables.c:(*ABS*+0x20): multiple definition of `___esf_t_SIZEOF'
    1> libspmsecureentries.a: In function `cmse_TT':
    1> f:\gnuarmemb\7-2018-q2-update\lib\gcc\arm-none-eabi\7.3.1\include/arm_cmse.h:125: multiple definition of `arm_cmse_mpu_region_get'
    1> zephyr/libzephyr.a(arm_core_cmse.c.obj):f:\gnuarmemb\7-2018-q2-update\lib\gcc\arm-none-eabi\7.3.1\include/arm_cmse.h:125: first defined here
    1> libspmsecureentries.a: In function `z_priq_dumb_remove':
    1> F:/ncs/zephyr/kernel/sched.c:646: multiple definition of `z_priq_dumb_remove'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:646: first defined here
    1> libspmsecureentries.a: In function `z_irq_priority_set':
    1> F:/ncs/zephyr/arch/arm/core/irq_manage.c:115: multiple definition of `z_irq_priority_set'
    1> zephyr/arch/arm/core/libarch__arm__core.a(irq_manage.c.obj):F:/ncs/zephyr/arch/arm/core/irq_manage.c:85: first defined here
    1> libspmsecureentries.a: In function `z_time_slice':
    1> F:/ncs/zephyr/kernel/sched.c:285: multiple definition of `z_time_slice'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:285: first defined here
    1> libspmsecureentries.a: In function `z_arch_irq_enable':
    1> F:/ncs/zephyr/arch/arm/core/irq_manage.c:45: multiple definition of `z_arch_irq_enable'
    1> zephyr/arch/arm/core/libarch__arm__core.a(irq_manage.c.obj):F:/ncs/zephyr/arch/arm/core/irq_manage.c:45: first defined here
    1> libspmsecureentries.a: In function `z_clock_driver_init':
    1> F:/ncs/zephyr/drivers/timer/nrf_rtc_timer.c:77: multiple definition of `z_clock_driver_init'
    1> zephyr/libzephyr.a(nrf_rtc_timer.c.obj):F:/ncs/zephyr/drivers/timer/nrf_rtc_timer.c:77: first defined here
    1> libspmsecureentries.a: In function `z_sys_mem_pool_block_free':
    1> F:/ncs/zephyr/include/misc/dlist.h:405: multiple definition of `__aeabi_ldivmod'
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v8-m.main/fpv5-sp/hard\libgcc.a(_aeabi_ldivmod.o):(.text+0x0): first defined here
    1> libspmsecureentries.a: In function `z_impl_device_get_binding':
    1> F:/ncs/zephyr/kernel/device.c:77: multiple definition of `z_impl_device_get_binding'
    1> zephyr/kernel/libkernel.a(device.c.obj):F:/ncs/zephyr/kernel/device.c:77: first defined here
    1> libspmsecureentries.a: In function `z_sys_mem_pool_base_init':
    1> F:/ncs/zephyr/lib/os/mempool.c:81: multiple definition of `z_sys_mem_pool_base_init'
    1> zephyr/libzephyr.a(mempool.c.obj):F:/ncs/zephyr/lib/os/mempool.c:81: first defined here
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: orphan section `_TEXT_SECTION_NAME_2' from `libspmsecureentries.a' being placed in section `_TEXT_SECTION_NAME_2'.
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: libspmsecureentries.a: `spm_request_system_reboot' and its special symbol are in different sections.
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: libspmsecureentries.a: `spm_request_random_number' and its special symbol are in different sections.
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: cannot size stub section: Invalid operation
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `text' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `_TEXT_SECTION_NAME_2' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `.ARM.exidx' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `sw_isr_table' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `devconfig' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `rodata' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `datas' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `initlevel' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `_k_mem_slab_area' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `_k_mem_pool_area' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `_k_mutex_area' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `_k_msgq_area' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `_net_buf_pool_area' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `net_if' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `net_if_dev' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `.intList' not in segment
    1> collect2.exe: error: ld returned 1 exit status
    1> IDT_LIST: 120 B 2 KB 5.86%
    Build failed

Reply
  • LOG again (but the same error, just different paths)
    =======================================

    Building ‘spm/zephyr/include/generated/driver-validation.h’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘spm/zephyr/include/generated/driver-validation.h’
    Building ‘spm/zephyr/CMakeFiles/spm_driver_validation_h_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/spm_driver_validation_h_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/include/generated/kobj-types-enum.h’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘spm/zephyr/include/generated/kobj-types-enum.h’
    Building ‘spm/zephyr/include/generated/otype-to-str.h’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/CMakeFiles/spm_kobj_types_h_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/spm_kobj_types_h_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/misc/generated/syscalls.json’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘spm/zephyr/misc/generated/syscalls.json’
    Building ‘spm/zephyr/include/generated/syscall_list.h’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘spm/zephyr/include/generated/syscall_list.h’
    Building ‘spm/zephyr/CMakeFiles/spm_syscall_list_h_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/include/generated/syscall_dispatch.c’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/spm_syscall_list_h_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/include/generated/syscall_macros.h’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘spm/zephyr/include/generated/syscall_macros.h’
    Building ‘spm/zephyr/CMakeFiles/spm_syscall_macros_h_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/spm_syscall_macros_h_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_offsets’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/spm_offsets’ from solution ‘build’ in configuration ‘Common’
    1> Compiling ‘offsets.c’
    Building ‘spm/zephyr/include/generated/offsets.h’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘spm/zephyr/include/generated/offsets.h’
    Building ‘spm/zephyr/CMakeFiles/spm_offsets_h’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/spm_offsets_h’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_app’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_arch__arm__core’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_arch__arm__core__cortex_m’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_arch__arm__core__cortex_m__mpu’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_drivers__serial’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_kernel’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_lib__libc__minimal’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_mbedcrypto_vanilla’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_mbeddrbg’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_zephyr’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/linker.cmd’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘spm/zephyr/linker.cmd’
    Building ‘spm/zephyr/CMakeFiles/spm_linker_script_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/spm_linker_script_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_spm_zephyr_prebuilt’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/spm_app/libspm_app.a’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/libspm_zephyr.a’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/arch/arm/core/libspm_arch__arm__core.a’ from solution ‘build’ in configuration ‘Common’
    1> Compiling ‘isr_tables.c’
    2> Compiling ‘main.c’
    Building ‘spm/zephyr/arch/arm/core/cortex_m/libspm_arch__arm__core__cortex_m.a’ from solution ‘build’ in configuration ‘Common’
    3> Assembling ‘exc_exit.S’
    Building ‘spm/zephyr/arch/arm/core/cortex_m/mpu/libspm_arch__arm__core__cortex_m__mpu.a’ from solution ‘build’ in configuration ‘Common’
    4> Assembling ‘vector_table.S’
    Building ‘spm/zephyr/lib/libc/minimal/libspm_lib__libc__minimal.a’ from solution ‘build’ in configuration ‘Common’
    5> Compiling ‘arm_core_mpu.c’
    Building ‘spm/zephyr/drivers/serial/libspm_drivers__serial.a’ from solution ‘build’ in configuration ‘Common’
    6> Compiling ‘atoi.c’
    Building ‘spm/zephyr/modules/nrfxlib/nrf_security/src/mbedtls/libspm_mbeddrbg.a’ from solution ‘build’ in configuration ‘Common’
    7> Compiling ‘uart_nrfx_uarte.c’
    Building ‘spm/zephyr/modules/nrfxlib/nrf_security/src/mbedtls/libspm_mbedcrypto_vanilla.a’ from solution ‘build’ in configuration ‘Common’
    8> Compiling ‘ctr_drbg.c’
    Building ‘spm/zephyr/kernel/libspm_kernel.a’ from solution ‘build’ in configuration ‘Common’
    9> Compiling ‘aes.c’
    10> Compiling ‘device.c’
    2> Archiving ‘libspm_app.a’
    3> Assembling ‘swap_helper.S’
    4> Assembling ‘reset.S’
    1> Compiling ‘sw_isr_common.c’
    5> Compiling ‘arm_mpu.c’
    6> Compiling ‘strtol.c’
    8> Compiling ‘entropy.c’
    9> Compiling ‘aesni.c’
    7> Archiving ‘libspm_drivers__serial.a’
    3> Assembling ‘cpu_idle.S’
    4> Assembling ‘nmi_on_reset.S’
    10> Compiling ‘errno.c’
    6> Compiling ‘strtoul.c’
    1> Compiling ‘arm_core_cmse.c’
    9> Compiling ‘arc4.c’
    3> Assembling ‘fault_s.S’
    4> Compiling ‘prep_c.c’
    8> Archiving ‘libspm_mbeddrbg.a’
    9> Compiling ‘aria.c’
    3> Assembling ‘isr_wrapper.S’
    6> Compiling ‘malloc.c’
    10> Compiling ‘idle.c’
    5> Archiving ‘libspm_arch__arm__core__cortex_m__mpu.a’
    3> Compiling ‘irq_init.c’
    1> Compiling ‘arm_core_tz.c’
    9> Compiling ‘asn1parse.c’
    4> Compiling ‘scb.c’
    10> Compiling ‘init.c’
    6> Compiling ‘bsearch.c’
    1> Compiling ‘crc32_sw.c’
    3> Compiling ‘swap.c’
    9> Compiling ‘asn1write.c’
    4> Compiling ‘nmi.c’
    6> Compiling ‘exit.c’
    1> Compiling ‘crc16_sw.c’
    10> Compiling ‘mailbox.c’
    3> Compiling ‘fault.c’
    4> Compiling ‘exc_manage.c’
    9> Compiling ‘base64.c’
    1> Compiling ‘crc8_sw.c’
    6> Compiling ‘strncasecmp.c’
    1> Compiling ‘crc7_sw.c’
    6> Compiling ‘strstr.c’
    9> Compiling ‘bignum.c’
    4> Archiving ‘libspm_arch__arm__core__cortex_m.a’
    3> Compiling ‘irq_manage.c’
    10> Compiling ‘mem_slab.c’
    1> Compiling ‘fdtable.c’
    6> Compiling ‘string.c’
    3> Compiling ‘thread.c’
    10> Compiling ‘mempool.c’
    1> Compiling ‘mempool.c’
    6> Compiling ‘prf.c’
    3> Compiling ‘fatal.c’
    10> Compiling ‘msg_q.c’
    1> Compiling ‘rb.c’
    6> Compiling ‘stdout_console.c’
    3> Compiling ‘sys_fatal_error_handler.c’
    10> Compiling ‘mutex.c’
    6> Compiling ‘sprintf.c’
    3> Compiling ‘thread_abort.c’
    9> Compiling ‘blowfish.c’
    6> Compiling ‘fprintf.c’
    1> Compiling ‘thread_entry.c’
    9> Compiling ‘camellia.c’
    10> Compiling ‘pipes.c’
    6> Archiving ‘libspm_lib__libc__minimal.a’
    3> Archiving ‘libspm_arch__arm__core.a’
    9> Compiling ‘ccm.c’
    1> Compiling ‘work_q.c’
    9> Compiling ‘chacha20.c’
    9> Compiling ‘chachapoly.c’
    1> Compiling ‘printk.c’
    10> Compiling ‘queue.c’
    9> Compiling ‘cipher.c’
    10> Compiling ‘sched.c’
    1> Compiling ‘configs.c’
    9> Compiling ‘cmac.c’
    9> Compiling ‘des.c’
    1> Compiling ‘soc.c’
    9> Compiling ‘dhm.c’
    9> Compiling ‘ecdh.c’
    1> Compiling ‘mpu_regions.c’
    10> Compiling ‘sem.c’
    1> Compiling ‘system_nrf9160.c’
    9> Compiling ‘ecdsa.c’
    10> Compiling ‘stack.c’
    1> Compiling ‘nrfx_glue.c’
    9> Compiling ‘ecjpake.c’
    9> Compiling ‘ecp.c’
    1> Compiling ‘power.c’
    10> Compiling ‘system_work_q.c’
    10> Compiling ‘thread.c’
    1> Compiling ‘reboot.c’
    1> Compiling ‘policy_residency.c’
    10> Compiling ‘thread_abort.c’
    1> Compiling ‘uart_console.c’
    10> Compiling ‘version.c’
    9> Compiling ‘ecp_curves.c’
    10> Compiling ‘work_q.c’
    1> Compiling ‘nrf_power_clock.c’
    1> Compiling ‘sys_clock_init.c’
    10> Compiling ‘smp.c’
    1> Compiling ‘nrf_rtc_timer.c’
    10> Compiling ‘timeout.c’
    9> Compiling ‘entropy_poll.c’
    9> Compiling ‘error.c’
    1> Compiling ‘spm.c’
    10> Compiling ‘timer.c’
    9> Compiling ‘gcm.c’
    9> Compiling ‘havege.c’
    1> Compiling ‘secure_services.c’
    10> Archiving ‘libspm_kernel.a’
    9> Compiling ‘hkdf.c’
    1> Archiving ‘libspm_zephyr.a’
    9> Compiling ‘hmac_drbg.c’
    9> Compiling ‘md.c’
    9> Compiling ‘md2.c’
    9> Compiling ‘md4.c’
    9> Compiling ‘md5.c’
    9> Compiling ‘md_wrap.c’
    9> Compiling ‘memory_buffer_alloc.c’
    9> Compiling ‘nist_kw.c’
    9> Compiling ‘oid.c’
    9> Compiling ‘padlock.c’
    9> Compiling ‘pk.c’
    9> Compiling ‘pk_wrap.c’
    9> Compiling ‘pkcs12.c’
    9> Compiling ‘pkcs5.c’
    9> Compiling ‘pkparse.c’
    9> Compiling ‘pkwrite.c’
    9> Compiling ‘platform.c’
    9> Compiling ‘platform_util.c’
    9> Compiling ‘poly1305.c’
    9> Compiling ‘ripemd160.c’
    9> Compiling ‘rsa.c’
    9> Compiling ‘rsa_internal.c’
    9> Compiling ‘sha1.c’
    9> Compiling ‘sha256.c’
    9> Compiling ‘sha512.c’
    9> Compiling ‘threading.c’
    9> Compiling ‘timing.c’
    9> Compiling ‘version.c’
    9> Compiling ‘version_features.c’
    9> Compiling ‘xtea.c’
    9> Compiling ‘cipher_wrap.c’
    9> Compiling ‘pem.c’
    9> Archiving ‘libspm_mbedcrypto_vanilla.a’
    Building ‘spm/zephyr/spm_zephyr_prebuilt.elf’ from solution ‘build’ in configuration ‘Common’
    1> Compiling ‘empty_file.c’
    1> Linking ‘spm_zephyr_prebuilt.elf’
    1> Memory region Used Size Region Size %age Used
    1> FLASH: 32 KB 48 KB 66.67%
    1> SRAM: 10000 B 64 KB 15.26%
    1> IDT_LIST: 40 B 2 KB 1.95%
    Building ‘spm/zephyr/linker_pass_final.cmd’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘spm/zephyr/linker_pass_final.cmd’
    Building ‘spm/zephyr/CMakeFiles/spm_linker_pass_final_script_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/spm_linker_pass_final_script_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/isr_tables.c’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘spm/zephyr/isr_tables.c’
    Building ‘cmake_object_order_depends_target_spm_zephyr_final’ from solution ‘build’ in configuration ‘Common’
    Building ‘libspmsecureentries.a’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/zephyr.elf’ from solution ‘build’ in configuration ‘Common’
    1> Compiling ‘empty_file.c’
    2> Linking ‘zephyr.elf’
    1> Compiling ‘isr_tables.c’
    2> Post-link command
    1> Linking ‘libspmsecureentries.a’
    1> Post-link command
    Building ‘spm/zephyr/arch/arm/core/cortex_m/tz/CMakeFiles/nsc_veneers’ from solution ‘build’ in configuration ‘Common’
    Building ‘spm/zephyr/arch/arm/core/cortex_m/tz/nsc_veneers’ from solution ‘build’ in configuration ‘Common’
    Building ‘zephyr/include/generated/driver-validation.h’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘zephyr/include/generated/driver-validation.h’
    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’
    1> Combining ‘zephyr/include/generated/kobj-types-enum.h’
    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’
    1> Combining ‘zephyr/include/generated/syscall_list.h’
    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’
    1> Combining ‘zephyr/include/generated/syscall_macros.h’
    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’
    Building ‘zephyr/include/generated/offsets.h’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘zephyr/include/generated/offsets.h’
    Building ‘zephyr/CMakeFiles/offsets_h’ from solution ‘build’ in configuration ‘Common’
    Building ‘zephyr/offsets_h’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_app’ from solution ‘build’ in configuration ‘Common’
    Building ‘app/libapp.a’ from solution ‘build’ in configuration ‘Common’
    1> Compiling ‘main.c’
    1> Archiving ‘libapp.a’
    Building ‘cmake_object_order_depends_target_..__nrf__drivers__at_cmd’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_..__nrf__lib__at_host’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_..__nrf__lib__bsdlib’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_arch__arm__core’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_arch__arm__core__cortex_m’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_arch__arm__core__cortex_m__mpu’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_drivers__gpio’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_drivers__serial’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_kernel’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_lib__libc__minimal’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_subsys__net’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_subsys__net__ip’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_zephyr’ from solution ‘build’ in configuration ‘Common’
    Building ‘zephyr/linker.cmd’ from solution ‘build’ in configuration ‘Common’
    1> Combining ‘zephyr/linker.cmd’
    Building ‘zephyr/CMakeFiles/linker_script_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘zephyr/linker_script_target’ from solution ‘build’ in configuration ‘Common’
    Building ‘cmake_object_order_depends_target_zephyr_prebuilt’ from solution ‘build’ in configuration ‘Common’
    Building ‘zephyr/libzephyr.a’ from solution ‘build’ in configuration ‘Common’
    Building ‘zephyr/arch/arm/core/libarch__arm__core.a’ from solution ‘build’ in configuration ‘Common’
    Building ‘zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a’ from solution ‘build’ in configuration ‘Common’
    1> Assembling ‘exc_exit.S’
    2> Compiling ‘isr_tables.c’
    Building ‘zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a’ from solution ‘build’ in configuration ‘Common’
    3> Assembling ‘vector_table.S’
    Building ‘zephyr/lib/libc/minimal/liblib__libc__minimal.a’ from solution ‘build’ in configuration ‘Common’
    4> Compiling ‘arm_core_mpu.c’
    Building ‘zephyr/subsys/net/libsubsys__net.a’ from solution ‘build’ in configuration ‘Common’
    5> Compiling ‘atoi.c’
    Building ‘zephyr/subsys/net/ip/libsubsys__net__ip.a’ from solution ‘build’ in configuration ‘Common’
    6> Compiling ‘buf.c’
    Building ‘zephyr/drivers/gpio/libdrivers__gpio.a’ from solution ‘build’ in configuration ‘Common’
    7> Compiling ‘net_context.c’
    Building ‘zephyr/drivers/serial/libdrivers__serial.a’ from solution ‘build’ in configuration ‘Common’
    8> Compiling ‘gpio_nrfx.c’
    Building ‘zephyr/modules/nrf/lib/bsdlib/lib..__nrf__lib__bsdlib.a’ from solution ‘build’ in configuration ‘Common’
    9> Compiling ‘uart_nrfx_uarte.c’
    Building ‘zephyr/modules/nrf/lib/at_host/lib..__nrf__lib__at_host.a’ from solution ‘build’ in configuration ‘Common’
    10> Compiling ‘bsdlib.c’
    Building ‘zephyr/modules/nrf/drivers/at_cmd/lib..__nrf__drivers__at_cmd.a’ from solution ‘build’ in configuration ‘Common’
    11> Compiling ‘at_host.c’
    Building ‘zephyr/kernel/libkernel.a’ from solution ‘build’ in configuration ‘Common’
    1> Assembling ‘swap_helper.S’
    12> Compiling ‘at_cmd.c’
    13> Compiling ‘device.c’
    3> Assembling ‘reset.S’
    2> Compiling ‘sw_isr_common.c’
    4> Compiling ‘arm_mpu.c’
    5> Compiling ‘strtol.c’
    1> Assembling ‘cpu_idle.S’
    13> Compiling ‘errno.c’
    3> Assembling ‘nmi_on_reset.S’
    11> Archiving ‘lib..__nrf__lib__at_host.a’
    2> Compiling ‘arm_core_cmse.c’
    6> Archiving ‘libsubsys__net.a’
    10> Compiling ‘bsd_os.c’
    9> Archiving ‘libdrivers__serial.a’
    3> Compiling ‘prep_c.c’
    1> Assembling ‘fault_s.S’
    5> Compiling ‘strtoul.c’
    13> Compiling ‘idle.c’
    12> Archiving ‘lib..__nrf__drivers__at_cmd.a’
    8> Archiving ‘libdrivers__gpio.a’
    4> Archiving ‘libarch__arm__core__cortex_m__mpu.a’
    2> Compiling ‘crc32_sw.c’
    7> Compiling ‘net_core.c’
    1> Assembling ‘isr_wrapper.S’
    3> Compiling ‘scb.c’
    5> Compiling ‘malloc.c’
    2> Compiling ‘crc16_sw.c’
    1> Compiling ‘irq_init.c’
    10> Compiling ‘nrf91_sockets.c’
    13> Compiling ‘init.c’
    3> Compiling ‘nmi.c’
    2> Compiling ‘crc8_sw.c’
    7> Compiling ‘net_if.c’
    5> Compiling ‘bsearch.c’
    1> Compiling ‘swap.c’
    13> Compiling ‘mailbox.c’
    2> Compiling ‘crc7_sw.c’
    3> Compiling ‘exc_manage.c’
    5> Compiling ‘exit.c’
    2> Compiling ‘fdtable.c’
    1> Compiling ‘fault.c’
    10> Archiving ‘lib..__nrf__lib__bsdlib.a’
    5> Compiling ‘strncasecmp.c’
    3> Archiving ‘libarch__arm__core__cortex_m.a’
    13> Compiling ‘mem_slab.c’
    2> Compiling ‘mempool.c’
    7> Compiling ‘net_pkt.c’
    5> Compiling ‘strstr.c’
    1> Compiling ‘irq_manage.c’
    5> Compiling ‘string.c’
    13> Compiling ‘mempool.c’
    1> Compiling ‘thread.c’
    2> Compiling ‘rb.c’
    5> Compiling ‘prf.c’
    1> Compiling ‘fatal.c’
    13> Compiling ‘msg_q.c’
    7> Compiling ‘net_tc.c’
    2> Compiling ‘thread_entry.c’
    5> Compiling ‘stdout_console.c’
    1> Compiling ‘sys_fatal_error_handler.c’
    13> Compiling ‘mutex.c’
    7> Compiling ‘utils.c’
    5> Compiling ‘sprintf.c’
    2> Compiling ‘work_q.c’
    1> Compiling ‘thread_abort.c’
    5> Compiling ‘fprintf.c’
    13> Compiling ‘pipes.c’
    2> Compiling ‘printk.c’
    1> Archiving ‘libarch__arm__core.a’
    5> Archiving ‘liblib__libc__minimal.a’
    7> Archiving ‘libsubsys__net__ip.a’
    2> Compiling ‘assert.c’
    13> Compiling ‘queue.c’
    2> Compiling ‘configs.c’
    2> Compiling ‘soc.c’
    13> Compiling ‘sched.c’
    2> Compiling ‘mpu_regions.c’
    2> Compiling ‘system_nrf9160.c’
    2> Compiling ‘nrfx_glue.c’
    2> Compiling ‘addr_utils.c’
    13> Compiling ‘sem.c’
    13> Compiling ‘stack.c’
    2> Compiling ‘socket_offload.c’
    2> Compiling ‘rand32_timer.c’
    13> Compiling ‘system_work_q.c’
    13> Compiling ‘thread.c’
    2> Compiling ‘power.c’
    2> Compiling ‘policy_residency.c’
    13> Compiling ‘thread_abort.c’
    2> Compiling ‘uart_console.c’
    13> Compiling ‘version.c’
    13> Compiling ‘work_q.c’
    2> Compiling ‘nrf_power_clock.c’
    2> Compiling ‘sys_clock_init.c’
    13> Compiling ‘smp.c’
    2> Compiling ‘nrf_rtc_timer.c’
    13> Compiling ‘timeout.c’
    2> Compiling ‘secure_services_ns.c’
    13> Compiling ‘timer.c’
    2> Archiving ‘libzephyr.a’
    13> Compiling ‘poll.c’
    13> Archiving ‘libkernel.a’
    Building ‘zephyr/zephyr_prebuilt.elf’ from solution ‘build’ in configuration ‘Common’
    1> Compiling ‘empty_file.c’
    1> Linking ‘zephyr_prebuilt.elf’
    1> Memory region Used Size Region Size %age Used
    1> FLASH: 123644 B 976 KB 12.37%
    1> SRAM: 24 KB 128 KB 18.75%
    1> libspmsecureentries.a: In function `z_abort_timeout':
    1> F:/ncs/zephyr/kernel/timeout.c:114: multiple definition of `z_abort_timeout'
    1> zephyr/kernel/libkernel.a(timeout.c.obj):F:/ncs/zephyr/kernel/timeout.c:114: first defined here
    1> libspmsecureentries.a:F:/ncs/zephyr/kernel/init.c:80: multiple definition of `_idle_stack'
    1> zephyr/kernel/libkernel.a(init.c.obj):F:/ncs/zephyr/kernel/init.c:80: first defined here
    1> libspmsecureentries.a: In function `z_init_thread_base':
    1> F:/ncs/zephyr/kernel/thread.c:683: multiple definition of `z_init_thread_base'
    1> zephyr/kernel/libkernel.a(thread.c.obj):F:/ncs/zephyr/kernel/thread.c:683: first defined here
    1> libspmsecureentries.a: In function `z_clock_announce':
    1> F:/ncs/zephyr/kernel/timeout.c:177: multiple definition of `z_clock_announce'
    1> zephyr/kernel/libkernel.a(timeout.c.obj):F:/ncs/zephyr/kernel/timeout.c:177: first defined here
    1> libspmsecureentries.a: In function `__get_IPSR':
    1> F:/ncs/zephyr/ext/hal/cmsis/Include/cmsis_gcc.h:209: multiple definition of `k_is_in_isr'
    1> zephyr/kernel/libkernel.a(thread.c.obj):F:/ncs/zephyr/ext/hal/cmsis/Include/cmsis_gcc.h:209: first defined here
    1> libspmsecureentries.a: In function `__hard_fault':
    1> F:/ncs/zephyr/arch/arm/core/fault_s.S:97: multiple definition of `__usage_fault'
    1> zephyr/arch/arm/core/libarch__arm__core.a(fault_s.S.obj):F:/ncs/zephyr/arch/arm/core/fault_s.S:97: first defined here
    1> libspmsecureentries.a: In function `gcov_coverage_dump':
    1> F:/ncs/zephyr/kernel/init.c:462: multiple definition of `_vector_table'
    1> zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a(vector_table.S.obj):(.exc_vector_table._vector_table_section+0x0): first defined here
    1> libspmsecureentries.a: In function `z_unpend_thread_no_timeout':
    1> F:/ncs/zephyr/kernel/sched.c:407: multiple definition of `z_unpend_thread_no_timeout'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:407: first defined here
    1> libspmsecureentries.a: In function `__swap':
    1> F:/ncs/zephyr/arch/arm/core/swap.c:55: multiple definition of `__swap'
    1> zephyr/arch/arm/core/libarch__arm__core.a(swap.c.obj):F:/ncs/zephyr/arch/arm/core/swap.c:55: first defined here
    1> libspmsecureentries.a: In function `z_new_thread':
    1> F:/ncs/zephyr/arch/arm/core/thread.c:57: multiple definition of `z_new_thread'
    1> zephyr/arch/arm/core/libarch__arm__core.a(thread.c.obj):F:/ncs/zephyr/arch/arm/core/thread.c:57: first defined here
    1> libspmsecureentries.a: In function `k_cpu_idle':
    1> F:/ncs/zephyr/arch/arm/core/cpu_idle.S:131: multiple definition of `k_cpu_idle'
    1> zephyr/arch/arm/core/libarch__arm__core.a(cpu_idle.S.obj):F:/ncs/zephyr/arch/arm/core/cpu_idle.S:131: first defined here
    1> libspmsecureentries.a: In function `z_is_thread_essential':
    1> F:/ncs/zephyr/kernel/thread.c:99: multiple definition of `z_is_thread_essential'
    1> zephyr/kernel/libkernel.a(thread.c.obj):F:/ncs/zephyr/kernel/thread.c:99: first defined here
    1> libspmsecureentries.a: In function `z_arch_irq_disable':
    1> F:/ncs/zephyr/arch/arm/core/irq_manage.c:59: multiple definition of `z_arch_irq_disable'
    1> zephyr/arch/arm/core/libarch__arm__core.a(irq_manage.c.obj):F:/ncs/zephyr/arch/arm/core/irq_manage.c:59: first defined here
    1> libspmsecureentries.a:F:/ncs/zephyr/kernel/init.c:79: multiple definition of `_main_stack'
    1> zephyr/kernel/libkernel.a(init.c.obj):F:/ncs/zephyr/kernel/init.c:79: first defined here
    1> libspmsecureentries.a: In function `memmove':
    1> F:/ncs/zephyr/lib/libc/minimal/source/string/string.c:206: multiple definition of `memmove'
    1> zephyr/lib/libc/minimal/liblib__libc__minimal.a(string.c.obj):F:/ncs/zephyr/lib/libc/minimal/source/string/string.c:206: first defined here
    1> libspmsecureentries.a: In function `_region_min_align':
    1> isr_tables.c:(*ABS*+0x6c): multiple definition of `K_THREAD_SIZEOF'
    1> libspmsecureentries.a: In function `__start':
    1> F:/ncs/zephyr/arch/arm/core/cortex_m/reset.S:62: multiple definition of `__reset'
    1> zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a(reset.S.obj):F:/ncs/zephyr/arch/arm/core/cortex_m/reset.S:62: first defined here
    1> libspmsecureentries.a: In function `__svc':
    1> F:/ncs/zephyr/arch/arm/core/swap_helper.S:376: multiple definition of `__svc'
    1> zephyr/arch/arm/core/libarch__arm__core.a(swap_helper.S.obj):F:/ncs/zephyr/arch/arm/core/swap_helper.S:376: first defined here
    1> libspmsecureentries.a: In function `z_thread_entry':
    1> F:/ncs/zephyr/lib/os/thread_entry.c:28: multiple definition of `z_thread_entry'
    1> zephyr/libzephyr.a(thread_entry.c.obj):F:/ncs/zephyr/lib/os/thread_entry.c:28: first defined here
    1> libspmsecureentries.a: In function `_IntExit':
    1> F:/ncs/zephyr/arch/arm/core/exc_exit.S:71: multiple definition of `z_ExcExit'
    1> zephyr/arch/arm/core/libarch__arm__core.a(exc_exit.S.obj):F:/ncs/zephyr/arch/arm/core/exc_exit.S:71: first defined here
    1> libspmsecureentries.a: In function `__data_ram_start':
    1> F:/ncs/zephyr/lib/os/printk.c:56: multiple definition of `_char_out'
    1> zephyr/libzephyr.a(printk.c.obj):F:/ncs/zephyr/lib/os/printk.c:56: first defined here
    1> libspmsecureentries.a: In function `rtc1_nrf_isr':
    1> F:/ncs/zephyr/drivers/timer/nrf_rtc_timer.c:55: multiple definition of `rtc1_nrf_isr'
    1> zephyr/libzephyr.a(nrf_rtc_timer.c.obj):F:/ncs/zephyr/drivers/timer/nrf_rtc_timer.c:55: first defined here
    1> libspmsecureentries.a: In function `relocate_vector_table':
    1> F:/ncs/zephyr/arch/arm/core/cortex_m/prep_c.c:48: multiple definition of `_PrepC'
    1> zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a(prep_c.c.obj):F:/ncs/zephyr/arch/arm/core/cortex_m/prep_c.c:48: first defined here
    1> libspmsecureentries.a: In function `z_arch_configure_static_mpu_regions':
    1> F:/ncs/zephyr/arch/arm/core/cortex_m/mpu/arm_core_mpu.c:62: multiple definition of `z_arch_configure_static_mpu_regions'
    1> zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a(arm_core_mpu.c.obj):F:/ncs/zephyr/arch/arm/core/cortex_m/mpu/arm_core_mpu.c:62: first defined here
    1> libspmsecureentries.a: In function `init_static_pools':
    1> F:/ncs/zephyr/kernel/mempool.c:39: multiple definition of `init_static_pools'
    1> zephyr/kernel/libkernel.a(mempool.c.obj):F:/ncs/zephyr/kernel/mempool.c:39: first defined here
    1> libspmsecureentries.a: In function `__hard_fault':
    1> F:/ncs/zephyr/arch/arm/core/fault_s.S:97: multiple definition of `__reserved'
    1> zephyr/arch/arm/core/libarch__arm__core.a(fault_s.S.obj):F:/ncs/zephyr/arch/arm/core/fault_s.S:97: first defined here
    1> libspmsecureentries.a: In function `memcpy':
    1> F:/ncs/zephyr/lib/libc/minimal/source/string/string.c:237: multiple definition of `memcpy'
    1> zephyr/lib/libc/minimal/liblib__libc__minimal.a(string.c.obj):F:/ncs/zephyr/lib/libc/minimal/source/string/string.c:237: first defined here
    1> libspmsecureentries.a: In function `z_do_kernel_oops':
    1> F:/ncs/zephyr/arch/arm/core/fatal.c:108: multiple definition of `z_do_kernel_oops'
    1> zephyr/arch/arm/core/libarch__arm__core.a(fatal.c.obj):F:/ncs/zephyr/arch/arm/core/fatal.c:108: first defined here
    1> libspmsecureentries.a: In function `z_impl_k_current_get':
    1> F:/ncs/zephyr/kernel/sched.c:1078: multiple definition of `z_impl_k_current_get'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:1078: first defined here
    1> libspmsecureentries.a: In function `z_cstart':
    1> F:/ncs/zephyr/kernel/init.c:476: multiple definition of `z_cstart'
    1> zephyr/kernel/libkernel.a(init.c.obj):F:/ncs/zephyr/kernel/init.c:476: first defined here
    1> libspmsecureentries.a: In function `__data_ram_start':
    1> isr_tables.c:(datas+0x4): multiple definition of `SystemCoreClock'
    1> zephyr/libzephyr.a(system_nrf9160.c.obj):(.data.SystemCoreClock+0x0): first defined here
    1> libspmsecureentries.a: In function `uart_console_hook_install':
    1> F:/ncs/zephyr/drivers/console/uart_console.c:600: multiple definition of `uart_console_hook_install'
    1> zephyr/libzephyr.a(uart_console.c.obj):F:/ncs/zephyr/drivers/console/uart_console.c:600: first defined here
    1> libspmsecureentries.a: In function `z_sys_device_do_config_level':
    1> F:/ncs/zephyr/kernel/device.c:40: multiple definition of `z_sys_device_do_config_level'
    1> zephyr/kernel/libkernel.a(device.c.obj):F:/ncs/zephyr/kernel/device.c:40: first defined here
    1> libspmsecureentries.a: In function `__kernel_ram_size':
    1> isr_tables.c:(*ABS*+0x20000000): multiple definition of `CONFIG_SRAM_BASE_ADDRESS'
    1> libspmsecureentries.a: In function `arm_core_mpu_configure_dynamic_mpu_regions':
    1> f:\ncs\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:231: multiple definition of `arm_core_mpu_configure_dynamic_mpu_regions'
    1> zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a(arm_mpu.c.obj):f:\ncs\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:231: first defined here
    1> libspmsecureentries.a: In function `sys_dlist_is_empty':
    1> F:/ncs/zephyr/include/misc/dlist.h:265: multiple definition of `z_priq_dumb_best'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/include/misc/dlist.h:265: first defined here
    1> libspmsecureentries.a: In function `z_sched_init':
    1> F:/ncs/zephyr/kernel/sched.c:816: multiple definition of `z_sched_init'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:816: first defined here
    1> libspmsecureentries.a: In function `_OffsetAbsSyms':
    1> F:/ncs/zephyr/arch/arm/core/offsets/offsets.c:85: multiple definition of `_OffsetAbsSyms'
    1> zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj:F:/ncs/zephyr/arch/arm/core/offsets/offsets.c:85: first defined here
    1> libspmsecureentries.a: In function `__printk_hook_install':
    1> F:/ncs/zephyr/lib/os/printk.c:69: multiple definition of `__printk_hook_install'
    1> zephyr/libzephyr.a(printk.c.obj):F:/ncs/zephyr/lib/os/printk.c:69: first defined here
    1> libspmsecureentries.a: In function `z_arch_irq_lock':
    1> F:/ncs/zephyr/include/arch/arm/cortex_m/asm_inline_gcc.h:132: multiple definition of `k_sched_lock'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:536: first defined here
    1> libspmsecureentries.a: In function `__udivmoddi4':
    1> isr_tables.c:(_TEXT_SECTION_NAME_2+0xa0): multiple definition of `__udivmoddi4'
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v8-m.main/fpv5-sp/hard\libgcc.a(_udivmoddi4.o):libgcc2.c:(.text+0x0): first defined here
    1> libspmsecureentries.a: In function `_Fault':
    1> F:/ncs/zephyr/arch/arm/core/fault.c:789: multiple definition of `_Fault'
    1> zephyr/arch/arm/core/libarch__arm__core.a(fault.c.obj):F:/ncs/zephyr/arch/arm/core/fault.c:787: first defined here
    1> libspmsecureentries.a: In function `z_reserve_fd':
    1> F:/ncs/zephyr/lib/os/fdtable.c:124: multiple definition of `_irq_vector_table'
    1> zephyr/libzephyr.a(isr_tables.c.obj):F:/ncs/zephyr/arch/common/isr_tables.c:42: first defined here
    1> libspmsecureentries.a: In function `z_init_static_threads':
    1> F:/ncs/zephyr/kernel/thread.c:636: multiple definition of `z_init_static_threads'
    1> zephyr/kernel/libkernel.a(thread.c.obj):F:/ncs/zephyr/kernel/thread.c:636: first defined here
    1> libspmsecureentries.a: In function `z_sys_power_save_idle_exit':
    1> F:/ncs/zephyr/kernel/idle.c:119: multiple definition of `z_sys_power_save_idle_exit'
    1> zephyr/kernel/libkernel.a(idle.c.obj):F:/ncs/zephyr/kernel/idle.c:119: first defined here
    1> libspmsecureentries.a: In function `_region_min_align':
    1> isr_tables.c:(*ABS*+0x400): multiple definition of `CONFIG_MAIN_STACK_SIZE'
    1> libspmsecureentries.a: In function `z_bss_zero':
    1> F:/ncs/zephyr/kernel/init.c:146: multiple definition of `z_bss_zero'
    1> zephyr/kernel/libkernel.a(init.c.obj):F:/ncs/zephyr/kernel/init.c:146: first defined here
    1> libspmsecureentries.a: In function `_ext_abis_size':
    1> isr_tables.c:(*ABS*+0x0): multiple definition of `CONFIG_FLASH_LOAD_OFFSET'
    1> libspmsecureentries.a: In function `__hard_fault':
    1> F:/ncs/zephyr/arch/arm/core/fault_s.S:97: multiple definition of `__bus_fault'
    1> zephyr/arch/arm/core/libarch__arm__core.a(fault_s.S.obj):F:/ncs/zephyr/arch/arm/core/fault_s.S:97: first defined here
    1> libspmsecureentries.a: In function `z_arch_irq_lock':
    1> F:/ncs/zephyr/include/arch/arm/cortex_m/asm_inline_gcc.h:132: multiple definition of `z_clock_elapsed'
    1> zephyr/libzephyr.a(nrf_rtc_timer.c.obj):F:/ncs/zephyr/drivers/timer/nrf_rtc_timer.c:138: first defined here
    1> libspmsecureentries.a: In function `arm_core_mpu_enable':
    1> f:\ncs\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:113: multiple definition of `arm_core_mpu_enable'
    1> zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a(arm_mpu.c.obj):f:\ncs\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:113: first defined here
    1> libspmsecureentries.a: In function `z_data_copy':
    1> F:/ncs/zephyr/kernel/init.c:177: multiple definition of `z_data_copy'
    1> zephyr/kernel/libkernel.a(init.c.obj):F:/ncs/zephyr/kernel/init.c:177: first defined here
    1> libspmsecureentries.a: In function `z_thread_single_abort':
    1> F:/ncs/zephyr/kernel/thread.c:580: multiple definition of `z_thread_single_abort'
    1> zephyr/kernel/libkernel.a(thread.c.obj):F:/ncs/zephyr/kernel/thread.c:580: first defined here
    1> libspmsecureentries.a: In function `z_platform_init':
    1> F:/ncs/zephyr/soc/arm/nordic_nrf/nrf91/soc.c:68: multiple definition of `z_platform_init'
    1> zephyr/libzephyr.a(soc.c.obj):F:/ncs/zephyr/soc/arm/nordic_nrf/nrf91/soc.c:68: first defined here
    1> libspmsecureentries.a: In function `__start':
    1> F:/ncs/zephyr/arch/arm/core/cortex_m/reset.S:62: multiple definition of `__start'
    1> zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a(reset.S.obj):F:/ncs/zephyr/arch/arm/core/cortex_m/reset.S:62: first defined here
    1> libspmsecureentries.a: In function `z_remove_thread_from_ready_q':
    1> F:/ncs/zephyr/kernel/sched.c:350: multiple definition of `z_remove_thread_from_ready_q'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:350: first defined here
    1> libspmsecureentries.a: In function `__bss_start':
    1> isr_tables.c:(bss+0x18dc): multiple definition of `_kernel'
    1> zephyr/kernel/libkernel.a(sched.c.obj):(.bss._kernel+0x0): first defined here
    1> libspmsecureentries.a:(rodata+0x0): multiple definition of `mpu_config'
    1> zephyr/libzephyr.a(mpu_regions.c.obj):F:/ncs/zephyr/include/arch/arm/cortex_m/mpu/arm_mpu.h:56: first defined here
    1> libspmsecureentries.a: In function `z_impl_k_thread_abort':
    1> F:/ncs/zephyr/arch/arm/core/thread_abort.c:31: multiple definition of `z_impl_k_thread_abort'
    1> zephyr/arch/arm/core/libarch__arm__core.a(thread_abort.c.obj):F:/ncs/zephyr/arch/arm/core/thread_abort.c:31: first defined here
    1> libspmsecureentries.a: In function `nrf_power_clock_isr':
    1> F:/ncs/zephyr/drivers/clock_control/nrf_power_clock.c:298: multiple definition of `nrf_power_clock_isr'
    1> zephyr/libzephyr.a(nrf_power_clock.c.obj):F:/ncs/zephyr/drivers/clock_control/nrf_power_clock.c:288: first defined here
    1> libspmsecureentries.a: In function `mbedtls_platform_zeroize':
    1> isr_tables.c:(_TEXT_SECTION_NAME_2+0x1b34): multiple definition of `mbedtls_platform_zeroize'
    1> F:/ncs/nrfxlib/bsdlib/lib/cortex-m33/hard-float/libbsd_nrf9160_xxaa.a(platform_util.c.o):platform_util.c:(.text.mbedtls_platform_zeroize+0x0): first defined here
    1> libspmsecureentries.a: In function `__hard_fault':
    1> F:/ncs/zephyr/arch/arm/core/fault_s.S:97: multiple definition of `__debug_monitor'
    1> zephyr/arch/arm/core/libarch__arm__core.a(fault_s.S.obj):F:/ncs/zephyr/arch/arm/core/fault_s.S:97: first defined here
    1> libspmsecureentries.a: In function `_region_min_align':
    1> isr_tables.c:(*ABS*+0x40): multiple definition of `CONFIG_SRAM_SIZE'
    1> libspmsecureentries.a: In function `idle':
    1> F:/ncs/zephyr/kernel/idle.c:130: multiple definition of `idle'
    1> zephyr/kernel/libkernel.a(idle.c.obj):F:/ncs/zephyr/kernel/idle.c:130: first defined here
    1> libspmsecureentries.a: In function `z_set_timeout_expiry':
    1> F:/ncs/zephyr/kernel/timeout.c:158: multiple definition of `z_set_timeout_expiry'
    1> zephyr/kernel/libkernel.a(timeout.c.obj):F:/ncs/zephyr/kernel/timeout.c:158: first defined here
    1> libspmsecureentries.a: In function `z_arch_configure_dynamic_mpu_regions':
    1> F:/ncs/zephyr/arch/arm/core/cortex_m/mpu/arm_core_mpu.c:145: multiple definition of `z_arch_configure_dynamic_mpu_regions'
    1> zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a(arm_core_mpu.c.obj):F:/ncs/zephyr/arch/arm/core/cortex_m/mpu/arm_core_mpu.c:145: first defined here
    1> libspmsecureentries.a:(noinit+0x540): multiple definition of `_interrupt_stack'
    1> zephyr/kernel/libkernel.a(init.c.obj):(.noinit."F:/ncs/zephyr/kernel/init.c".3+0x0): first defined here
    1> libspmsecureentries.a: In function `vprintk':
    1> F:/ncs/zephyr/lib/os/printk.c:333: multiple definition of `vprintk'
    1> zephyr/libzephyr.a(printk.c.obj):F:/ncs/zephyr/lib/os/printk.c:333: first defined here
    1> libspmsecureentries.a: In function `z_CpuIdleInit':
    1> F:/ncs/zephyr/arch/arm/core/cpu_idle.S:53: multiple definition of `z_CpuIdleInit'
    1> zephyr/arch/arm/core/libarch__arm__core.a(cpu_idle.S.obj):F:/ncs/zephyr/arch/arm/core/cpu_idle.S:53: first defined here
    1> libspmsecureentries.a: In function `_ext_abis_size':
    1> isr_tables.c:(*ABS*+0x0): multiple definition of `CONFIG_HEAP_MEM_POOL_SIZE'
    1> libspmsecureentries.a: In function `_region_min_align':
    1> isr_tables.c:(*ABS*+0x6c): multiple definition of `_K_THREAD_NO_FLOAT_SIZEOF'
    1> libspmsecureentries.a: In function `z_FaultInit':
    1> F:/ncs/zephyr/arch/arm/core/fault.c:887: multiple definition of `z_FaultInit'
    1> zephyr/arch/arm/core/libarch__arm__core.a(fault.c.obj):F:/ncs/zephyr/arch/arm/core/fault.c:887: first defined here
    1> libspmsecureentries.a: In function `z_thread_timeout':
    1> F:/ncs/zephyr/kernel/sched.c:422: multiple definition of `z_thread_timeout'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:422: first defined here
    1> libspmsecureentries.a: In function `_isr_wrapper':
    1> F:/ncs/zephyr/arch/arm/core/isr_wrapper.S:44: multiple definition of `_isr_wrapper'
    1> zephyr/arch/arm/core/libarch__arm__core.a(isr_wrapper.S.obj):F:/ncs/zephyr/arch/arm/core/isr_wrapper.S:44: first defined here
    1> libspmsecureentries.a: In function `z_get_next_timeout_expiry':
    1> F:/ncs/zephyr/kernel/timeout.c:148: multiple definition of `z_get_next_timeout_expiry'
    1> zephyr/kernel/libkernel.a(timeout.c.obj):F:/ncs/zephyr/kernel/timeout.c:148: first defined here
    1> libspmsecureentries.a: In function `z_reschedule':
    1> F:/ncs/zephyr/kernel/sched.c:518: multiple definition of `z_reschedule'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:518: first defined here
    1> libspmsecureentries.a: In function `_ConfigAbsSyms':
    1> F:\ncs\nrf\samples\nrf9160\at_client\build_nrf9160_pca10090ns/spm/zephyr/misc/generated/configs.c:556: multiple definition of `_ConfigAbsSyms'
    1> zephyr/libzephyr.a(configs.c.obj):F:\ncs\nrf\samples\nrf9160\at_client\build_nrf9160_pca10090ns/zephyr/misc/generated/configs.c:298: first defined here
    1> libspmsecureentries.a: In function `printk':
    1> F:/ncs/zephyr/lib/os/printk.c:377: multiple definition of `printk'
    1> zephyr/libzephyr.a(printk.c.obj):F:/ncs/zephyr/lib/os/printk.c:377: first defined here
    1> libspmsecureentries.a: In function `z_clock_set_timeout':
    1> F:/ncs/zephyr/drivers/timer/nrf_rtc_timer.c:112: multiple definition of `z_clock_set_timeout'
    1> zephyr/libzephyr.a(nrf_rtc_timer.c.obj):F:/ncs/zephyr/drivers/timer/nrf_rtc_timer.c:112: first defined here
    1> libspmsecureentries.a: In function `__nmi':
    1> F:/ncs/zephyr/arch/arm/core/cortex_m/nmi.c:92: multiple definition of `__nmi'
    1> zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a(nmi.c.obj):F:/ncs/zephyr/arch/arm/core/cortex_m/nmi.c:92: first defined here
    1> libspmsecureentries.a: In function `k_sched_unlock':
    1> F:/ncs/zephyr/kernel/sched.c:543: multiple definition of `k_sched_unlock'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:543: first defined here
    1> libspmsecureentries.a: In function `z_IntLibInit':
    1> F:/ncs/zephyr/arch/arm/core/irq_init.c:38: multiple definition of `z_IntLibInit'
    1> zephyr/arch/arm/core/libarch__arm__core.a(irq_init.c.obj):F:/ncs/zephyr/arch/arm/core/irq_init.c:38: first defined here
    1> libspmsecureentries.a: In function `z_vprintk':
    1> F:/ncs/zephyr/lib/os/printk.c:102: multiple definition of `z_vprintk'
    1> zephyr/libzephyr.a(printk.c.obj):F:/ncs/zephyr/lib/os/printk.c:102: first defined here
    1> libspmsecureentries.a: In function `z_NanoFatalErrorHandler':
    1> F:/ncs/zephyr/arch/arm/core/fatal.c:49: multiple definition of `z_NanoFatalErrorHandler'
    1> zephyr/arch/arm/core/libarch__arm__core.a(fatal.c.obj):F:/ncs/zephyr/arch/arm/core/fatal.c:49: first defined here
    1> libspmsecureentries.a:F:/ncs/zephyr/kernel/errno.c:23: multiple definition of `_k_neg_eagain'
    1> zephyr/kernel/libkernel.a(errno.c.obj):F:/ncs/zephyr/kernel/errno.c:23: first defined here
    1> libspmsecureentries.a: In function `z_move_thread_to_end_of_prio_q':
    1> F:/ncs/zephyr/kernel/sched.c:340: multiple definition of `z_move_thread_to_end_of_prio_q'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:340: first defined here
    1> libspmsecureentries.a: In function `memset':
    1> F:/ncs/zephyr/lib/libc/minimal/source/string/string.c:290: multiple definition of `memset'
    1> zephyr/lib/libc/minimal/liblib__libc__minimal.a(string.c.obj):F:/ncs/zephyr/lib/libc/minimal/source/string/string.c:290: first defined here
    1> libspmsecureentries.a: In function `main':
    1> F:/ncs/nrf/samples/nrf9160/spm/src/main.c:54: multiple definition of `main'
    1> app/libapp.a(main.c.obj):F:\ncs\nrf\samples\nrf9160\at_client\build_nrf9160_pca10090ns/../src/main.c:28: first defined here
    1> libspmsecureentries.a: In function `arm_core_mpu_mark_areas_for_dynamic_regions':
    1> f:\ncs\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:216: multiple definition of `arm_core_mpu_mark_areas_for_dynamic_regions'
    1> zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a(arm_mpu.c.obj):f:\ncs\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:216: first defined here
    1> libspmsecureentries.a: In function `z_impl_k_thread_start':
    1> F:/ncs/zephyr/kernel/thread.c:267: multiple definition of `z_impl_k_thread_start'
    1> zephyr/kernel/libkernel.a(thread.c.obj):F:/ncs/zephyr/kernel/thread.c:267: first defined here
    1> libspmsecureentries.a: In function `z_SysNmiOnReset':
    1> F:/ncs/zephyr/arch/arm/core/cortex_m/nmi_on_reset.S:26: multiple definition of `z_SysNmiOnReset'
    1> zephyr/arch/arm/core/cortex_m/libarch__arm__core__cortex_m.a(nmi_on_reset.S.obj):F:/ncs/zephyr/arch/arm/core/cortex_m/nmi_on_reset.S:26: first defined here
    1> libspmsecureentries.a: In function `z_irq_spurious':
    1> F:/ncs/zephyr/arch/arm/core/irq_manage.c:132: multiple definition of `z_irq_spurious'
    1> zephyr/arch/arm/core/libarch__arm__core.a(irq_manage.c.obj):F:/ncs/zephyr/arch/arm/core/irq_manage.c:132: first defined here
    1> libspmsecureentries.a: In function `__DMB':
    1> F:/ncs/zephyr/ext/hal/cmsis/Include/cmsis_gcc.h:890: multiple definition of `arm_core_mpu_disable'
    1> zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a(arm_mpu.c.obj):F:/ncs/zephyr/ext/hal/cmsis/Include/cmsis_gcc.h:890: first defined here
    1> libspmsecureentries.a:F:/ncs/zephyr/kernel/init.c:86: multiple definition of `_idle_thread'
    1> zephyr/kernel/libkernel.a(init.c.obj):F:/ncs/zephyr/kernel/init.c:86: first defined here
    1> libspmsecureentries.a: In function `__pendsv':
    1> F:/ncs/zephyr/arch/arm/core/swap_helper.S:59: multiple definition of `__pendsv'
    1> zephyr/arch/arm/core/libarch__arm__core.a(swap_helper.S.obj):F:/ncs/zephyr/arch/arm/core/swap_helper.S:59: first defined here
    1> libspmsecureentries.a: In function `strcmp':
    1> F:/ncs/zephyr/lib/libc/minimal/source/string/string.c:124: multiple definition of `strcmp'
    1> zephyr/lib/libc/minimal/liblib__libc__minimal.a(string.c.obj):F:/ncs/zephyr/lib/libc/minimal/source/string/string.c:124: first defined here
    1> libspmsecureentries.a: In function `__stdout_hook_install':
    1> F:/ncs/zephyr/lib/libc/minimal/source/stdout/stdout_console.c:25: multiple definition of `__stdout_hook_install'
    1> zephyr/lib/libc/minimal/liblib__libc__minimal.a(stdout_console.c.obj):F:/ncs/zephyr/lib/libc/minimal/source/stdout/stdout_console.c:25: first defined here
    1> libspmsecureentries.a: In function `_IntExit':
    1> F:/ncs/zephyr/arch/arm/core/exc_exit.S:71: multiple definition of `_IntExit'
    1> zephyr/arch/arm/core/libarch__arm__core.a(exc_exit.S.obj):F:/ncs/zephyr/arch/arm/core/exc_exit.S:71: first defined here
    1> libspmsecureentries.a: In function `SystemInit':
    1> F:/ncs/zephyr/ext/hal/nordic/nrfx/mdk/system_nrf9160.c:79: multiple definition of `SystemInit'
    1> zephyr/libzephyr.a(system_nrf9160.c.obj):F:/ncs/zephyr/ext/hal/nordic/nrfx/mdk/system_nrf9160.c:191: first defined here
    1> libspmsecureentries.a: In function `__kernel_ram_size':
    1> isr_tables.c:(*ABS*+0x30000): multiple definition of `CONFIG_FLASH_LOAD_SIZE'
    1> libspmsecureentries.a: In function `z_add_timeout':
    1> F:/ncs/zephyr/kernel/timeout.c:83: multiple definition of `z_add_timeout'
    1> zephyr/kernel/libkernel.a(timeout.c.obj):F:/ncs/zephyr/kernel/timeout.c:84: first defined here
    1> libspmsecureentries.a: In function `arm_core_mpu_configure_static_mpu_regions':
    1> f:\ncs\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:200: multiple definition of `arm_core_mpu_configure_static_mpu_regions'
    1> zephyr/arch/arm/core/cortex_m/mpu/libarch__arm__core__cortex_m__mpu.a(arm_mpu.c.obj):f:\ncs\zephyr\arch\arm\core\cortex_m\mpu/arm_mpu.c:200: first defined here
    1> libspmsecureentries.a: In function `k_sched_time_slice_set':
    1> F:/ncs/zephyr/kernel/sched.c:264: multiple definition of `k_sched_time_slice_set'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:264: first defined here
    1> libspmsecureentries.a:(sw_isr_table+0x0): multiple definition of `_sw_isr_table'
    1> zephyr/libzephyr.a(isr_tables.c.obj):(.gnu.linkonce.sw_isr_table+0x0): first defined here
    1> libspmsecureentries.a: In function `z_add_thread_to_ready_q':
    1> F:/ncs/zephyr/kernel/sched.c:331: multiple definition of `z_add_thread_to_ready_q'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:331: first defined here
    1> libspmsecureentries.a: In function `__hard_fault':
    1> F:/ncs/zephyr/arch/arm/core/fault_s.S:97: multiple definition of `__mpu_fault'
    1> zephyr/arch/arm/core/libarch__arm__core.a(fault_s.S.obj):F:/ncs/zephyr/arch/arm/core/fault_s.S:97: first defined here
    1> libspmsecureentries.a: In function `z_reschedule_irqlock':
    1> F:/ncs/zephyr/kernel/sched.c:527: multiple definition of `z_reschedule_irqlock'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:527: first defined here
    1> libspmsecureentries.a: In function `z_setup_new_thread':
    1> F:/ncs/zephyr/kernel/thread.c:352: multiple definition of `z_setup_new_thread'
    1> zephyr/kernel/libkernel.a(thread.c.obj):F:/ncs/zephyr/kernel/thread.c:352: first defined here
    1> libspmsecureentries.a: In function `_region_min_align':
    1> isr_tables.c:(*ABS*+0x30): multiple definition of `_STRUCT_KERNEL_SIZE'
    1> libspmsecureentries.a: In function `__hard_fault':
    1> F:/ncs/zephyr/arch/arm/core/fault_s.S:97: multiple definition of `__hard_fault'
    1> zephyr/arch/arm/core/libarch__arm__core.a(fault_s.S.obj):F:/ncs/zephyr/arch/arm/core/fault_s.S:97: first defined here
    1> libspmsecureentries.a: In function `_region_min_align':
    1> isr_tables.c:(*ABS*+0x20): multiple definition of `___esf_t_SIZEOF'
    1> libspmsecureentries.a: In function `cmse_TT':
    1> f:\gnuarmemb\7-2018-q2-update\lib\gcc\arm-none-eabi\7.3.1\include/arm_cmse.h:125: multiple definition of `arm_cmse_mpu_region_get'
    1> zephyr/libzephyr.a(arm_core_cmse.c.obj):f:\gnuarmemb\7-2018-q2-update\lib\gcc\arm-none-eabi\7.3.1\include/arm_cmse.h:125: first defined here
    1> libspmsecureentries.a: In function `z_priq_dumb_remove':
    1> F:/ncs/zephyr/kernel/sched.c:646: multiple definition of `z_priq_dumb_remove'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:646: first defined here
    1> libspmsecureentries.a: In function `z_irq_priority_set':
    1> F:/ncs/zephyr/arch/arm/core/irq_manage.c:115: multiple definition of `z_irq_priority_set'
    1> zephyr/arch/arm/core/libarch__arm__core.a(irq_manage.c.obj):F:/ncs/zephyr/arch/arm/core/irq_manage.c:85: first defined here
    1> libspmsecureentries.a: In function `z_time_slice':
    1> F:/ncs/zephyr/kernel/sched.c:285: multiple definition of `z_time_slice'
    1> zephyr/kernel/libkernel.a(sched.c.obj):F:/ncs/zephyr/kernel/sched.c:285: first defined here
    1> libspmsecureentries.a: In function `z_arch_irq_enable':
    1> F:/ncs/zephyr/arch/arm/core/irq_manage.c:45: multiple definition of `z_arch_irq_enable'
    1> zephyr/arch/arm/core/libarch__arm__core.a(irq_manage.c.obj):F:/ncs/zephyr/arch/arm/core/irq_manage.c:45: first defined here
    1> libspmsecureentries.a: In function `z_clock_driver_init':
    1> F:/ncs/zephyr/drivers/timer/nrf_rtc_timer.c:77: multiple definition of `z_clock_driver_init'
    1> zephyr/libzephyr.a(nrf_rtc_timer.c.obj):F:/ncs/zephyr/drivers/timer/nrf_rtc_timer.c:77: first defined here
    1> libspmsecureentries.a: In function `z_sys_mem_pool_block_free':
    1> F:/ncs/zephyr/include/misc/dlist.h:405: multiple definition of `__aeabi_ldivmod'
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v8-m.main/fpv5-sp/hard\libgcc.a(_aeabi_ldivmod.o):(.text+0x0): first defined here
    1> libspmsecureentries.a: In function `z_impl_device_get_binding':
    1> F:/ncs/zephyr/kernel/device.c:77: multiple definition of `z_impl_device_get_binding'
    1> zephyr/kernel/libkernel.a(device.c.obj):F:/ncs/zephyr/kernel/device.c:77: first defined here
    1> libspmsecureentries.a: In function `z_sys_mem_pool_base_init':
    1> F:/ncs/zephyr/lib/os/mempool.c:81: multiple definition of `z_sys_mem_pool_base_init'
    1> zephyr/libzephyr.a(mempool.c.obj):F:/ncs/zephyr/lib/os/mempool.c:81: first defined here
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: orphan section `_TEXT_SECTION_NAME_2' from `libspmsecureentries.a' being placed in section `_TEXT_SECTION_NAME_2'.
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: libspmsecureentries.a: `spm_request_system_reboot' and its special symbol are in different sections.
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: libspmsecureentries.a: `spm_request_random_number' and its special symbol are in different sections.
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: cannot size stub section: Invalid operation
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `text' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `_TEXT_SECTION_NAME_2' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `.ARM.exidx' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `sw_isr_table' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `devconfig' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `rodata' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `datas' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `initlevel' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `_k_mem_slab_area' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `_k_mem_pool_area' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `_k_mutex_area' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `_k_msgq_area' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `_net_buf_pool_area' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `net_if' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `net_if_dev' not in segment
    1> f:/gnuarmemb/7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/zephyr_prebuilt.elf: warning: allocated section `.intList' not in segment
    1> collect2.exe: error: ld returned 1 exit status
    1> IDT_LIST: 120 B 2 KB 5.86%
    Build failed

Children
No Data
Related