I\'m trying to compile an object code with a reference to one lib. This is the code of libexample.c:
#include \"libexample.h\" #include #include
Looks like you forgot to link in the library that defines timer_create and timer_settime -- you need to add -lrt to your gcc command.
-lrt
gcc
(source: http://www.kernel.org/doc/man-pages/online/pages/man2/timer_create.2.html)