为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:达梦8
【操作系统】:Ubuntu 22.04.4 LTS
【CPU】:x86
【问题描述】*:编译驱动时报错"undefined reference to `pthread_mutex_consistent_np'", 查询后发现这个函数在2.34已废弃。系统当前使用的2.35。
[[deprecated]]
int pthread_mutex_consistent_np(const pthread_mutex_t *mutex);
This GNU-specific API, which first appeared in glibc 2.4, is
nowadays obsolete and should not be used in new programs; since
glibc 2.34 it has been marked as deprecated.
由于该问题,对您造成的困扰,我们非常抱歉;目前该问题已确认,正在处理中;处理好后,我们第一时间反馈您!
你可以尝试升级一下glibc