[SOLVED] error: undefined reference to `clock_gettime@GLIBC_2.17'
-
Hello,
i get this error when compiling my project in Debian Wheezy:
/home/vova/workspace/Libs/trunk/bin/debug/lib32/lnx/libusb-1.0.so.0:-1: error: undefined reference to `clock_gettime@GLIBC_2.17'I did next steps to solve this problem:
- Added -lrt to Makefile;
- Chenged different compilers (gcc, g++);
- Updated Debian,
but nothings helps.
I'm using Qt Creator 3.2.1 (opensource) and Qt 4.6.3 library.
Anyone know how can I solve this?
Best regards, Vladimir.
-
I solved this problem. In my case I just updated libc6 (2.13 to 2.19) using following instruction "link":http://stackoverflow.com/questions/10863613/how-to-upgrade-glibc-from-version-2-13-to-2-15-on-debian .