| Strange, SConstruct hasn't changed in quite some time in any significant way:
http://csound.git.sourceforge.net/git/gitweb.cgi?p=csound/csound5.git;a=history;f=SConstruct;h=c894900f3b97a523da0107c89e5ff45827e85e36;hb=HEAD
I just updated and on OSX with release=1 and release=0, I am getting
the problem with barrier_t. I am not getting the issue with m_pd.h
however.
It looks like this change committed by John has caused an issue with barrier_t:
http://csound.git.sourceforge.net/git/gitweb.cgi?p=csound/csound5.git;a=commitdiff;h=2138c77ac9bef0b4a0385b7fd92973f2300ce4e4
namely, the change in Top/thread.c:
--- a/Top/threads.c
+++ b/Top/threads.c
@@ -181,15 +181,14 @@ PUBLIC void csoundSleep(size_t milliseconds)
#define BARRIER_SERIAL_THREAD (-1)
-/*#if !defined(HAVE_PTHREAD_BARRIER_INIT)
+#if !defined(HAVE_PTHREAD_BARRIER_INIT)
typedef struct barrier {
pthread_mutex_t mut;
pthread_cond_t cond;
unsigned int count, max, iteration;
} barrier_t;
-
-*/
+#endif
The problem I'm seeing is that it's defined also in H/csoundCore.h.
Recommenting out that definition in Top/threads.c fixes things. I'm
assuming it can just be deleted if it's being defined in csoundCore.h?
steven
On Tue, Jul 26, 2011 at 12:10 PM, wrote:
> actually it's not there, but SConstruct would test for it on line 755
>
> pdhfound = configure.CheckHeader("m_pd.h", language = "C")
>
> and line 2466
>
> if commonEnvironment['buildPDClass'] == '1' and pdhfound:
>
> ...
>
> Victor
>
> ----- Original Message -----
> From: Victor.Lazzarini@nuim.ie
> Date: Tuesday, July 26, 2011 4:59 pm
> Subject: Re: [Cs-dev] More problems
> To: Developer discussions
>
>> Not sure. m_pd.h is supposed to be in the sources.
>> Also this barrier_t keeps causing problems. I'm sure tomorrow when I update GIT I will have problems with it on OSX too.
>>
>> Victor
>>
>> ----- Original Message -----
>> From: john ffitch
>> Date: Tuesday, July 26, 2011 4:44 pm
>> Subject: [Cs-dev] More problems
>> To: csound-devel@lists.sourceforge.net
>>
>> > I build with buildRelease=0 which should set BETA and that
>> > should set
>> > new parser as default.
>> >
>> > I have just rebuilt and I had old-parser set. I also had
>> > the failure
>> > with PD. What has changed?
>> > ==John ffitch
>> >
>> > -----------------------------------------------------------------
>> > -------------
>> > Magic Quadrant for Content-Aware Data Loss Prevention
>> > Research study explores the data loss prevention market.
>> > Includes in-depth
>> > analysis on the changes within the DLP market, and the criteria
>> > used to
>> > evaluate the strengths and weaknesses of these DLP solutions.
>> > http://www.accelacomm.com/jaw/sfnl/114/51385063/
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
>> National University of Ireland, Maynooth
>
>> -----------------------------------------------------------------
>> -------------
>> Magic Quadrant for Content-Aware Data Loss Prevention
>> Research study explores the data loss prevention market.
>> Includes in-depth
>> analysis on the changes within the DLP market, and the criteria
>> used to
>> evaluate the strengths and weaknesses of these DLP solutions.
>> http://www.accelacomm.com/jaw/sfnl/114/51385063/> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
> National University of Ireland, Maynooth
>
>
> ------------------------------------------------------------------------------
> Magic Quadrant for Content-Aware Data Loss Prevention
> Research study explores the data loss prevention market. Includes in-depth
> analysis on the changes within the DLP market, and the criteria used to
> evaluate the strengths and weaknesses of these DLP solutions.
> http://www.accelacomm.com/jaw/sfnl/114/51385063/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |