简体   繁体   English

在ubuntu中建立openSMILE库clock_gettime错误

[英]build openSMILE library in ubuntu clock_gettime error

I am trying to build the openSMILE library on Ubuntu including the Portaudio plugin. 我试图在包括Portaudio插件的Ubuntu上构建openSMILE库。 Running the provided build script seems fine until the line: make -j8 make install where I get the error clock_gettime unresolved. 在以下行之前运行提供的构建脚本似乎还不错:make -j8 make install我无法解决错误clock_gettime。 Anyone encountered the same issue and found out hoe to fix it? 任何人都遇到相同的问题,发现要解决吗?

If you check the man page for clock_gettime (run man clock_gettime ) you'll see: 如果检查手册页中的clock_gettime (运行man clock_gettime ),则会看到:

Link with -lrt (only for glibc versions before 2.17). 与-lrt链接(仅适用于2.17之前的glibc版本)。

So, I suggest you add -lrt to your link line ( rt is the realtime library). 因此,建议您将-lrt添加到链接行( rt是实时库)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM