| I think the problem is pthread_equal(), disable the PARCS code since you don’t have pthreads.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952
On 6 Oct 2014, at 19:58, Edward Costello wrote:
> Ok I ifdef’d a few things out and nearly have 100% of the files compiling, the error I have now is:
>
> /Volumes/Data/Dropbox/Programming/csound/Engine/cs_par_base.c:43:11: error: expected expression
> if (UNLIKELY(pthread_equal(*(pthread_t *)threadId,
> ^
> /Volumes/Data/Dropbox/Programming/csound/./include/sysdep.h:315:46: note: expanded from macro 'UNLIKELY'
> # define UNLIKELY(x) __builtin_expect(!!(x),0)
>
>
>> On 4 Oct 2014, at 18:33, Victor Lazzarini wrote:
>>
>> Why don’t you just #ifdef it out? That code is for —realtime mode, which you can also disable in Emscripten
>> by #ifdefing it out (in argdecode.c), since it needs pthreads.
>>
>> ========================
>> Dr Victor Lazzarini
>> Dean of Arts, Celtic Studies and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952
>>
>> On 4 Oct 2014, at 16:24, Edward Costello wrote:
>>
>>> Can anyone point me in the direction of how I can fix this? I am looking to add MIDI functionality to the Emscripten build.
>>>
>>>> On 28 Sep 2014, at 17:34, jpff@cs.bath.ac.uk wrote:
>>>>
>>>> Used in
>>>> void close_all_files(CSOUND *csound)
>>>>
>>>> ....
>>>> if (csound->file_io_start) {
>>>> pthread_join(csound->file_io_thread, NULL);
>>>> .....
>>>>
>>>> Quoting Edward Costello :
>>>>
>>>>> Ok so it configured fine with that option, but now when I make it I
>>>>> get this error:
>>>>> /Volumes/Data/Dropbox/Programming/csound/Engine/envvar.c:1298:9:
>>>>> error: implicit declaration of function
>>>>> 'pthread_join' is invalid in C99
>>>>> [-Werror,-Wimplicit-function-declaration]
>>>>> pthread_join(csound->file_io_thread, NULL);
>>>>> ^
>>>>> /Volumes/Data/Dropbox/Programming/csound/Engine/envvar.c:1351:7:
>>>>> error: implicit declaration of function
>>>>> 'pthread_create' is invalid in C99
>>>>> [-Werror,-Wimplicit-function-declaration]
>>>>> pthread_create(&csound->file_io_thread,NULL, file_iothread,
>>>>> (void *) csound);
>>>>>
>>>>>
>>>>>> On 28 Sep 2014, at 16:28, Steven Yi wrote:
>>>>>>
>>>>>> -DBUILD_CXX_INTERFACE=0 to the build.sh.
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
>>>> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
>>>> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
>>>> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
>>> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
>>> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
>>> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>>> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
>> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
>> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
>> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> Slashdot TV. Videos for Nerds. Stuff that Matters.
> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
------------------------------------------------------------------------------
Slashdot TV. Videos for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |