Hello, I had the similar problem. 1st CLOCK_BOOTTIME problem: Can be fixed by editing /usr/include/arm-linux-gnueabihf/bits/time.h file, add the following lines on bold: # ifdef __USE_POSIX199309 /* Identifier for system-wide realtime clock. */ # define CLOCK_REALTIME 0 # define CLOCK_BOOTTIME 7 /* ...