We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
undefined reference to `clock_gettime'
CMakeFiles/thread.dir/__/src/Thread.c.o: In function Thread_wait_cond': Thread.c:(.text+0x390): undefined reference to clock_gettime' collect2: error: ld returned 1 exit status test/CMakeFiles/thread.dir/build.make:120: recipe for target 'test/thread' failed make[2]: *** [test/thread] Error 1 CMakeFiles/Makefile2:537: recipe for target 'test/CMakeFiles/thread.dir/all' failed make[1]: *** [test/CMakeFiles/thread.dir/all] Error 2 Makefile:162: recipe for target 'all' failed make: *** [all] Error 2
Thread_wait_cond': Thread.c:(.text+0x390): undefined reference to
The text was updated successfully, but these errors were encountered:
Sound like you don't have <time.h>
<time.h>
Sorry, something went wrong.
What OS and version are you using? An older one perhaps? I thought Thread.h should take care of this.
No branches or pull requests
undefined reference to `clock_gettime'
CMakeFiles/thread.dir/__/src/Thread.c.o: In function
Thread_wait_cond': Thread.c:(.text+0x390): undefined reference to
clock_gettime'collect2: error: ld returned 1 exit status
test/CMakeFiles/thread.dir/build.make:120: recipe for target 'test/thread' failed
make[2]: *** [test/thread] Error 1
CMakeFiles/Makefile2:537: recipe for target 'test/CMakeFiles/thread.dir/all' failed
make[1]: *** [test/CMakeFiles/thread.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: