Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] error: undefined reference to `clock_gettime@GLIBC_2.17'
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] error: undefined reference to `clock_gettime@GLIBC_2.17'

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 16.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vovasty
    wrote on 30 Oct 2014, 16:09 last edited by
    #1

    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:

    1. Added -lrt to Makefile;
    2. Chenged different compilers (gcc, g++);
    3. 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.

    1 Reply Last reply
    0
    • V Offline
      V Offline
      Vovasty
      wrote on 30 Oct 2014, 16:56 last edited by
      #2

      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 .

      1 Reply Last reply
      0

      1/2

      30 Oct 2014, 16:09

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved