Building aws_iot_mqtt C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir c:/Integrit/nRF9160/FW/aws_iot_mqtt/build c:/Integrit/nRF9160/FW/aws_iot_mqtt --pristine --board nrf9160dk/nrf9160/ns -- -DCONF_FILE=prj.conf -DBOARD_ROOT=c:/integrit/nrf9160/fw/aws_iot_mqtt" -- west build: generating a build system Loading Zephyr module(s) (Zephyr base): sysbuild_default -- Found Python3: C:/ncs/toolchains/0b393f9e1b/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter -- Cache files will be written to: C:/ncs/v3.0.2/zephyr/.cache -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf9160dk, Revision: 0.14.0, qualifiers: nrf9160/ns Parsing C:/ncs/v3.0.2/zephyr/share/sysbuild/Kconfig Loaded configuration 'C:/Integrit/nRF9160/FW/aws_iot_mqtt/build/_sysbuild/empty.conf' Merged configuration 'C:/Integrit/nRF9160/FW/aws_iot_mqtt/build/_sysbuild/empty.conf' Merged configuration 'C:/Integrit/nRF9160/FW/aws_iot_mqtt/build/_sysbuild/empty.conf' Configuration saved to 'C:/Integrit/nRF9160/FW/aws_iot_mqtt/build/zephyr/.config' Kconfig header saved to 'C:/Integrit/nRF9160/FW/aws_iot_mqtt/build/_sysbuild/autoconf.h' -- ********************************** * Running CMake for aws_iot_mqtt * ********************************** Loading Zephyr default modules (Zephyr base). -- Application: C:/Integrit/nRF9160/FW/aws_iot_mqtt -- CMake version: 3.21.0 -- Found Python3: C:/ncs/toolchains/0b393f9e1b/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter -- Cache files will be written to: C:/ncs/v3.0.2/zephyr/.cache -- Zephyr version: 4.0.99 (C:/ncs/v3.0.2/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: nrf9160dk, Revision: 0.14.0, qualifiers: nrf9160/ns -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk) -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/0b393f9e1b/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/ncs/v3.0.2/zephyr/boards/nordic/nrf9160dk/nrf9160dk_nrf9160_ns.dts -- Found devicetree overlay: C:/ncs/v3.0.2/zephyr/boards/nordic/nrf9160dk/nrf9160dk_nrf9160_ns_0_14_0.overlay -- Generated zephyr.dts: C:/Integrit/nRF9160/FW/aws_iot_mqtt/build/aws_iot_mqtt/zephyr/zephyr.dts -- Generated pickled edt: C:/Integrit/nRF9160/FW/aws_iot_mqtt/build/aws_iot_mqtt/zephyr/edt.pickle -- Generated zephyr.dts: C:/Integrit/nRF9160/FW/aws_iot_mqtt/build/aws_iot_mqtt/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/Integrit/nRF9160/FW/aws_iot_mqtt/build/aws_iot_mqtt/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/Integrit/nRF9160/FW/aws_iot_mqtt/build/aws_iot_mqtt/zephyr/dts.cmake warning: MBEDTLS_MEMORY_DEBUG (defined at C:/ncs/v3.0.2/nrf\subsys\nrf_security\Kconfig.tls:170, C:/ncs/v3.0.2/zephyr/modules/mbedtls/Kconfig:166, modules\mbedtls\Kconfig:166) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((MBEDTLS_TLS_LIBRARY && NRF_SECURITY) || (MBEDTLS_BUILTIN && MBEDTLS) || (MBEDTLS_BUILTIN && MBEDTLS && 0)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_MEMORY_DEBUG and/or look up MBEDTLS_MEMORY_DEBUG in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: MBEDTLS_AES_ROM_TABLES (defined at C:/ncs/v3.0.2/nrf\subsys\nrf_security\Kconfig.legacy:453, C:/ncs/v3.0.2/zephyr/modules/mbedtls\Kconfig.tls-generic:268, modules\mbedtls\Kconfig.tls- generic:268) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((!(OBERON_BACKEND || CC3XX_BACKEND) && MBEDTLS_CIPHER_MODE_CBC && MBEDTLS_AES_C && MBEDTLS_LEGACY_CRYPTO_C && NRF_SECURITY) || (MBEDTLS_CIPHER_AES_ENABLED && !(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS) || (MBEDTLS_CIPHER_AES_ENABLED && !(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS && 0)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_AES_ROM_TABLES and/or look up MBEDTLS_AES_ROM_TABLES in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: MBEDTLS_SSL_MAX_CONTENT_LEN (defined at C:/ncs/v3.0.2/zephyr/modules/hostap/Kconfig:367, C:/ncs/v3.0.2/zephyr/modules/mbedtls/Kconfig:73, modules/hostap/Kconfig:367, modules\hostap\Kconfig:367, modules\mbedtls\Kconfig:73) was assigned the value '16384' but got the value ''. Check these unsatisfied dependencies: ((WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE && WIFI_NM_WPA_SUPPLICANT) || (MBEDTLS_BUILTIN && MBEDTLS) || (WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE && WIFI_NM_WPA_SUPPLICANT) || (WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE && WIFI_NM_WPA_SUPPLICANT && 0) || (MBEDTLS_BUILTIN && MBEDTLS && 0)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN and/or look up MBEDTLS_SSL_MAX_CONTENT_LEN in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: MBEDTLS_SSL_ALPN (defined at C:/ncs/v3.0.2/zephyr/modules/mbedtls\Kconfig.tls-generic:38, modules\mbedtls\Kconfig.tls-generic:38) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: (((MBEDTLS_TLS_VERSION_1_2 || MBEDTLS_TLS_VERSION_1_3) && !(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls- generic.h" && MBEDTLS) || ((MBEDTLS_TLS_VERSION_1_2 || MBEDTLS_TLS_VERSION_1_3) && !(NRF_SECURITY || NORDIC_SECURITY_BACKEND) && MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS && 0)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_SSL_ALPN and/or look up MBEDTLS_SSL_ALPN in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: MBEDTLS_PEM_CERTIFICATE_FORMAT (defined at C:/ncs/v3.0.2/zephyr/modules/mbedtls\Kconfig.tls-generic:431, modules\mbedtls\Kconfig.tls- generic:431) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS) || (MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS && 0)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_PEM_CERTIFICATE_FORMAT and/or look up MBEDTLS_PEM_CERTIFICATE_FORMAT in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: MBEDTLS_SERVER_NAME_INDICATION (defined at C:/ncs/v3.0.2/zephyr/modules/mbedtls\Kconfig.tls-generic:491, modules\mbedtls\Kconfig.tls- generic:491) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS) || (MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS && 0)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_SERVER_NAME_INDICATION and/or look up MBEDTLS_SERVER_NAME_INDICATION in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: MBEDTLS_HAVE_TIME_DATE (defined at C:/ncs/v3.0.2/zephyr/modules/mbedtls\Kconfig.tls- generic:502, modules\mbedtls\Kconfig.tls-generic:502) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: ((MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls- generic.h" && MBEDTLS) || (MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h" && MBEDTLS && 0)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_HAVE_TIME_DATE and/or look up MBEDTLS_HAVE_TIME_DATE in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: The choice symbol MBEDTLS_BUILTIN (defined at C:/ncs/v3.0.2/zephyr/modules/mbedtls/Kconfig:30, modules\mbedtls\Kconfig:30) was selected (set =y), but MBEDTLS_LIBRARY_NRF_SECURITY (defined at C:/ncs/v3.0.2/nrf\subsys\nrf_security/Kconfig:250) ended up as the choice selection. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_BUILTIN and/or look up MBEDTLS_BUILTIN in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. Parsing C:/Integrit/nRF9160/FW/aws_iot_mqtt/Kconfig Loaded configuration 'C:/ncs/v3.0.2/zephyr/boards/nordic/nrf9160dk/nrf9160dk_nrf9160_ns_defconfig' Merged configuration 'C:/Integrit/nRF9160/FW/aws_iot_mqtt/prj.conf' Merged configuration 'C:/Integrit/nRF9160/FW/aws_iot_mqtt/build/aws_iot_mqtt/zephyr/.config.sysbuild' Configuration saved to 'C:/Integrit/nRF9160/FW/aws_iot_mqtt/build/aws_iot_mqtt/zephyr/.config' Kconfig header saved to 'C:/Integrit/nRF9160/FW/aws_iot_mqtt/build/aws_iot_mqtt/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe =========== Generating psa_crypto_config =============== Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Backup: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False Backup: CONFIG_MBEDTLS_THREADING: False Backup: CONFIG_MBEDTLS_THREADING_ALT: False =========== Checkpoint: backup =============== Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Restore: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False Restore: CONFIG_MBEDTLS_THREADING: False Restore: CONFIG_MBEDTLS_THREADING_ALT: False =========== End psa_crypto_config =============== =========== Generating psa_crypto_library_config =============== Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Backup: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True Backup: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False Backup: CONFIG_MBEDTLS_THREADING: False Backup: CONFIG_MBEDTLS_THREADING_ALT: False =========== Checkpoint: backup =============== Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False Restore: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True Restore: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False Restore: CONFIG_MBEDTLS_THREADING: False Restore: CONFIG_MBEDTLS_THREADING_ALT: False =========== End psa_crypto_library_config =============== CMake Warning at C:/ncs/v3.0.2/zephyr/kernel/CMakeLists.txt:171 (message): CONFIG_HEAP_MEM_POOL_SIZE is less than requested minimum: 512 < 1280 Setting the system heap size to 1280 CMake Warning at C:/ncs/v3.0.2/zephyr/CMakeLists.txt:1002 (message): No SOURCES given to Zephyr library: ..__nrf__subsys__net__lib__tls_credentials Excluding target from build. -- Configuring done -- Generating done -- Build files have been written to: C:/Integrit/nRF9160/FW/aws_iot_mqtt/build/aws_iot_mqtt Dropping partition 'nrf_modem_lib_trace' since its size is 0. Dropping partition 'nonsecure_storage' since it is empty. -- Configuring done -- Generating done -- Build files have been written to: C:/Integrit/nRF9160/FW/aws_iot_mqtt/build -- west build: building application [4/362] Generating include/generated/zephyr/version.h -- Zephyr version: 4.0.99 (C:/ncs/v3.0.2/zephyr), build: v4.0.99-ncs1-2 [10/362] Generating ../../tfm/CMakeCache.txt -- Found Git: C:/ncs/toolchains/0b393f9e1b/mingw64/bin/git.exe (found version "2.37.3.windows.1") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe -- Found Python3: C:/ncs/toolchains/0b393f9e1b/opt/bin/python.exe (found version "3.12.4") found components: Interpreter -- Found Python3: C:/ncs/toolchains/0b393f9e1b/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter -- Cache files will be written to: C:/ncs/v3.0.2/zephyr/.cache -- Configuring done -- Generating done -- Build files have been written to: C:/Integrit/nRF9160/FW/aws_iot_mqtt/build/aws_iot_mqtt/tfm [138/142] Linking C executable bin\tfm_s.axf Memory region Used Size Region Size %age Used FLASH: 32092 B 32 KB 97.94% RAM: 11300 B 32 KB 34.48% [17/362] Performing install step for 'tfm' -- Install configuration: "MinSizeRel" ----- Installing platform NS ----- [267/362] Building C object zephyr/subsys/net/CMakeFiles/subsys__net.dir/lib/sockets/sockets_tls.c.obj C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c: In function 'tls_session_store': C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:680:15: warning: implicit declaration of function 'mbedtls_ssl_get_session'; did you mean 'mbedtls_ssl_get_version'? [-Wimplicit-function-declaration] 680 | ret = mbedtls_ssl_get_session(&context->ssl, &session); | ^~~~~~~~~~~~~~~~~~~~~~~ | mbedtls_ssl_get_version C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c: In function 'tls_session_restore': C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:716:15: warning: implicit declaration of function 'mbedtls_ssl_set_session'; did you mean 'mbedtls_ssl_get_version'? [-Wimplicit-function-declaration] 716 | ret = mbedtls_ssl_set_session(&context->ssl, &session); | ^~~~~~~~~~~~~~~~~~~~~~~ | mbedtls_ssl_get_version [357/362] Linking C executable zephyr\zephyr_pre0.elf FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map C:/Integrit/nRF9160/FW/aws_iot_mqtt/build/aws_iot_mqtt/zephyr/zephyr_pre0.map cmd.exe /C "cd . && C:\ncs\toolchains\0b393f9e1b\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -gdwarf-4 @CMakeFiles\zephyr_pre0.rsp -o zephyr\zephyr_pre0.elf -L"c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/thumb/v8-m.main/nofp" -lc -lgcc && cmd.exe /C "cd /D C:\Integrit\nRF9160\FW\aws_iot_mqtt\build\aws_iot_mqtt\zephyr && C:\ncs\toolchains\0b393f9e1b\opt\bin\cmake.exe -E true"" c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/net/libsubsys__net.a(sockets_tls.c.obj): in function `tls_release': C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:537: undefined reference to `mbedtls_ssl_config_free' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:538: undefined reference to `mbedtls_ssl_free' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/net/libsubsys__net.a(sockets_tls.c.obj): in function `tls_mbedtls_reset': C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:1166: undefined reference to `mbedtls_ssl_session_reset' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/net/libsubsys__net.a(sockets_tls.c.obj): in function `ztls_poll_update_pollin': C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:3151: undefined reference to `mbedtls_ssl_get_bytes_avail' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/net/libsubsys__net.a(sockets_tls.c.obj): in function `ztls_socket_data_check': C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:3098: undefined reference to `mbedtls_ssl_read' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:3141: undefined reference to `mbedtls_ssl_get_bytes_avail' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/net/libsubsys__net.a(sockets_tls.c.obj): in function `tls_mbedtls_init': C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:1299: undefined reference to `mbedtls_ssl_set_bio' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:1310: undefined reference to `mbedtls_ssl_config_defaults' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:1386: undefined reference to `mbedtls_ssl_conf_authmode' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:1390: undefined reference to `mbedtls_ssl_conf_rng' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:1402: undefined reference to `mbedtls_ssl_conf_ciphersuites' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:1428: undefined reference to `mbedtls_ssl_setup' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/net/libsubsys__net.a(sockets_tls.c.obj): in function `tls_alloc': C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:467: undefined reference to `mbedtls_ssl_init' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:468: undefined reference to `mbedtls_ssl_config_init' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/net/libsubsys__net.a(sockets_tls.c.obj): in function `tls_mbedtls_handshake': C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:1199: undefined reference to `mbedtls_ssl_handshake' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/net/libsubsys__net.a(sockets_tls.c.obj): in function `ztls_poll_prepare_pollin': C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:2986: undefined reference to `mbedtls_ssl_get_bytes_avail' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:2986: undefined reference to `mbedtls_ssl_get_bytes_avail' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/net/libsubsys__net.a(sockets_tls.c.obj): in function `ztls_close_ctx': C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:2118: undefined reference to `mbedtls_ssl_close_notify' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/net/libsubsys__net.a(sockets_tls.c.obj): in function `tls_session_restore': C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:708: undefined reference to `mbedtls_ssl_session_init' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/net/libsubsys__net.a(sockets_tls.c.obj): in function `tls_session_get': C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:652: undefined reference to `mbedtls_ssl_session_load' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/net/libsubsys__net.a(sockets_tls.c.obj): in function `tls_session_restore': C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:716: undefined reference to `mbedtls_ssl_set_session' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:722: undefined reference to `mbedtls_ssl_session_free' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/net/libsubsys__net.a(sockets_tls.c.obj): in function `tls_session_store': C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:678: undefined reference to `mbedtls_ssl_session_init' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:680: undefined reference to `mbedtls_ssl_get_session' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/net/libsubsys__net.a(sockets_tls.c.obj): in function `tls_session_save': C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:610: undefined reference to `mbedtls_ssl_session_save' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:618: undefined reference to `mbedtls_ssl_session_save' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/net/libsubsys__net.a(sockets_tls.c.obj): in function `tls_session_store': C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:692: undefined reference to `mbedtls_ssl_session_free' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/net/libsubsys__net.a(sockets_tls.c.obj): in function `send_tls': C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:2304: undefined reference to `mbedtls_ssl_write' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/net/libsubsys__net.a(sockets_tls.c.obj): in function `recv_tls': C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:2599: undefined reference to `mbedtls_ssl_read' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/net/libsubsys__net.a(sockets_tls.c.obj): in function `tls_opt_ciphersuite_list_get': C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:1571: undefined reference to `mbedtls_ssl_list_ciphersuites' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/net/libsubsys__net.a(sockets_tls.c.obj): in function `tls_opt_ciphersuite_used_get': C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:1599: undefined reference to `mbedtls_ssl_get_ciphersuite' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:1604: undefined reference to `mbedtls_ssl_get_ciphersuite_id' c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr/subsys/net/libsubsys__net.a(sockets_tls.c.obj): in function `tls_opt_ciphersuite_list_set': C:/ncs/v3.0.2/zephyr/subsys/net/lib/sockets/sockets_tls.c:1553: undefined reference to `mbedtls_ssl_conf_ciphersuites' collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed. FAILED: _sysbuild/sysbuild/images/aws_iot_mqtt-prefix/src/aws_iot_mqtt-stamp/aws_iot_mqtt-build C:/Integrit/nRF9160/FW/aws_iot_mqtt/build/_sysbuild/sysbuild/images/aws_iot_mqtt-prefix/src/aws_iot_mqtt-stamp/aws_iot_mqtt-build cmd.exe /C "cd /D C:\Integrit\nRF9160\FW\aws_iot_mqtt\build\aws_iot_mqtt && C:\ncs\toolchains\0b393f9e1b\opt\bin\cmake.exe --build ." ninja: build stopped: subcommand failed. FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\0b393f9e1b\opt\bin\cmake.EXE' --build C:/Integrit/nRF9160/FW/aws_iot_mqtt/build