Hi,
There are many undefined reference error with file nrf_atfifo.h, already checked Makefile.am is included, please help to advice if there any file is missed.
.......................
make[5]: Nothing to be done for 'all-am'.
Making all in apps
Making all in ncp
CC ot_ncp_mtd-main.o
CC ot_rcp-main.o
CCLD ot-rcp
../../../third_party/NordicSemiconductor/libnordicsemi-nrf52811-sdk.a(libnordicsemi_nrf52811_sdk_a-fds.o): In function `queue_buf_get':
/media/public01/webber/openthread/examples/../third_party/NordicSemiconductor/libraries/fds/fds.c:625: undefined reference to `nrf_atfifo_item_alloc'
../../../third_party/NordicSemiconductor/libnordicsemi-nrf52811-sdk.a(libnordicsemi_nrf52811_sdk_a-fds.o): In function `queue_load':
/media/public01/webber/openthread/examples/../third_party/NordicSemiconductor/libraries/fds/fds.c:642: undefined reference to `nrf_atfifo_item_get'
../../../third_party/NordicSemiconductor/libnordicsemi-nrf52811-sdk.a(libnordicsemi_nrf52811_sdk_a-fds.o): In function `queue_free':
/media/public01/webber/openthread/examples/../third_party/NordicSemiconductor/libraries/fds/fds.c:650: undefined reference to `nrf_atfifo_item_free'
../../../third_party/NordicSemiconductor/libnordicsemi-nrf52811-sdk.a(libnordicsemi_nrf52811_sdk_a-fds.o): In function `queue_has_next':
/media/public01/webber/openthread/examples/../third_party/NordicSemiconductor/libraries/fds/fds.c:658: undefined reference to `nrf_atomic_u32_sub'
../../../third_party/NordicSemiconductor/libnordicsemi-nrf52811-sdk.a(libnordicsemi_nrf52811_sdk_a-fds.o): In function `queue_start':
/media/public01/webber/openthread/examples/../third_party/NordicSemiconductor/libraries/fds/fds.c:1514: undefined reference to `nrf_atomic_u32_fetch_add'
....................
collect2: error: ld returned 1 exit status
Makefile:1668: recipe for target 'ot-rcp' failed
make[5]: *** [ot-rcp] Error 1
Makefile:433: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
Makefile:435: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
Makefile:591: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
Makefile:517: recipe for target 'all' failed
make[1]: *** [all] Error 2
examples/Makefile-nrf52811:275: recipe for target 'do-build-cortex-m4' failed
make: *** [do-build-cortex-m4] Error 2
webber@csd-sw:/media/public01/webber/openthread$ grep -rn nrf_atfifo.h
third_party/NordicSemiconductor/libraries/fstorage/nrf_fstorage_sd.c:54:#include "nrf_atfifo.h"
third_party/NordicSemiconductor/libraries/fds/fds.c:51:#include "nrf_atfifo.h"
third_party/NordicSemiconductor/libraries/atfifo/nrf_atfifo_internal.h:46: * Needs nrf_atfifo.h included first.
third_party/NordicSemiconductor/libraries/atfifo/nrf_atfifo.c:45:#include "nrf_atfifo.h"
third_party/NordicSemiconductor/libraries/usb/app_usbd.c:50:#include "nrf_atfifo.h"
third_party/NordicSemiconductor/Makefile.in:1121: $(top_srcdir)/third_party/NordicSemiconductor/libraries/atfifo/nrf_atfifo.h \
third_party/NordicSemiconductor/Makefile.am:469: $(top_srcdir)/third_party/NordicSemiconductor/libraries/atfifo/nrf_atfifo.h \
webber@csd-sw:/media/public01/webber/openthread$ grep -rn nrf_atfifo_internal.h
third_party/NordicSemiconductor/libraries/atfifo/nrf_atfifo.c:46:#include "nrf_atfifo_internal.h"
third_party/NordicSemiconductor/Makefile.in:1120: $(top_srcdir)/third_party/NordicSemiconductor/libraries/atfifo/nrf_atfifo_internal.h \
third_party/NordicSemiconductor/Makefile.am:468: $(top_srcdir)/third_party/NordicSemiconductor/libraries/atfifo/nrf_atfifo_internal.h \
thanks,
Webber