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

Unable to build project with openThread in Connect SDK 1.3

Hi,

I've been following the guide https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_thread.html#mandatory-configuration to get started with OpenThread development. However, once I try to build it I get the following errors:

    zephyr/subsys/net/l2/openthread/libsubsys__net__ip__l2__openthread.a(openthread.c.obj): in function `openthread_send':
    undefined reference to `otIp6NewMessage'
    c:/ncs/v1.3.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:/ncs/v1.3.0/zephyr/subsys/net/l2/openthread/openthread.c:327: undefined reference to `otIp6Send'
    c:/ncs/v1.3.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:/ncs/v1.3.0/zephyr/subsys/net/l2/openthread/openthread.c:318: undefined reference to `otMessageAppend'
    c:/ncs/v1.3.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: C:/ncs/v1.3.0/zephyr/subsys/net/l2/openthread/openthread.c:322: undefined reference to `otMessageFree'
    zephyr/subsys/net/lib/openthread/platform/libopenthread_platform.a(shell.c.obj): in function `ot_cmd':
 

I've double checked that the required modules and mandatory configuration is in place. I also enabled NET_BUF and set NET_BUF_USER_DATA_SIZE which was required and is missing in the guide.

I've tried both using SES 4.52 and CLI. When I try to build with CLI I get the error that <openthread/interface.h> is missing.

Is the openthread support still shaky or have I missed something?

Related