I have the problem with compilation. After adding function call
otThreadGetMaxAllowedChildren() in the openthread/examples/apps/cli/main.c
I got an error:
openthread/examples/apps/cli/main.c:228: undefined reference to `otThreadGetMaxAllowedChildren'
Similary, the same issue with otThreadGetChildInfoByIndex():
openthread/examples/apps/cli/main.c:204: undefined reference to `otThreadGetChildInfoByIndex'
I have added -DOPENTHREAD_FTD=1
flag, but error still occurs.
Any idea what should I do to make compilation successful?