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
Hello! We, at Gentoo, work on improving the state of NGINX ecosystem. As part of our efforts, I have been working on better supporting your module.
Getting straight to the point. Your config check checks whether clock_gettime() is available, additionally including the sched.h header.
clock_gettime()
sched.h
nginx-vod-module/config
Lines 125 to 145 in 26f0687
This fails, because, according to POSIX and GNU, the clock_gettime() function is provided by time.h, not sched.h.
time.h
Thus, the line
Line 130 in 26f0687
should be changed to
ngx_feature_incs="#include <time.h>"
to check for clock_gettime() properly. I will follow this issue with a PR fixing this.
The text was updated successfully, but these errors were encountered:
Moreover, even with the correct header the check still fails, as the function expect two arguments, but none are provided.
The line
Line 133 in 26f0687
should be changed to something like
ngx_feature_test="clockid_t c; clock_gettime(c, NULL)"
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Hello! We, at Gentoo, work on improving the state of NGINX ecosystem. As part of our efforts, I have been working on better supporting your module.
Getting straight to the point. Your config check checks whether
clock_gettime()
is available, additionally including thesched.h
header.nginx-vod-module/config
Lines 125 to 145 in 26f0687
This fails, because, according to POSIX and GNU, the
clock_gettime()
function is provided bytime.h
, notsched.h
.Thus, the line
nginx-vod-module/config
Line 130 in 26f0687
should be changed to
ngx_feature_incs="#include <time.h>"
to check for
clock_gettime()
properly. I will follow this issue with a PR fixing this.The text was updated successfully, but these errors were encountered: