[kde-freebsd] Error using CMake similar to error from earlier list post
Joe Nosay
superbisquit at gmail.com
Sat Dec 7 20:45:39 UTC 2013
On Fri, Dec 6, 2013 at 7:50 PM, Joe Nosay <superbisquit at gmail.com> wrote:
> https://www.mail-archive.com/kde-freebsd@kde.org/msg15778.html
>
> Is there a similar fix for this?
>
> Thanks.
>
>
Now would
"
+Build fix for clang.
+
+ error: use of undeclared identifier 'pthread_mutex_lock'
+ error: use of undeclared identifier 'pthread_mutex_unlock'
+ error: use of undeclared identifier 'pthread_self'
+ error: use of undeclared identifier 'pthread_mutex_init'
+ error: use of undeclared identifier 'pthread_mutex_destroy'
+
+--- kopete/protocols/jabber/googletalk/libjingle/talk/base/ssladapter.cc.orig
2013-11-04 01:20:09.000000000 +0200
++++ kopete/protocols/jabber/googletalk/libjingle/talk/base/ssladapter.cc
2013-11-04 01:20:20.000000000 +0200
+@@ -29,6 +29,7 @@
+
+ #ifdef POSIX
+ extern "C" {
++#include <pthread.h>
+ #include <unistd.h>
+ }
+ #endif"
Be the appropriate fix for
/usr/home/raspycat/traverso/work/traverso-0.49.2/src/engine/AudioDeviceThread.cpp:58:30:
error: use of undeclared identifier 'pthread_self'
if (pthread_setschedparam (pthread_self(), SCHED_FIFO,
¶m) != 0) {}
^
/usr/home/raspycat/traverso/work/traverso-0.49.2/src/engine/AudioDeviceThread.cpp:131:30:
error: use of undeclared identifier 'pthread_self'
if (pthread_setschedparam (pthread_self(), SCHED_FIFO,
¶m) != 0) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20131207/516f231b/attachment.html>
More information about the kde-freebsd
mailing list