Skip to content

Fixed undefined reference to 'clock_gettime' by linking rt library#148

Closed
francoisbertelatschrodinger wants to merge 1 commit into
KhronosGroup:masterfrom
francoisbertelatschrodinger:master
Closed

Fixed undefined reference to 'clock_gettime' by linking rt library#148
francoisbertelatschrodinger wants to merge 1 commit into
KhronosGroup:masterfrom
francoisbertelatschrodinger:master

Conversation

@francoisbertelatschrodinger
Copy link
Copy Markdown

On CentOS6.8 with a local build of g++ 6.4.0 (the default g++ version on CentOS6.8 is 4.4.7), the build fails with undefined reference to 'clock_gettime'.

Linking vkcube against the rt library fixed the issue.

This patch is similar to KhronosGroup/SPIRV-Tools#2409

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Feb 25, 2019

CLA assistant check
All committers have signed the CLA.

@TonyBarbour
Copy link
Copy Markdown
Contributor

We have submitted #149 to attempt to address this a little more conservatively

@jeremyk-lunarg
Copy link
Copy Markdown
Contributor

PR#149 has reportedly fixed this problem. Closing PR.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants