Csound Csound-dev Csound-tekno Search About

[Cs-dev] ParCS won't build on OSX

Date2010-08-21 23:42
FromVictor Lazzarini
Subject[Cs-dev] ParCS won't build on OSX
gcc -o Engine/cs_par_dispatch.o -c -Wno-format -O3 -arch i386 -ftree- 
vectorize -ffast-math -g -fomit-frame-pointer -freorder-blocks - 
DMACOSX -DPIPES -fPIC -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA - 
DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H - 
DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_SOCKETS -DHAVE_DIRENT_H - 
DENABLE_NEW_PARSER -D__BUILDING_LIBCSOUND -I. -IH -I/usr/include/ 
malloc -I/opt/local/include/boost-1_32 -I/usr/local/include -I/usr/ 
local/include Engine/cs_par_dispatch.c
In file included from Engine/cs_par_dispatch.c:32:
H/cs_par_dispatch.h:52: error: syntax error before ‘pthread_spinlock_t’
H/cs_par_dispatch.h:52: warning: no semicolon at end of struct or union
H/cs_par_dispatch.h:53: warning: data definition has no type or  
storage class
H/cs_par_dispatch.h:54: error: syntax error before ‘consume_spinlock’
...


recently committed code has broken compilation on OSX

Victor
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-08-21 23:44
FromMichael Gogins
SubjectRe: [Cs-dev] ParCS won't build on OSX
Sorry about that... Does OS X have pthreads but not
pthread_spinlock_t? Or is it just a syntax thing with the #ifdefs?
They are in csound.h.

Regards,
Mike

On Sat, Aug 21, 2010 at 6:42 PM, Victor Lazzarini
 wrote:
> gcc -o Engine/cs_par_dispatch.o -c -Wno-format -O3 -arch i386 -ftree-
> vectorize -ffast-math -g -fomit-frame-pointer -freorder-blocks -
> DMACOSX -DPIPES -fPIC -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA -
> DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -
> DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -
> DENABLE_NEW_PARSER -D__BUILDING_LIBCSOUND -I. -IH -I/usr/include/
> malloc -I/opt/local/include/boost-1_32 -I/usr/local/include -I/usr/
> local/include Engine/cs_par_dispatch.c
> In file included from Engine/cs_par_dispatch.c:32:
> H/cs_par_dispatch.h:52: error: syntax error before ‘pthread_spinlock_t’
> H/cs_par_dispatch.h:52: warning: no semicolon at end of struct or union
> H/cs_par_dispatch.h:53: warning: data definition has no type or
> storage class
> H/cs_par_dispatch.h:54: error: syntax error before ‘consume_spinlock’
> ...
>
>
> recently committed code has broken compilation on OSX
>
> Victor
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-08-21 23:57
FromVictor Lazzarini
SubjectRe: [Cs-dev] ParCS won't build on OSX
No phtread_spin_lock() or pthread_spin_lock_t on OSX phtread library,  
I'm afraid.

Victor

On 21 Aug 2010, at 23:44, Michael Gogins wrote:

> Sorry about that... Does OS X have pthreads but not
> pthread_spinlock_t? Or is it just a syntax thing with the #ifdefs?
> They are in csound.h.
>
> Regards,
> Mike
>
> On Sat, Aug 21, 2010 at 6:42 PM, Victor Lazzarini
>  wrote:
>> gcc -o Engine/cs_par_dispatch.o -c -Wno-format -O3 -arch i386 -ftree-
>> vectorize -ffast-math -g -fomit-frame-pointer -freorder-blocks -
>> DMACOSX -DPIPES -fPIC -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK - 
>> DBETA -
>> DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -
>> DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -
>> DENABLE_NEW_PARSER -D__BUILDING_LIBCSOUND -I. -IH -I/usr/include/
>> malloc -I/opt/local/include/boost-1_32 -I/usr/local/include -I/usr/
>> local/include Engine/cs_par_dispatch.c
>> In file included from Engine/cs_par_dispatch.c:32:
>> H/cs_par_dispatch.h:52: error: syntax error before  
>> ‘pthread_spinlock_t’
>> H/cs_par_dispatch.h:52: warning: no semicolon at end of struct or  
>> union
>> H/cs_par_dispatch.h:53: warning: data definition has no type or
>> storage class
>> H/cs_par_dispatch.h:54: error: syntax error before ‘consume_spinlock’
>> ...
>>
>>
>> recently committed code has broken compilation on OSX
>>
>> Victor
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by
>>
>> Make an app they can't live without
>> Enter the BlackBerry Developer Challenge
>> http://p.sf.net/sfu/RIM-dev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
>
> -- 
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-08-22 00:17
FromMichael Gogins
SubjectRe: [Cs-dev] ParCS won't build on OSX
OK, I did not know that. Shall I change it for OS X, or you? It was
pthread_mutex before, there is a slight performance advantage with
spinlocks, at least on Windows and I would guess on Linux.

Regards,
Mike

On Sat, Aug 21, 2010 at 6:57 PM, Victor Lazzarini
 wrote:
> No phtread_spin_lock() or pthread_spin_lock_t on OSX phtread library,
> I'm afraid.
>
> Victor
>
> On 21 Aug 2010, at 23:44, Michael Gogins wrote:
>
>> Sorry about that... Does OS X have pthreads but not
>> pthread_spinlock_t? Or is it just a syntax thing with the #ifdefs?
>> They are in csound.h.
>>
>> Regards,
>> Mike
>>
>> On Sat, Aug 21, 2010 at 6:42 PM, Victor Lazzarini
>>  wrote:
>>> gcc -o Engine/cs_par_dispatch.o -c -Wno-format -O3 -arch i386 -ftree-
>>> vectorize -ffast-math -g -fomit-frame-pointer -freorder-blocks -
>>> DMACOSX -DPIPES -fPIC -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -
>>> DBETA -
>>> DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -
>>> DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -
>>> DENABLE_NEW_PARSER -D__BUILDING_LIBCSOUND -I. -IH -I/usr/include/
>>> malloc -I/opt/local/include/boost-1_32 -I/usr/local/include -I/usr/
>>> local/include Engine/cs_par_dispatch.c
>>> In file included from Engine/cs_par_dispatch.c:32:
>>> H/cs_par_dispatch.h:52: error: syntax error before
>>> ‘pthread_spinlock_t’
>>> H/cs_par_dispatch.h:52: warning: no semicolon at end of struct or
>>> union
>>> H/cs_par_dispatch.h:53: warning: data definition has no type or
>>> storage class
>>> H/cs_par_dispatch.h:54: error: syntax error before ‘consume_spinlock’
>>> ...
>>>
>>>
>>> recently committed code has broken compilation on OSX
>>>
>>> Victor
>>> ------------------------------------------------------------------------------
>>> This SF.net email is sponsored by
>>>
>>> Make an app they can't live without
>>> Enter the BlackBerry Developer Challenge
>>> http://p.sf.net/sfu/RIM-dev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by
>>
>> Make an app they can't live without
>> Enter the BlackBerry Developer Challenge
>> http://p.sf.net/sfu/RIM-dev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-08-22 00:27
FromVictor Lazzarini
SubjectRe: [Cs-dev] ParCS won't build on OSX
There seems to be code on head branch implementing OSX locks in  
csound.h, could you look at it and see if you can fix it? I don't know  
exactly what you've done, so I don't want to touch this bit of code.

Victor

On 22 Aug 2010, at 00:17, Michael Gogins wrote:

> OK, I did not know that. Shall I change it for OS X, or you? It was
> pthread_mutex before, there is a slight performance advantage with
> spinlocks, at least on Windows and I would guess on Linux.
>
> Regards,
> Mike
>
> On Sat, Aug 21, 2010 at 6:57 PM, Victor Lazzarini
>  wrote:
>> No phtread_spin_lock() or pthread_spin_lock_t on OSX phtread library,
>> I'm afraid.
>>
>> Victor
>>
>> On 21 Aug 2010, at 23:44, Michael Gogins wrote:
>>
>>> Sorry about that... Does OS X have pthreads but not
>>> pthread_spinlock_t? Or is it just a syntax thing with the #ifdefs?
>>> They are in csound.h.
>>>
>>> Regards,
>>> Mike
>>>
>>> On Sat, Aug 21, 2010 at 6:42 PM, Victor Lazzarini
>>>  wrote:
>>>> gcc -o Engine/cs_par_dispatch.o -c -Wno-format -O3 -arch i386 - 
>>>> ftree-
>>>> vectorize -ffast-math -g -fomit-frame-pointer -freorder-blocks -
>>>> DMACOSX -DPIPES -fPIC -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -
>>>> DBETA -
>>>> DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -
>>>> DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -
>>>> DENABLE_NEW_PARSER -D__BUILDING_LIBCSOUND -I. -IH -I/usr/include/
>>>> malloc -I/opt/local/include/boost-1_32 -I/usr/local/include -I/usr/
>>>> local/include Engine/cs_par_dispatch.c
>>>> In file included from Engine/cs_par_dispatch.c:32:
>>>> H/cs_par_dispatch.h:52: error: syntax error before
>>>> ‘pthread_spinlock_t’
>>>> H/cs_par_dispatch.h:52: warning: no semicolon at end of struct or
>>>> union
>>>> H/cs_par_dispatch.h:53: warning: data definition has no type or
>>>> storage class
>>>> H/cs_par_dispatch.h:54: error: syntax error before  
>>>> ‘consume_spinlock’
>>>> ...
>>>>
>>>>
>>>> recently committed code has broken compilation on OSX
>>>>
>>>> Victor
>>>> ------------------------------------------------------------------------------
>>>> This SF.net email is sponsored by
>>>>
>>>> Make an app they can't live without
>>>> Enter the BlackBerry Developer Challenge
>>>> http://p.sf.net/sfu/RIM-dev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>>
>>>
>>> --
>>> Michael Gogins
>>> Irreducible Productions
>>> http://www.michael-gogins.com
>>> Michael dot Gogins at gmail dot com
>>>
>>> ------------------------------------------------------------------------------
>>> This SF.net email is sponsored by
>>>
>>> Make an app they can't live without
>>> Enter the BlackBerry Developer Challenge
>>> http://p.sf.net/sfu/RIM-dev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by
>>
>> Make an app they can't live without
>> Enter the BlackBerry Developer Challenge
>> http://p.sf.net/sfu/RIM-dev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
>
> -- 
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-08-22 00:34
FromMichael Gogins
SubjectRe: [Cs-dev] ParCS won't build on OSX
I will fix it, but my wife just drove up so I won't get to it till
tomorrow around noon EST. All I need to do is #ifdef the
pthread_spinlock_t related stuff for Windows and Linux if
HAVE_PTHREAD_BARRIER_INIT is defined, and make sure the Mac stuff is
properly #ifdef'd again.

Regards,
Mike



On Sat, Aug 21, 2010 at 7:27 PM, Victor Lazzarini
 wrote:
> There seems to be code on head branch implementing OSX locks in
> csound.h, could you look at it and see if you can fix it? I don't know
> exactly what you've done, so I don't want to touch this bit of code.
>
> Victor
>
> On 22 Aug 2010, at 00:17, Michael Gogins wrote:
>
>> OK, I did not know that. Shall I change it for OS X, or you? It was
>> pthread_mutex before, there is a slight performance advantage with
>> spinlocks, at least on Windows and I would guess on Linux.
>>
>> Regards,
>> Mike
>>
>> On Sat, Aug 21, 2010 at 6:57 PM, Victor Lazzarini
>>  wrote:
>>> No phtread_spin_lock() or pthread_spin_lock_t on OSX phtread library,
>>> I'm afraid.
>>>
>>> Victor
>>>
>>> On 21 Aug 2010, at 23:44, Michael Gogins wrote:
>>>
>>>> Sorry about that... Does OS X have pthreads but not
>>>> pthread_spinlock_t? Or is it just a syntax thing with the #ifdefs?
>>>> They are in csound.h.
>>>>
>>>> Regards,
>>>> Mike
>>>>
>>>> On Sat, Aug 21, 2010 at 6:42 PM, Victor Lazzarini
>>>>  wrote:
>>>>> gcc -o Engine/cs_par_dispatch.o -c -Wno-format -O3 -arch i386 -
>>>>> ftree-
>>>>> vectorize -ffast-math -g -fomit-frame-pointer -freorder-blocks -
>>>>> DMACOSX -DPIPES -fPIC -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -
>>>>> DBETA -
>>>>> DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -
>>>>> DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -
>>>>> DENABLE_NEW_PARSER -D__BUILDING_LIBCSOUND -I. -IH -I/usr/include/
>>>>> malloc -I/opt/local/include/boost-1_32 -I/usr/local/include -I/usr/
>>>>> local/include Engine/cs_par_dispatch.c
>>>>> In file included from Engine/cs_par_dispatch.c:32:
>>>>> H/cs_par_dispatch.h:52: error: syntax error before
>>>>> ‘pthread_spinlock_t’
>>>>> H/cs_par_dispatch.h:52: warning: no semicolon at end of struct or
>>>>> union
>>>>> H/cs_par_dispatch.h:53: warning: data definition has no type or
>>>>> storage class
>>>>> H/cs_par_dispatch.h:54: error: syntax error before
>>>>> ‘consume_spinlock’
>>>>> ...
>>>>>
>>>>>
>>>>> recently committed code has broken compilation on OSX
>>>>>
>>>>> Victor
>>>>> ------------------------------------------------------------------------------
>>>>> This SF.net email is sponsored by
>>>>>
>>>>> Make an app they can't live without
>>>>> Enter the BlackBerry Developer Challenge
>>>>> http://p.sf.net/sfu/RIM-dev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> http://www.michael-gogins.com
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>> ------------------------------------------------------------------------------
>>>> This SF.net email is sponsored by
>>>>
>>>> Make an app they can't live without
>>>> Enter the BlackBerry Developer Challenge
>>>> http://p.sf.net/sfu/RIM-dev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> This SF.net email is sponsored by
>>>
>>> Make an app they can't live without
>>> Enter the BlackBerry Developer Challenge
>>> http://p.sf.net/sfu/RIM-dev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by
>>
>> Make an app they can't live without
>> Enter the BlackBerry Developer Challenge
>> http://p.sf.net/sfu/RIM-dev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-08-22 00:44
FromVictor Lazzarini
SubjectRe: [Cs-dev] ParCS won't build on OSX
There is no rush. I'll leave it for you to do.

Victor
On 22 Aug 2010, at 00:34, Michael Gogins wrote:

> I will fix it, but my wife just drove up so I won't get to it till
> tomorrow around noon EST. All I need to do is #ifdef the
> pthread_spinlock_t related stuff for Windows and Linux if
> HAVE_PTHREAD_BARRIER_INIT is defined, and make sure the Mac stuff is
> properly #ifdef'd again.
>
> Regards,
> Mike
>
>
>
> On Sat, Aug 21, 2010 at 7:27 PM, Victor Lazzarini
>  wrote:
>> There seems to be code on head branch implementing OSX locks in
>> csound.h, could you look at it and see if you can fix it? I don't  
>> know
>> exactly what you've done, so I don't want to touch this bit of code.
>>
>> Victor
>>
>> On 22 Aug 2010, at 00:17, Michael Gogins wrote:
>>
>>> OK, I did not know that. Shall I change it for OS X, or you? It was
>>> pthread_mutex before, there is a slight performance advantage with
>>> spinlocks, at least on Windows and I would guess on Linux.
>>>
>>> Regards,
>>> Mike
>>>
>>> On Sat, Aug 21, 2010 at 6:57 PM, Victor Lazzarini
>>>  wrote:
>>>> No phtread_spin_lock() or pthread_spin_lock_t on OSX phtread  
>>>> library,
>>>> I'm afraid.
>>>>
>>>> Victor
>>>>
>>>> On 21 Aug 2010, at 23:44, Michael Gogins wrote:
>>>>
>>>>> Sorry about that... Does OS X have pthreads but not
>>>>> pthread_spinlock_t? Or is it just a syntax thing with the #ifdefs?
>>>>> They are in csound.h.
>>>>>
>>>>> Regards,
>>>>> Mike
>>>>>
>>>>> On Sat, Aug 21, 2010 at 6:42 PM, Victor Lazzarini
>>>>>  wrote:
>>>>>> gcc -o Engine/cs_par_dispatch.o -c -Wno-format -O3 -arch i386 -
>>>>>> ftree-
>>>>>> vectorize -ffast-math -g -fomit-frame-pointer -freorder-blocks -
>>>>>> DMACOSX -DPIPES -fPIC -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -
>>>>>> DBETA -
>>>>>> DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -
>>>>>> DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_SOCKETS - 
>>>>>> DHAVE_DIRENT_H -
>>>>>> DENABLE_NEW_PARSER -D__BUILDING_LIBCSOUND -I. -IH -I/usr/include/
>>>>>> malloc -I/opt/local/include/boost-1_32 -I/usr/local/include -I/ 
>>>>>> usr/
>>>>>> local/include Engine/cs_par_dispatch.c
>>>>>> In file included from Engine/cs_par_dispatch.c:32:
>>>>>> H/cs_par_dispatch.h:52: error: syntax error before
>>>>>> ‘pthread_spinlock_t’
>>>>>> H/cs_par_dispatch.h:52: warning: no semicolon at end of struct or
>>>>>> union
>>>>>> H/cs_par_dispatch.h:53: warning: data definition has no type or
>>>>>> storage class
>>>>>> H/cs_par_dispatch.h:54: error: syntax error before
>>>>>> ‘consume_spinlock’
>>>>>> ...
>>>>>>
>>>>>>
>>>>>> recently committed code has broken compilation on OSX
>>>>>>
>>>>>> Victor
>>>>>> ------------------------------------------------------------------------------
>>>>>> This SF.net email is sponsored by
>>>>>>
>>>>>> Make an app they can't live without
>>>>>> Enter the BlackBerry Developer Challenge
>>>>>> http://p.sf.net/sfu/RIM-dev2dev
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Michael Gogins
>>>>> Irreducible Productions
>>>>> http://www.michael-gogins.com
>>>>> Michael dot Gogins at gmail dot com
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> This SF.net email is sponsored by
>>>>>
>>>>> Make an app they can't live without
>>>>> Enter the BlackBerry Developer Challenge
>>>>> http://p.sf.net/sfu/RIM-dev2dev
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> This SF.net email is sponsored by
>>>>
>>>> Make an app they can't live without
>>>> Enter the BlackBerry Developer Challenge
>>>> http://p.sf.net/sfu/RIM-dev2dev
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>>
>>>
>>> --
>>> Michael Gogins
>>> Irreducible Productions
>>> http://www.michael-gogins.com
>>> Michael dot Gogins at gmail dot com
>>>
>>> ------------------------------------------------------------------------------
>>> This SF.net email is sponsored by
>>>
>>> Make an app they can't live without
>>> Enter the BlackBerry Developer Challenge
>>> http://p.sf.net/sfu/RIM-dev2dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by
>>
>> Make an app they can't live without
>> Enter the BlackBerry Developer Challenge
>> http://p.sf.net/sfu/RIM-dev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
>
> -- 
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net