I tried to run tut01-skeleton-derv.c example under xenomai-x.x/examples/rtdm/deriver-api/. I run makefile without error. The command of in tut01-skeleton-derv.c file says that :
To test this application, you just need to:
$ export LD_LIBRARY_PATH=<path of xenomai>/lib
$ insmod tut01-skeleton-drv.ko
$ ./tut01-skeleton-app
Firstly, I run export LD_LIBRARY_PATH=/usr/xenomai/lib/
on terminal, it was ok. When I run sudo insmod tut01-skeleton-drv.ko
, an error occured. "Could not insert module tut01-skeleton-drv.ko: Can not allocate memory". What should I do?