https://bugs.freedesktop.org/show_bug.cgi?id=49782
Bug #: 49782 Summary: libdrm 2.4.34 fails to build Classification: Unclassified Product: DRI Version: XOrg CVS Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: libdrm AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: vuntz@gnome.org
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.
https://bugs.freedesktop.org/show_bug.cgi?id=49782
GitLab Migration User gitlab-migration@fdo.invalid changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED
--- Comment #1 from GitLab Migration User gitlab-migration@fdo.invalid --- -- 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.
dri-devel@lists.freedesktop.org