Hi, after checking some information, I guessyour error will be fixed if 1. you add -lrt flag appropriately.
or 2. you upgrade glibc (libc6 package) from 2.13 to 2.19. For more detail, you can see this thread: http://stackoverflow.com/questions/2418157/ubuntu-linux-c-error-undefined-reference-to-clock-gettime-and-clock-settim By the way, upgrading libc6 from 2.13 to 2.19 almost means upgrading from Wheezy to Jessie. https://packages.debian.org/search?suite=default§ion=all&arch=any&searchon=names&keywords=libc6 If you try this build on Jessie, you won't have error any more. Also, please note that the main stream support of Wheezy already finished. (Now, only LTS support which is all about security.) This means this subject should be "Normal bugs; Will Not Fix". Taro