[kde-freebsd] Error using CMake similar to error from earlier list post

David Naylor dbn at freebsd.org
Wed Feb 26 06:55:06 UTC 2014


Hi Joe,

Apologies for taking so long to get back to you.  Work got really, really 
busy. 

The underlying issue is that gcc pulls in the pthread headers by default while 
clang does not.  I believe clang is following the more correct approach.   

The files you attached are for "traverso" however I do not see it in the 
Port's Collection.  Are you building it directly from source?  

On Wednesday, 11 December 2013 21:02:27 Joe Nosay wrote:
> > I'm attaching files.
> > 
> > 1. Undeclared identifier pthread_self:: Does this mean I need to add the
> > pthread.h before every declaration of pthread_self?

No, you only need to add it "once".  Normally there will be a header file.  
I'm guessing either to src/engine/AudioDeviceThread.cpp or to a header file 
included by src/engine/AudioDeviceThread.cpp

> > 2.  How do I declare an identifier?

I don't know what you are referring to, could you please elaborate?  

> > 3. CLang crashed somewhat at the beginning. Files are attached.

I see.  Can you please try with a newer version of clang/traverso.  If that 
does not fix the issue, then please report that upstream to the LLVM 
developers, this is well beyond my capabilities to fix.  

> > The files will probably be too big for the mailing lists.
> 
> Now, those errors which have references in section 2 of the man pages, do I
> replace as suggested with cpusetid_t. For others, do I introduce a patch
> similar to the pthread.h from the kopete patch?

Yes, patches similar to pthread.h should work.  Once you get the patches 
working please submit them upstream.  It makes our lives easier if those 
developers maintain the "patches", instead of us.  

Regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 326 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140226/a7d1601c/attachment.sig>


More information about the freebsd-ports mailing list