Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 08:54:55 +0300
From:      David Naylor <dbn@freebsd.org>
To:        Joe Nosay <superbisquit@gmail.com>
Cc:        ports <ports@freebsd.org>, kde-freebsd <kde-freebsd@kde.org>
Subject:   Re: [kde-freebsd] Error using CMake similar to error from earlier list post
Message-ID:  <2696991.5CDajy0JWu@dragon.dg>
In-Reply-To: <CA%2BWntOvQFUgxX6B86Z=g1gMYxirO=HB=W-=za%2BpZvxnx2bSZjg@mail.gmail.com>
References:  <CA%2BWntOtukTye4fut8LrDmNE5gbyXZQHXfBU5D=Aq2%2Bao%2BP-K-Q@mail.gmail.com> <CA%2BWntOuYcUi4=FBweMp_nP4d8MdZAAnDNJUH1CdfEcUs1JctFA@mail.gmail.com> <CA%2BWntOvQFUgxX6B86Z=g1gMYxirO=HB=W-=za%2BpZvxnx2bSZjg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--nextPart5279853.LsAVkGvKOV
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="ISO-8859-1"

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
--nextPart5279853.LsAVkGvKOV
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iKYEABECAGYFAlMNj8JfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
bnBncC5maWZ0aGhvcnNlbWFuLm5ldDY1NDBCNDdDNTRBQTNFQkFCMjNCNThBQzUx
QTY4NTgwRkY2OTE2QjIACgkQUaaFgP9pFrJ4wwCgjVlPyGkq4XK8evOMlCSmmHHH
sOQAni/bXQumCcwT3+JEZpo6ZAxKOFWl
=gmx0
-----END PGP SIGNATURE-----

--nextPart5279853.LsAVkGvKOV--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2696991.5CDajy0JWu>