NTP 4.2.8P15使用GLIBC 2.34构建失败:错误:token'(&quot)之前缺少二进制操作员
我正在用GLIBC 2.34构建NTP 4.2.8p15。 构建失败时错误:
In file included from /usr/include/pthread.h:33,
from work_thread.c:13:
work_thread.c:45:57: error: missing binary operator before token "("
45 | #if defined(PTHREAD_STACK_MIN) && THREAD_MINSTACKSIZE < PTHREAD_STACK_MIN
| ^~~~~~~~~~~~~~~~~
I am building NTP 4.2.8p15 with glibc 2.34.
The build fails with error:
In file included from /usr/include/pthread.h:33,
from work_thread.c:13:
work_thread.c:45:57: error: missing binary operator before token "("
45 | #if defined(PTHREAD_STACK_MIN) && THREAD_MINSTACKSIZE < PTHREAD_STACK_MIN
| ^~~~~~~~~~~~~~~~~
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这个问题在这里回答:
https://bugs.archlinux.org/task/task/74690
要解决此构建问题,请将补丁程序应用于链接到NTP。
The problem is answered here:
https://bugs.archlinux.org/task/74690
To fix this build issue, apply the patch in link to NTP.