Build module example fails on py_clock

I am trying to build the cexample module with the steps from the docs:
cd micropython/ports/unix
make USER_C_MODULES=…/…/examples/usercmodule

I get following error:
…/…/extmod/modtime.c:32:10: fatal error: py_clock.h: No such file or directory

If I change, in modtime.c
#include “py_clock.h”
with
#include “…/…/…/…/omv/modules/py_clock.h”
I get the following error:
/usr/bin/ld: build-standard/extmod/modtime.o:(.data.rel.ro.mp_module_time_globals_table+0xb8): undefined reference to „py_clock_type”

Any ideea how can I fix it?

If you need to add a user c module, just copy it to omv/modules/ it will get added automatically. It seems you want to build unix port or micropython upstream, if so please post your question to MicroPython discussions on github or on Discord.