Bug 49782

Summary: libdrm 2.4.34 fails to build
Product: DRI Reporter: Vincent Untz <vuntz>
Component: libdrmAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: bjorn.lie
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Vincent Untz 2012-05-11 01:18:32 UTC
CCLD   dristat
dristat.o: In function `drmWaitVBlank':
/home/abuild/rpmbuild/BUILD/libdrm-2.4.34/tests/../xf86drm.c:1947: undefined reference to `clock_gettime'
/home/abuild/rpmbuild/BUILD/libdrm-2.4.34/tests/../xf86drm.c:1958: undefined reference to `clock_gettime'
collect2: error: ld returned 1 exit status
make: *** [dristat] Error 1

My guess is that -lrt should be passed when linking.
Comment 1 GitLab Migration User 2019-09-24 17:08:38 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/drm/issues/9.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.