Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need -lrt for older toolchains #5

Closed
soumagne opened this issue Jul 17, 2015 · 1 comment
Closed

need -lrt for older toolchains #5

soumagne opened this issue Jul 17, 2015 · 1 comment

Comments

@soumagne
Copy link
Member

Reported by harms on 08/02/13
Mercury needs to add -lrt in the pkg-config flags when an older GLIBC is used. I'm running Ubuntu 12.04 and clock_gettime is not in GLIBC but is in librt. Here's an excerpt for a more recent clock_gettime manpage.

Link with -lrt (only for glibc versions before 2.17).

@soumagne
Copy link
Member Author

Comment by jsoumagne on 08/05/13
Fixed in b314964

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant