error message from CAF module

Hi,

The sample of nordic works fine but when I implement the code in my project I get this error 

modules/nrf/subsys/caf/modules/lib..__nrf__subsys__caf__modules.a(buttons.c.obj): in function `app_event_handler':
\ncs\v2.2.0\nrf\subsys\caf\modules\buttons.c:554: undefined reference to `__module_main'
collect2.exe: error: ld returned 1 exit status

SOC: nrf5340

SDK: v2.2.0

Related