Csound Csound-dev Csound-tekno Search About

[Cs-dev] Recent change in src

Date2011-05-19 16:49
FromJohn ff
Subject[Cs-dev] Recent change in src
AttachmentsNone  None  
has made it fail to compile.  Something to do with spinlocks?

gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -ffast-math -Wno-format -DGNU_GETTEXT -I/usr/local/include/libcwiimote-0.4.0/libcwiimote -g -fomit-frame-pointer -freorder-blocks -fPIC -DLINUX -DPIPES -fPIC -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS -DINC_MP3 -DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/lib/jvm/java-1.5.0/include -I/usr/lib/jvm/java-1.5.0/include/linux -I/usr/local/include -I/usr/include -I/usr/include -I/usr/X11R6/include InOut/rtpa.c
In file included from H/csdl.h:31:0,
                 from InOut/rtalsa.c:39:
H/csoundCore.h:1062:5: error: expected specifier-qualifier-list before ‘pthread_spinlock_t’
InOut/rtalsa.c: In function ‘open_device’:
InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named ‘rtPlay_userdata’
InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named ‘rtRecord_userdata’
InOut/rtalsa.c: In function ‘rtrecord_’:
InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named ‘rtRecord_userdata’
InOut/rtalsa.c: In function ‘rtplay_’:
InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named ‘rtPlay_userdata’
InOut/rtalsa.c: In function ‘csoundModuleCreate’:
InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named ‘oparms’

==John ffitch


Date2011-05-19 18:51
FromVictor Lazzarini
SubjectRe: [Cs-dev] Recent change in src
It wasn't compiling on OSX, so I enabled some commented out code to  
substitute spinlocks if these are not found in the installed pthreads  
library. If scons  adds the HAVE_PTHREAD_SPIN_LOCK token, it should be  
the same as before (see my comments in H/cs_par_base.h). There is a  
check in SConstruct for it, but maybe it is not working (I can't test).

Victor

On 19 May 2011, at 16:49, John ff wrote:

> has made it fail to compile.  Something to do with spinlocks?
>
> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -ffast- 
> math -Wno-format -DGNU_GETTEXT -I/usr/local/include/ 
> libcwiimote-0.4.0/libcwiimote -g -fomit-frame-pointer -freorder- 
> blocks -fPIC -DLINUX -DPIPES -fPIC -DHAVE_LIBSNDFILE=1016 - 
> DHAVE_FLTK -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS -DINC_MP3 - 
> DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT - 
> DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H - 
> DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H  
> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/lib/ 
> jvm/java-1.5.0/include -I/usr/lib/jvm/java-1.5.0/include/linux -I/ 
> usr/local/include -I/usr/include -I/usr/include -I/usr/X11R6/include  
> InOut/rtpa.c
> In file included from H/csdl.h:31:0,
>                 from InOut/rtalsa.c:39:
> H/csoundCore.h:1062:5: error: expected specifier-qualifier-list  
> before ‘pthread_spinlock_t’
> InOut/rtalsa.c: In function ‘open_device’:
> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named  
> ‘rtPlay_userdata’
> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named  
> ‘rtRecord_userdata’
> InOut/rtalsa.c: In function ‘rtrecord_’:
> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named  
> ‘rtRecord_userdata’
> InOut/rtalsa.c: In function ‘rtplay_’:
> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named  
> ‘rtPlay_userdata’
> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named ‘oparms’
>
> ==John ffitch
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> 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
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-19 19:08
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Recent change in src
Well until it is fixed, and the git problenm, I am totally out of it. I
have written the interpolating random opcodes but cannot push them or test
them.

If PARCS is not set it should not care about spinlocks at all.  Are you
building with tht?

==John ff

> It wasn't compiling on OSX, so I enabled some commented out code to
> substitute spinlocks if these are not found in the installed pthreads
> library. If scons  adds the HAVE_PTHREAD_SPIN_LOCK token, it should be
> the same as before (see my comments in H/cs_par_base.h). There is a
> check in SConstruct for it, but maybe it is not working (I can't test).
>
> Victor
>
> On 19 May 2011, at 16:49, John ff wrote:
>
>> has made it fail to compile.  Something to do with spinlocks?
>>
>> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -ffast-
>> math -Wno-format -DGNU_GETTEXT -I/usr/local/include/
>> libcwiimote-0.4.0/libcwiimote -g -fomit-frame-pointer -freorder-
>> blocks -fPIC -DLINUX -DPIPES -fPIC -DHAVE_LIBSNDFILE=1016 -
>> DHAVE_FLTK -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS -DINC_MP3 -
>> DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT -
>> DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H -
>> DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H
>> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/lib/
>> jvm/java-1.5.0/include -I/usr/lib/jvm/java-1.5.0/include/linux -I/
>> usr/local/include -I/usr/include -I/usr/include -I/usr/X11R6/include
>> InOut/rtpa.c
>> In file included from H/csdl.h:31:0,
>>                 from InOut/rtalsa.c:39:
>> H/csoundCore.h:1062:5: error: expected specifier-qualifier-list
>> before ‘pthread_spinlock_t’
>> InOut/rtalsa.c: In function ‘open_device’:
>> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named
>> ‘rtPlay_userdata’
>> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named
>> ‘rtRecord_userdata’
>> InOut/rtalsa.c: In function ‘rtrecord_’:
>> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named
>> ‘rtRecord_userdata’
>> InOut/rtalsa.c: In function ‘rtplay_’:
>> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named
>> ‘rtPlay_userdata’
>> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
>> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named ‘oparms’
>>
>> ==John ffitch
>>
>> ------------------------------------------------------------------------------
>> What Every C/C++ and Fortran developer Should Know!
>> Read this article and learn how Intel has extended the reach of its
>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>> developers boost performance applications - including clusters.
>> http://p.sf.net/sfu/intel-dev2devmay
>> _______________________________________________
>> 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
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>



------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-19 19:45
FromVictor Lazzarini
SubjectRe: [Cs-dev] Recent change in src
yes, I am testing PaCS on OSX. It was not building for me, so that was  
me out of it yesterday. I only commented back in some code
that was already there.

I  committed a change to SConstruct that defines  
HAVE_PTHREAD_SPIN_LOCK on all platforms except for OSX. Maybe that will
help you.

Victor
On 19 May 2011, at 19:08, jpff@cs.bath.ac.uk wrote:

>
> Well until it is fixed, and the git problenm, I am totally out of  
> it. I
> have written the interpolating random opcodes but cannot push them  
> or test
> them.
>
> If PARCS is not set it should not care about spinlocks at all.  Are  
> you
> building with tht?
>
> ==John ff
>
>> It wasn't compiling on OSX, so I enabled some commented out code to
>> substitute spinlocks if these are not found in the installed pthreads
>> library. If scons  adds the HAVE_PTHREAD_SPIN_LOCK token, it should  
>> be
>> the same as before (see my comments in H/cs_par_base.h). There is a
>> check in SConstruct for it, but maybe it is not working (I can't  
>> test).
>>
>> Victor
>>
>> On 19 May 2011, at 16:49, John ff wrote:
>>
>>> has made it fail to compile.  Something to do with spinlocks?
>>>
>>> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -ffast-
>>> math -Wno-format -DGNU_GETTEXT -I/usr/local/include/
>>> libcwiimote-0.4.0/libcwiimote -g -fomit-frame-pointer -freorder-
>>> blocks -fPIC -DLINUX -DPIPES -fPIC -DHAVE_LIBSNDFILE=1016 -
>>> DHAVE_FLTK -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS -DINC_MP3 -
>>> DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT -
>>> DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H -
>>> DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H
>>> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/lib/
>>> jvm/java-1.5.0/include -I/usr/lib/jvm/java-1.5.0/include/linux -I/
>>> usr/local/include -I/usr/include -I/usr/include -I/usr/X11R6/include
>>> InOut/rtpa.c
>>> In file included from H/csdl.h:31:0,
>>>                from InOut/rtalsa.c:39:
>>> H/csoundCore.h:1062:5: error: expected specifier-qualifier-list
>>> before ‘pthread_spinlock_t’
>>> InOut/rtalsa.c: In function ‘open_device’:
>>> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named
>>> ‘rtPlay_userdata’
>>> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named
>>> ‘rtRecord_userdata’
>>> InOut/rtalsa.c: In function ‘rtrecord_’:
>>> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named
>>> ‘rtRecord_userdata’
>>> InOut/rtalsa.c: In function ‘rtplay_’:
>>> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named
>>> ‘rtPlay_userdata’
>>> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
>>> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named ‘oparms’
>>>
>>> ==John ffitch
>>>
>>> ------------------------------------------------------------------------------
>>> What Every C/C++ and Fortran developer Should Know!
>>> Read this article and learn how Intel has extended the reach of its
>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>> developers boost performance applications - including clusters.
>>> http://p.sf.net/sfu/intel-dev2devmay
>>> _______________________________________________
>>> 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
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> What Every C/C++ and Fortran developer Should Know!
>> Read this article and learn how Intel has extended the reach of its
>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>> developers boost performance applications - including clusters.
>> http://p.sf.net/sfu/intel-dev2devmay
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>
>
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> 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
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-19 20:51
FromSteven Yi
SubjectRe: [Cs-dev] Recent change in src
I checked out latest and am getting some errors. On OSX, I get:

Undefined symbols:
  "_cauchyrand", referenced from:
      _acauchyi in cmath.os
      _kcauchyi in cmath.os
      _cauchyiset in cmath.os
      _cauchyiset in cmath.os
      _icauchyi in cmath.os
      _icauchyi in cmath.os
      _icauchyi in cmath.os
ld: symbol(s) not found
collect2: ld returned 1 exit status
Undefined symbols:
  "_cauchyrand", referenced from:
      _acauchyi in cmath.os
      _kcauchyi in cmath.os
      _cauchyiset in cmath.os
      _cauchyiset in cmath.os
      _icauchyi in cmath.os
      _icauchyi in cmath.os
      _icauchyi in cmath.os

I did a grep and did not find any definition of the cauchyrand
function anywhere, only the calls to use it in OOps/cmath.c.

On Ubuntu I get the same error John emailed earlier about the spinlock:

gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -ffast-math
-Wno-format -DGNU_GETTEXT
-I/usr/local/include/libcwiimote-0.4.0/libcwiimote -g
-fomit-frame-pointer -freorder-blocks -fPIC -DLINUX -DPIPES -fPIC
-DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS
-DINC_MP3 -DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT
-DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H
-DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H
-DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH
-I/usr/lib/jvm/java-1.5.0/include
-I/usr/lib/jvm/java-1.5.0/include/linux -I/usr/local/include
-I/usr/include -I/usr/include -I/usr/X11R6/include InOut/rtpa.c
In file included from H/csdl.h:31:0,
                from InOut/rtalsa.c:39:
H/csoundCore.h:1062:5: error: expected specifier-qualifier-list before
‘pthread_spinlock_t’
InOut/rtalsa.c: In function ‘open_device’:
InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named ‘rtPlay_userdata’
InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named ‘rtRecord_userdata’
InOut/rtalsa.c: In function ‘rtrecord_’:
InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named ‘rtRecord_userdata’
InOut/rtalsa.c: In function ‘rtplay_’:
InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named ‘rtPlay_userdata’
InOut/rtalsa.c: In function ‘csoundModuleCreate’:
InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named ‘oparms’

I'm building with buildMulticore=1 on OSX and without on Ubuntu.

On Thu, May 19, 2011 at 2:45 PM, Victor Lazzarini
 wrote:
> yes, I am testing PaCS on OSX. It was not building for me, so that was
> me out of it yesterday. I only commented back in some code
> that was already there.
>
> I  committed a change to SConstruct that defines
> HAVE_PTHREAD_SPIN_LOCK on all platforms except for OSX. Maybe that will
> help you.
>
> Victor
> On 19 May 2011, at 19:08, jpff@cs.bath.ac.uk wrote:
>
>>
>> Well until it is fixed, and the git problenm, I am totally out of
>> it. I
>> have written the interpolating random opcodes but cannot push them
>> or test
>> them.
>>
>> If PARCS is not set it should not care about spinlocks at all.  Are
>> you
>> building with tht?
>>
>> ==John ff
>>
>>> It wasn't compiling on OSX, so I enabled some commented out code to
>>> substitute spinlocks if these are not found in the installed pthreads
>>> library. If scons  adds the HAVE_PTHREAD_SPIN_LOCK token, it should
>>> be
>>> the same as before (see my comments in H/cs_par_base.h). There is a
>>> check in SConstruct for it, but maybe it is not working (I can't
>>> test).
>>>
>>> Victor
>>>
>>> On 19 May 2011, at 16:49, John ff wrote:
>>>
>>>> has made it fail to compile.  Something to do with spinlocks?
>>>>
>>>> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -ffast-
>>>> math -Wno-format -DGNU_GETTEXT -I/usr/local/include/
>>>> libcwiimote-0.4.0/libcwiimote -g -fomit-frame-pointer -freorder-
>>>> blocks -fPIC -DLINUX -DPIPES -fPIC -DHAVE_LIBSNDFILE=1016 -
>>>> DHAVE_FLTK -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS -DINC_MP3 -
>>>> DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT -
>>>> DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H -
>>>> DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H
>>>> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/lib/
>>>> jvm/java-1.5.0/include -I/usr/lib/jvm/java-1.5.0/include/linux -I/
>>>> usr/local/include -I/usr/include -I/usr/include -I/usr/X11R6/include
>>>> InOut/rtpa.c
>>>> In file included from H/csdl.h:31:0,
>>>>                from InOut/rtalsa.c:39:
>>>> H/csoundCore.h:1062:5: error: expected specifier-qualifier-list
>>>> before ‘pthread_spinlock_t’
>>>> InOut/rtalsa.c: In function ‘open_device’:
>>>> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named
>>>> ‘rtPlay_userdata’
>>>> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named
>>>> ‘rtRecord_userdata’
>>>> InOut/rtalsa.c: In function ‘rtrecord_’:
>>>> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named
>>>> ‘rtRecord_userdata’
>>>> InOut/rtalsa.c: In function ‘rtplay_’:
>>>> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named
>>>> ‘rtPlay_userdata’
>>>> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
>>>> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named ‘oparms’
>>>>
>>>> ==John ffitch
>>>>
>>>> ------------------------------------------------------------------------------
>>>> What Every C/C++ and Fortran developer Should Know!
>>>> Read this article and learn how Intel has extended the reach of its
>>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>>> developers boost performance applications - including clusters.
>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>> _______________________________________________
>>>> 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
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> What Every C/C++ and Fortran developer Should Know!
>>> Read this article and learn how Intel has extended the reach of its
>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>> developers boost performance applications - including clusters.
>>> http://p.sf.net/sfu/intel-dev2devmay
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> What Every C/C++ and Fortran developer Should Know!
>> Read this article and learn how Intel has extended the reach of its
>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>> developers boost performance applications - including clusters.
>> http://p.sf.net/sfu/intel-dev2devmay
>> _______________________________________________
>> 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
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-19 21:17
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Recent change in src
That is because my code is part-checkin and I am stuck

> I checked out latest and am getting some errors. On OSX, I get:
>
> Undefined symbols:
>   "_cauchyrand", referenced from:
>       _acauchyi in cmath.os
>       _kcauchyi in cmath.os
>       _cauchyiset in cmath.os
>       _cauchyiset in cmath.os
>       _icauchyi in cmath.os
>       _icauchyi in cmath.os
>       _icauchyi in cmath.os
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> Undefined symbols:
>   "_cauchyrand", referenced from:
>       _acauchyi in cmath.os
>       _kcauchyi in cmath.os
>       _cauchyiset in cmath.os
>       _cauchyiset in cmath.os
>       _icauchyi in cmath.os
>       _icauchyi in cmath.os
>       _icauchyi in cmath.os
>
> I did a grep and did not find any definition of the cauchyrand
> function anywhere, only the calls to use it in OOps/cmath.c.
>
> On Ubuntu I get the same error John emailed earlier about the spinlock:
>
> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -ffast-math
> -Wno-format -DGNU_GETTEXT
> -I/usr/local/include/libcwiimote-0.4.0/libcwiimote -g
> -fomit-frame-pointer -freorder-blocks -fPIC -DLINUX -DPIPES -fPIC
> -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS
> -DINC_MP3 -DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT
> -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H
> -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H
> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH
> -I/usr/lib/jvm/java-1.5.0/include
> -I/usr/lib/jvm/java-1.5.0/include/linux -I/usr/local/include
> -I/usr/include -I/usr/include -I/usr/X11R6/include InOut/rtpa.c
> In file included from H/csdl.h:31:0,
>                 from InOut/rtalsa.c:39:
> H/csoundCore.h:1062:5: error: expected specifier-qualifier-list before
> ‘pthread_spinlock_t’
> InOut/rtalsa.c: In function ‘open_device’:
> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named
> ‘rtPlay_userdata’
> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named
> ‘rtRecord_userdata’
> InOut/rtalsa.c: In function ‘rtrecord_’:
> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named
> ‘rtRecord_userdata’
> InOut/rtalsa.c: In function ‘rtplay_’:
> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named
> ‘rtPlay_userdata’
> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named ‘oparms’
>
> I'm building with buildMulticore=1 on OSX and without on Ubuntu.
>
> On Thu, May 19, 2011 at 2:45 PM, Victor Lazzarini
>  wrote:
>> yes, I am testing PaCS on OSX. It was not building for me, so that was
>> me out of it yesterday. I only commented back in some code
>> that was already there.
>>
>> I  committed a change to SConstruct that defines
>> HAVE_PTHREAD_SPIN_LOCK on all platforms except for OSX. Maybe that will
>> help you.
>>
>> Victor
>> On 19 May 2011, at 19:08, jpff@cs.bath.ac.uk wrote:
>>
>>>
>>> Well until it is fixed, and the git problenm, I am totally out of
>>> it. I
>>> have written the interpolating random opcodes but cannot push them
>>> or test
>>> them.
>>>
>>> If PARCS is not set it should not care about spinlocks at all.  Are
>>> you
>>> building with tht?
>>>
>>> ==John ff
>>>
>>>> It wasn't compiling on OSX, so I enabled some commented out code to
>>>> substitute spinlocks if these are not found in the installed pthreads
>>>> library. If scons  adds the HAVE_PTHREAD_SPIN_LOCK token, it should
>>>> be
>>>> the same as before (see my comments in H/cs_par_base.h). There is a
>>>> check in SConstruct for it, but maybe it is not working (I can't
>>>> test).
>>>>
>>>> Victor
>>>>
>>>> On 19 May 2011, at 16:49, John ff wrote:
>>>>
>>>>> has made it fail to compile.  Something to do with spinlocks?
>>>>>
>>>>> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -ffast-
>>>>> math -Wno-format -DGNU_GETTEXT -I/usr/local/include/
>>>>> libcwiimote-0.4.0/libcwiimote -g -fomit-frame-pointer -freorder-
>>>>> blocks -fPIC -DLINUX -DPIPES -fPIC -DHAVE_LIBSNDFILE=1016 -
>>>>> DHAVE_FLTK -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS -DINC_MP3 -
>>>>> DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT -
>>>>> DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H -
>>>>> DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H
>>>>> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/lib/
>>>>> jvm/java-1.5.0/include -I/usr/lib/jvm/java-1.5.0/include/linux -I/
>>>>> usr/local/include -I/usr/include -I/usr/include -I/usr/X11R6/include
>>>>> InOut/rtpa.c
>>>>> In file included from H/csdl.h:31:0,
>>>>>                from InOut/rtalsa.c:39:
>>>>> H/csoundCore.h:1062:5: error: expected specifier-qualifier-list
>>>>> before ‘pthread_spinlock_t’
>>>>> InOut/rtalsa.c: In function ‘open_device’:
>>>>> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named
>>>>> ‘rtPlay_userdata’
>>>>> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named
>>>>> ‘rtRecord_userdata’
>>>>> InOut/rtalsa.c: In function ‘rtrecord_’:
>>>>> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named
>>>>> ‘rtRecord_userdata’
>>>>> InOut/rtalsa.c: In function ‘rtplay_’:
>>>>> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named
>>>>> ‘rtPlay_userdata’
>>>>> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
>>>>> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named ‘oparms’
>>>>>
>>>>> ==John ffitch
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>> Read this article and learn how Intel has extended the reach of its
>>>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>>>> developers boost performance applications - including clusters.
>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>> _______________________________________________
>>>>> 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
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> What Every C/C++ and Fortran developer Should Know!
>>>> Read this article and learn how Intel has extended the reach of its
>>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>>> developers boost performance applications - including clusters.
>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> What Every C/C++ and Fortran developer Should Know!
>>> Read this article and learn how Intel has extended the reach of its
>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>> developers boost performance applications - including clusters.
>>> http://p.sf.net/sfu/intel-dev2devmay
>>> _______________________________________________
>>> 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
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> What Every C/C++ and Fortran developer Should Know!
>> Read this article and learn how Intel has extended the reach of its
>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>> developers boost performance applications - including clusters.
>> http://p.sf.net/sfu/intel-dev2devmay
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>



------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-19 21:22
FromVictor Lazzarini
SubjectRe: [Cs-dev] Recent change in src
The Ubuntu error is probably fixed now with my latest commit.

On 19 May 2011, at 20:51, Steven Yi wrote:

> I checked out latest and am getting some errors. On OSX, I get:
>
> Undefined symbols:
>  "_cauchyrand", referenced from:
>      _acauchyi in cmath.os
>      _kcauchyi in cmath.os
>      _cauchyiset in cmath.os
>      _cauchyiset in cmath.os
>      _icauchyi in cmath.os
>      _icauchyi in cmath.os
>      _icauchyi in cmath.os
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> Undefined symbols:
>  "_cauchyrand", referenced from:
>      _acauchyi in cmath.os
>      _kcauchyi in cmath.os
>      _cauchyiset in cmath.os
>      _cauchyiset in cmath.os
>      _icauchyi in cmath.os
>      _icauchyi in cmath.os
>      _icauchyi in cmath.os
>
> I did a grep and did not find any definition of the cauchyrand
> function anywhere, only the calls to use it in OOps/cmath.c.
>
> On Ubuntu I get the same error John emailed earlier about the  
> spinlock:
>
> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -ffast-math
> -Wno-format -DGNU_GETTEXT
> -I/usr/local/include/libcwiimote-0.4.0/libcwiimote -g
> -fomit-frame-pointer -freorder-blocks -fPIC -DLINUX -DPIPES -fPIC
> -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS
> -DINC_MP3 -DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT
> -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H
> -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H
> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH
> -I/usr/lib/jvm/java-1.5.0/include
> -I/usr/lib/jvm/java-1.5.0/include/linux -I/usr/local/include
> -I/usr/include -I/usr/include -I/usr/X11R6/include InOut/rtpa.c
> In file included from H/csdl.h:31:0,
>                from InOut/rtalsa.c:39:
> H/csoundCore.h:1062:5: error: expected specifier-qualifier-list before
> ‘pthread_spinlock_t’
> InOut/rtalsa.c: In function ‘open_device’:
> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named  
> ‘rtPlay_userdata’
> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named  
> ‘rtRecord_userdata’
> InOut/rtalsa.c: In function ‘rtrecord_’:
> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named  
> ‘rtRecord_userdata’
> InOut/rtalsa.c: In function ‘rtplay_’:
> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named  
> ‘rtPlay_userdata’
> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named ‘oparms’
>
> I'm building with buildMulticore=1 on OSX and without on Ubuntu.
>
> On Thu, May 19, 2011 at 2:45 PM, Victor Lazzarini
>  wrote:
>> yes, I am testing PaCS on OSX. It was not building for me, so that  
>> was
>> me out of it yesterday. I only commented back in some code
>> that was already there.
>>
>> I  committed a change to SConstruct that defines
>> HAVE_PTHREAD_SPIN_LOCK on all platforms except for OSX. Maybe that  
>> will
>> help you.
>>
>> Victor
>> On 19 May 2011, at 19:08, jpff@cs.bath.ac.uk wrote:
>>
>>>
>>> Well until it is fixed, and the git problenm, I am totally out of
>>> it. I
>>> have written the interpolating random opcodes but cannot push them
>>> or test
>>> them.
>>>
>>> If PARCS is not set it should not care about spinlocks at all.  Are
>>> you
>>> building with tht?
>>>
>>> ==John ff
>>>
>>>> It wasn't compiling on OSX, so I enabled some commented out code to
>>>> substitute spinlocks if these are not found in the installed  
>>>> pthreads
>>>> library. If scons  adds the HAVE_PTHREAD_SPIN_LOCK token, it should
>>>> be
>>>> the same as before (see my comments in H/cs_par_base.h). There is a
>>>> check in SConstruct for it, but maybe it is not working (I can't
>>>> test).
>>>>
>>>> Victor
>>>>
>>>> On 19 May 2011, at 16:49, John ff wrote:
>>>>
>>>>> has made it fail to compile.  Something to do with spinlocks?
>>>>>
>>>>> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -ffast-
>>>>> math -Wno-format -DGNU_GETTEXT -I/usr/local/include/
>>>>> libcwiimote-0.4.0/libcwiimote -g -fomit-frame-pointer -freorder-
>>>>> blocks -fPIC -DLINUX -DPIPES -fPIC -DHAVE_LIBSNDFILE=1016 -
>>>>> DHAVE_FLTK -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS -DINC_MP3 -
>>>>> DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT -
>>>>> DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H -
>>>>> DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H - 
>>>>> DHAVE_TERMIOS_H
>>>>> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/lib/
>>>>> jvm/java-1.5.0/include -I/usr/lib/jvm/java-1.5.0/include/linux -I/
>>>>> usr/local/include -I/usr/include -I/usr/include -I/usr/X11R6/ 
>>>>> include
>>>>> InOut/rtpa.c
>>>>> In file included from H/csdl.h:31:0,
>>>>>                from InOut/rtalsa.c:39:
>>>>> H/csoundCore.h:1062:5: error: expected specifier-qualifier-list
>>>>> before ‘pthread_spinlock_t’
>>>>> InOut/rtalsa.c: In function ‘open_device’:
>>>>> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named
>>>>> ‘rtPlay_userdata’
>>>>> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named
>>>>> ‘rtRecord_userdata’
>>>>> InOut/rtalsa.c: In function ‘rtrecord_’:
>>>>> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named
>>>>> ‘rtRecord_userdata’
>>>>> InOut/rtalsa.c: In function ‘rtplay_’:
>>>>> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named
>>>>> ‘rtPlay_userdata’
>>>>> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
>>>>> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named  
>>>>> ‘oparms’
>>>>>
>>>>> ==John ffitch
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>> Read this article and learn how Intel has extended the reach of  
>>>>> its
>>>>> next-generation tools to help Windows* and Linux* C/C++ and  
>>>>> Fortran
>>>>> developers boost performance applications - including clusters.
>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>> _______________________________________________
>>>>> 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
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> What Every C/C++ and Fortran developer Should Know!
>>>> Read this article and learn how Intel has extended the reach of its
>>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>>> developers boost performance applications - including clusters.
>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> What Every C/C++ and Fortran developer Should Know!
>>> Read this article and learn how Intel has extended the reach of its
>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>> developers boost performance applications - including clusters.
>>> http://p.sf.net/sfu/intel-dev2devmay
>>> _______________________________________________
>>> 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
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> What Every C/C++ and Fortran developer Should Know!
>> Read this article and learn how Intel has extended the reach of its
>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>> developers boost performance applications - including clusters.
>> http://p.sf.net/sfu/intel-dev2devmay
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> 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
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-19 22:00
FromSteven Yi
SubjectRe: [Cs-dev] Recent change in src
I just did a pull and got no new commits.  Retested and same error.
Using "scons useDouble=1".  csoundCore.h looks funny.  It #include's
pthread.h if PARCS is defined, but there is an #if
defined(HAVE_PTHREAD_SPIN_LOCK) that uses pthread_spinlock_t.  The
thing that's happening here is that without PARCS and
HAVE_PTHREAD_SPIN_LOCK, we get into this bad state.  csoundCore.h
didn't change in a while though, so I'm not sure what's going on.
(Also looks like sysdep.h is supposed to include pthread.h if
HAVE_PTHREAD_SPIN_LOCK is found, not sure what's going on).

On Thu, May 19, 2011 at 4:22 PM, Victor Lazzarini
 wrote:
> The Ubuntu error is probably fixed now with my latest commit.
>
> On 19 May 2011, at 20:51, Steven Yi wrote:
>
>> I checked out latest and am getting some errors. On OSX, I get:
>>
>> Undefined symbols:
>>  "_cauchyrand", referenced from:
>>      _acauchyi in cmath.os
>>      _kcauchyi in cmath.os
>>      _cauchyiset in cmath.os
>>      _cauchyiset in cmath.os
>>      _icauchyi in cmath.os
>>      _icauchyi in cmath.os
>>      _icauchyi in cmath.os
>> ld: symbol(s) not found
>> collect2: ld returned 1 exit status
>> Undefined symbols:
>>  "_cauchyrand", referenced from:
>>      _acauchyi in cmath.os
>>      _kcauchyi in cmath.os
>>      _cauchyiset in cmath.os
>>      _cauchyiset in cmath.os
>>      _icauchyi in cmath.os
>>      _icauchyi in cmath.os
>>      _icauchyi in cmath.os
>>
>> I did a grep and did not find any definition of the cauchyrand
>> function anywhere, only the calls to use it in OOps/cmath.c.
>>
>> On Ubuntu I get the same error John emailed earlier about the
>> spinlock:
>>
>> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -ffast-math
>> -Wno-format -DGNU_GETTEXT
>> -I/usr/local/include/libcwiimote-0.4.0/libcwiimote -g
>> -fomit-frame-pointer -freorder-blocks -fPIC -DLINUX -DPIPES -fPIC
>> -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS
>> -DINC_MP3 -DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT
>> -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H
>> -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H
>> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH
>> -I/usr/lib/jvm/java-1.5.0/include
>> -I/usr/lib/jvm/java-1.5.0/include/linux -I/usr/local/include
>> -I/usr/include -I/usr/include -I/usr/X11R6/include InOut/rtpa.c
>> In file included from H/csdl.h:31:0,
>>                from InOut/rtalsa.c:39:
>> H/csoundCore.h:1062:5: error: expected specifier-qualifier-list before
>> ‘pthread_spinlock_t’
>> InOut/rtalsa.c: In function ‘open_device’:
>> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named
>> ‘rtPlay_userdata’
>> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named
>> ‘rtRecord_userdata’
>> InOut/rtalsa.c: In function ‘rtrecord_’:
>> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named
>> ‘rtRecord_userdata’
>> InOut/rtalsa.c: In function ‘rtplay_’:
>> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named
>> ‘rtPlay_userdata’
>> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
>> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named ‘oparms’
>>
>> I'm building with buildMulticore=1 on OSX and without on Ubuntu.
>>
>> On Thu, May 19, 2011 at 2:45 PM, Victor Lazzarini
>>  wrote:
>>> yes, I am testing PaCS on OSX. It was not building for me, so that
>>> was
>>> me out of it yesterday. I only commented back in some code
>>> that was already there.
>>>
>>> I  committed a change to SConstruct that defines
>>> HAVE_PTHREAD_SPIN_LOCK on all platforms except for OSX. Maybe that
>>> will
>>> help you.
>>>
>>> Victor
>>> On 19 May 2011, at 19:08, jpff@cs.bath.ac.uk wrote:
>>>
>>>>
>>>> Well until it is fixed, and the git problenm, I am totally out of
>>>> it. I
>>>> have written the interpolating random opcodes but cannot push them
>>>> or test
>>>> them.
>>>>
>>>> If PARCS is not set it should not care about spinlocks at all.  Are
>>>> you
>>>> building with tht?
>>>>
>>>> ==John ff
>>>>
>>>>> It wasn't compiling on OSX, so I enabled some commented out code to
>>>>> substitute spinlocks if these are not found in the installed
>>>>> pthreads
>>>>> library. If scons  adds the HAVE_PTHREAD_SPIN_LOCK token, it should
>>>>> be
>>>>> the same as before (see my comments in H/cs_par_base.h). There is a
>>>>> check in SConstruct for it, but maybe it is not working (I can't
>>>>> test).
>>>>>
>>>>> Victor
>>>>>
>>>>> On 19 May 2011, at 16:49, John ff wrote:
>>>>>
>>>>>> has made it fail to compile.  Something to do with spinlocks?
>>>>>>
>>>>>> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -ffast-
>>>>>> math -Wno-format -DGNU_GETTEXT -I/usr/local/include/
>>>>>> libcwiimote-0.4.0/libcwiimote -g -fomit-frame-pointer -freorder-
>>>>>> blocks -fPIC -DLINUX -DPIPES -fPIC -DHAVE_LIBSNDFILE=1016 -
>>>>>> DHAVE_FLTK -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS -DINC_MP3 -
>>>>>> DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT -
>>>>>> DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H -
>>>>>> DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -
>>>>>> DHAVE_TERMIOS_H
>>>>>> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/lib/
>>>>>> jvm/java-1.5.0/include -I/usr/lib/jvm/java-1.5.0/include/linux -I/
>>>>>> usr/local/include -I/usr/include -I/usr/include -I/usr/X11R6/
>>>>>> include
>>>>>> InOut/rtpa.c
>>>>>> In file included from H/csdl.h:31:0,
>>>>>>                from InOut/rtalsa.c:39:
>>>>>> H/csoundCore.h:1062:5: error: expected specifier-qualifier-list
>>>>>> before ‘pthread_spinlock_t’
>>>>>> InOut/rtalsa.c: In function ‘open_device’:
>>>>>> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named
>>>>>> ‘rtPlay_userdata’
>>>>>> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named
>>>>>> ‘rtRecord_userdata’
>>>>>> InOut/rtalsa.c: In function ‘rtrecord_’:
>>>>>> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named
>>>>>> ‘rtRecord_userdata’
>>>>>> InOut/rtalsa.c: In function ‘rtplay_’:
>>>>>> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named
>>>>>> ‘rtPlay_userdata’
>>>>>> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
>>>>>> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named
>>>>>> ‘oparms’
>>>>>>
>>>>>> ==John ffitch
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>> Read this article and learn how Intel has extended the reach of
>>>>>> its
>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>> Fortran
>>>>>> developers boost performance applications - including clusters.
>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>> _______________________________________________
>>>>>> 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
>>>>> NUI Maynooth Ireland
>>>>> tel.: +353 1 708 3545
>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>> Read this article and learn how Intel has extended the reach of its
>>>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>>>> developers boost performance applications - including clusters.
>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> What Every C/C++ and Fortran developer Should Know!
>>>> Read this article and learn how Intel has extended the reach of its
>>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>>> developers boost performance applications - including clusters.
>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>> _______________________________________________
>>>> 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
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> What Every C/C++ and Fortran developer Should Know!
>>> Read this article and learn how Intel has extended the reach of its
>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>> developers boost performance applications - including clusters.
>>> http://p.sf.net/sfu/intel-dev2devmay
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> What Every C/C++ and Fortran developer Should Know!
>> Read this article and learn how Intel has extended the reach of its
>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>> developers boost performance applications - including clusters.
>> http://p.sf.net/sfu/intel-dev2devmay
>> _______________________________________________
>> 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
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-19 22:13
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Recent change in src
Steven

Th ecauchyo stuff is all in the files OOps/cmath.c Engine/entry1.c
H/entry1.h and H/cmath.h

I couls mail them to you

==John ff


------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-19 22:21
FromSteven Yi
SubjectRe: [Cs-dev] Recent change in src
I'd be happy to integrate if that would help.  Feel free to email here
or offlist to me (heading out now but can do the changes when I get
back in a few hours).

Thanks!
steven

On Thu, May 19, 2011 at 5:13 PM,   wrote:
> Steven
>
> Th ecauchyo stuff is all in the files OOps/cmath.c Engine/entry1.c
> H/entry1.h and H/cmath.h
>
> I couls mail them to you
>
> ==John ff
>
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-19 22:23
FromVictor Lazzarini
SubjectRe: [Cs-dev] Recent change in src
Well I committed a change to SConstruct to allow  
HAVE_PTHREAD_SPIN_LOCK to be defined. Here's the log

coltrane:csound5-float victor$ git log
commit aa1325adc952e22c8fe032024284f78cec18081c
Merge: b2b72b4 f48b88f
Author: Victor Lazzarini 
Date:   Thu May 19 19:39:27 2011 +0100

     Merge branch 'master' of ssh://csound.git.sourceforge.net/gitroot/csound/csound5

commit b2b72b41fd1601e98df2346be5d4e4da3a6399e8
Author: Victor Lazzarini 
Date:   Thu May 19 19:38:37 2011 +0100

     defining HAVE_PTHREAD_SPIN_LOCK on all platforms except OSX


On 19 May 2011, at 22:00, Steven Yi wrote:

> I just did a pull and got no new commits.  Retested and same error.
> Using "scons useDouble=1".  csoundCore.h looks funny.  It #include's
> pthread.h if PARCS is defined, but there is an #if
> defined(HAVE_PTHREAD_SPIN_LOCK) that uses pthread_spinlock_t.  The
> thing that's happening here is that without PARCS and
> HAVE_PTHREAD_SPIN_LOCK, we get into this bad state.  csoundCore.h
> didn't change in a while though, so I'm not sure what's going on.
> (Also looks like sysdep.h is supposed to include pthread.h if
> HAVE_PTHREAD_SPIN_LOCK is found, not sure what's going on).
>
> On Thu, May 19, 2011 at 4:22 PM, Victor Lazzarini
>  wrote:
>> The Ubuntu error is probably fixed now with my latest commit.
>>
>> On 19 May 2011, at 20:51, Steven Yi wrote:
>>
>>> I checked out latest and am getting some errors. On OSX, I get:
>>>
>>> Undefined symbols:
>>>  "_cauchyrand", referenced from:
>>>      _acauchyi in cmath.os
>>>      _kcauchyi in cmath.os
>>>      _cauchyiset in cmath.os
>>>      _cauchyiset in cmath.os
>>>      _icauchyi in cmath.os
>>>      _icauchyi in cmath.os
>>>      _icauchyi in cmath.os
>>> ld: symbol(s) not found
>>> collect2: ld returned 1 exit status
>>> Undefined symbols:
>>>  "_cauchyrand", referenced from:
>>>      _acauchyi in cmath.os
>>>      _kcauchyi in cmath.os
>>>      _cauchyiset in cmath.os
>>>      _cauchyiset in cmath.os
>>>      _icauchyi in cmath.os
>>>      _icauchyi in cmath.os
>>>      _icauchyi in cmath.os
>>>
>>> I did a grep and did not find any definition of the cauchyrand
>>> function anywhere, only the calls to use it in OOps/cmath.c.
>>>
>>> On Ubuntu I get the same error John emailed earlier about the
>>> spinlock:
>>>
>>> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -ffast- 
>>> math
>>> -Wno-format -DGNU_GETTEXT
>>> -I/usr/local/include/libcwiimote-0.4.0/libcwiimote -g
>>> -fomit-frame-pointer -freorder-blocks -fPIC -DLINUX -DPIPES -fPIC
>>> -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA -DUSE_DOUBLE - 
>>> DHAVE_SOCKETS
>>> -DINC_MP3 -DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT
>>> -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H
>>> -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H - 
>>> DHAVE_TERMIOS_H
>>> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH
>>> -I/usr/lib/jvm/java-1.5.0/include
>>> -I/usr/lib/jvm/java-1.5.0/include/linux -I/usr/local/include
>>> -I/usr/include -I/usr/include -I/usr/X11R6/include InOut/rtpa.c
>>> In file included from H/csdl.h:31:0,
>>>                from InOut/rtalsa.c:39:
>>> H/csoundCore.h:1062:5: error: expected specifier-qualifier-list  
>>> before
>>> ‘pthread_spinlock_t’
>>> InOut/rtalsa.c: In function ‘open_device’:
>>> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named
>>> ‘rtPlay_userdata’
>>> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named
>>> ‘rtRecord_userdata’
>>> InOut/rtalsa.c: In function ‘rtrecord_’:
>>> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named
>>> ‘rtRecord_userdata’
>>> InOut/rtalsa.c: In function ‘rtplay_’:
>>> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named
>>> ‘rtPlay_userdata’
>>> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
>>> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named ‘oparms’
>>>
>>> I'm building with buildMulticore=1 on OSX and without on Ubuntu.
>>>
>>> On Thu, May 19, 2011 at 2:45 PM, Victor Lazzarini
>>>  wrote:
>>>> yes, I am testing PaCS on OSX. It was not building for me, so that
>>>> was
>>>> me out of it yesterday. I only commented back in some code
>>>> that was already there.
>>>>
>>>> I  committed a change to SConstruct that defines
>>>> HAVE_PTHREAD_SPIN_LOCK on all platforms except for OSX. Maybe that
>>>> will
>>>> help you.
>>>>
>>>> Victor
>>>> On 19 May 2011, at 19:08, jpff@cs.bath.ac.uk wrote:
>>>>
>>>>>
>>>>> Well until it is fixed, and the git problenm, I am totally out of
>>>>> it. I
>>>>> have written the interpolating random opcodes but cannot push them
>>>>> or test
>>>>> them.
>>>>>
>>>>> If PARCS is not set it should not care about spinlocks at all.   
>>>>> Are
>>>>> you
>>>>> building with tht?
>>>>>
>>>>> ==John ff
>>>>>
>>>>>> It wasn't compiling on OSX, so I enabled some commented out  
>>>>>> code to
>>>>>> substitute spinlocks if these are not found in the installed
>>>>>> pthreads
>>>>>> library. If scons  adds the HAVE_PTHREAD_SPIN_LOCK token, it  
>>>>>> should
>>>>>> be
>>>>>> the same as before (see my comments in H/cs_par_base.h). There  
>>>>>> is a
>>>>>> check in SConstruct for it, but maybe it is not working (I can't
>>>>>> test).
>>>>>>
>>>>>> Victor
>>>>>>
>>>>>> On 19 May 2011, at 16:49, John ff wrote:
>>>>>>
>>>>>>> has made it fail to compile.  Something to do with spinlocks?
>>>>>>>
>>>>>>> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize - 
>>>>>>> ffast-
>>>>>>> math -Wno-format -DGNU_GETTEXT -I/usr/local/include/
>>>>>>> libcwiimote-0.4.0/libcwiimote -g -fomit-frame-pointer -freorder-
>>>>>>> blocks -fPIC -DLINUX -DPIPES -fPIC -DHAVE_LIBSNDFILE=1016 -
>>>>>>> DHAVE_FLTK -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS -DINC_MP3 -
>>>>>>> DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT -
>>>>>>> DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H -
>>>>>>> DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -
>>>>>>> DHAVE_TERMIOS_H
>>>>>>> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/ 
>>>>>>> lib/
>>>>>>> jvm/java-1.5.0/include -I/usr/lib/jvm/java-1.5.0/include/linux  
>>>>>>> -I/
>>>>>>> usr/local/include -I/usr/include -I/usr/include -I/usr/X11R6/
>>>>>>> include
>>>>>>> InOut/rtpa.c
>>>>>>> In file included from H/csdl.h:31:0,
>>>>>>>                from InOut/rtalsa.c:39:
>>>>>>> H/csoundCore.h:1062:5: error: expected specifier-qualifier-list
>>>>>>> before ‘pthread_spinlock_t’
>>>>>>> InOut/rtalsa.c: In function ‘open_device’:
>>>>>>> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named
>>>>>>> ‘rtPlay_userdata’
>>>>>>> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named
>>>>>>> ‘rtRecord_userdata’
>>>>>>> InOut/rtalsa.c: In function ‘rtrecord_’:
>>>>>>> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named
>>>>>>> ‘rtRecord_userdata’
>>>>>>> InOut/rtalsa.c: In function ‘rtplay_’:
>>>>>>> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named
>>>>>>> ‘rtPlay_userdata’
>>>>>>> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
>>>>>>> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named
>>>>>>> ‘oparms’
>>>>>>>
>>>>>>> ==John ffitch
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>> Read this article and learn how Intel has extended the reach of
>>>>>>> its
>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>> Fortran
>>>>>>> developers boost performance applications - including clusters.
>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>> NUI Maynooth Ireland
>>>>>> tel.: +353 1 708 3545
>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>> Read this article and learn how Intel has extended the reach of  
>>>>>> its
>>>>>> next-generation tools to help Windows* and Linux* C/C++ and  
>>>>>> Fortran
>>>>>> developers boost performance applications - including clusters.
>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>> Read this article and learn how Intel has extended the reach of  
>>>>> its
>>>>> next-generation tools to help Windows* and Linux* C/C++ and  
>>>>> Fortran
>>>>> developers boost performance applications - including clusters.
>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>> _______________________________________________
>>>>> 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
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> What Every C/C++ and Fortran developer Should Know!
>>>> Read this article and learn how Intel has extended the reach of its
>>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>>> developers boost performance applications - including clusters.
>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> What Every C/C++ and Fortran developer Should Know!
>>> Read this article and learn how Intel has extended the reach of its
>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>> developers boost performance applications - including clusters.
>>> http://p.sf.net/sfu/intel-dev2devmay
>>> _______________________________________________
>>> 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
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> What Every C/C++ and Fortran developer Should Know!
>> Read this article and learn how Intel has extended the reach of its
>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>> developers boost performance applications - including clusters.
>> http://p.sf.net/sfu/intel-dev2devmay
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> 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
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-19 22:25
FromVictor Lazzarini
SubjectRe: [Cs-dev] Recent change in src
I can integrate it now if you e-mail the code to me.

Victor
On 19 May 2011, at 22:13, jpff@cs.bath.ac.uk wrote:

> Steven
>
> Th ecauchyo stuff is all in the files OOps/cmath.c Engine/entry1.c
> H/entry1.h and H/cmath.h
>
> I couls mail them to you
>
> ==John ff
>
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> 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
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-19 22:25
FromSteven Yi
SubjectRe: [Cs-dev] Recent change in src
Yes, I have this commit downloaded already. When building, it's adding
-DHAVE_PTHREAD_SPIN_LOCK to the build, but it's failing as mentioned
earlier.  I'll have to investigate further, but at first glance it was
certainly strange.

On Thu, May 19, 2011 at 5:23 PM, Victor Lazzarini
 wrote:
> Well I committed a change to SConstruct to allow
> HAVE_PTHREAD_SPIN_LOCK to be defined. Here's the log
>
> coltrane:csound5-float victor$ git log
> commit aa1325adc952e22c8fe032024284f78cec18081c
> Merge: b2b72b4 f48b88f
> Author: Victor Lazzarini 
> Date:   Thu May 19 19:39:27 2011 +0100
>
>     Merge branch 'master' of ssh://csound.git.sourceforge.net/gitroot/csound/csound5
>
> commit b2b72b41fd1601e98df2346be5d4e4da3a6399e8
> Author: Victor Lazzarini 
> Date:   Thu May 19 19:38:37 2011 +0100
>
>     defining HAVE_PTHREAD_SPIN_LOCK on all platforms except OSX
>
>
> On 19 May 2011, at 22:00, Steven Yi wrote:
>
>> I just did a pull and got no new commits.  Retested and same error.
>> Using "scons useDouble=1".  csoundCore.h looks funny.  It #include's
>> pthread.h if PARCS is defined, but there is an #if
>> defined(HAVE_PTHREAD_SPIN_LOCK) that uses pthread_spinlock_t.  The
>> thing that's happening here is that without PARCS and
>> HAVE_PTHREAD_SPIN_LOCK, we get into this bad state.  csoundCore.h
>> didn't change in a while though, so I'm not sure what's going on.
>> (Also looks like sysdep.h is supposed to include pthread.h if
>> HAVE_PTHREAD_SPIN_LOCK is found, not sure what's going on).
>>
>> On Thu, May 19, 2011 at 4:22 PM, Victor Lazzarini
>>  wrote:
>>> The Ubuntu error is probably fixed now with my latest commit.
>>>
>>> On 19 May 2011, at 20:51, Steven Yi wrote:
>>>
>>>> I checked out latest and am getting some errors. On OSX, I get:
>>>>
>>>> Undefined symbols:
>>>>  "_cauchyrand", referenced from:
>>>>      _acauchyi in cmath.os
>>>>      _kcauchyi in cmath.os
>>>>      _cauchyiset in cmath.os
>>>>      _cauchyiset in cmath.os
>>>>      _icauchyi in cmath.os
>>>>      _icauchyi in cmath.os
>>>>      _icauchyi in cmath.os
>>>> ld: symbol(s) not found
>>>> collect2: ld returned 1 exit status
>>>> Undefined symbols:
>>>>  "_cauchyrand", referenced from:
>>>>      _acauchyi in cmath.os
>>>>      _kcauchyi in cmath.os
>>>>      _cauchyiset in cmath.os
>>>>      _cauchyiset in cmath.os
>>>>      _icauchyi in cmath.os
>>>>      _icauchyi in cmath.os
>>>>      _icauchyi in cmath.os
>>>>
>>>> I did a grep and did not find any definition of the cauchyrand
>>>> function anywhere, only the calls to use it in OOps/cmath.c.
>>>>
>>>> On Ubuntu I get the same error John emailed earlier about the
>>>> spinlock:
>>>>
>>>> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -ffast-
>>>> math
>>>> -Wno-format -DGNU_GETTEXT
>>>> -I/usr/local/include/libcwiimote-0.4.0/libcwiimote -g
>>>> -fomit-frame-pointer -freorder-blocks -fPIC -DLINUX -DPIPES -fPIC
>>>> -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA -DUSE_DOUBLE -
>>>> DHAVE_SOCKETS
>>>> -DINC_MP3 -DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT
>>>> -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H
>>>> -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -
>>>> DHAVE_TERMIOS_H
>>>> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH
>>>> -I/usr/lib/jvm/java-1.5.0/include
>>>> -I/usr/lib/jvm/java-1.5.0/include/linux -I/usr/local/include
>>>> -I/usr/include -I/usr/include -I/usr/X11R6/include InOut/rtpa.c
>>>> In file included from H/csdl.h:31:0,
>>>>                from InOut/rtalsa.c:39:
>>>> H/csoundCore.h:1062:5: error: expected specifier-qualifier-list
>>>> before
>>>> ‘pthread_spinlock_t’
>>>> InOut/rtalsa.c: In function ‘open_device’:
>>>> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named
>>>> ‘rtPlay_userdata’
>>>> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named
>>>> ‘rtRecord_userdata’
>>>> InOut/rtalsa.c: In function ‘rtrecord_’:
>>>> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named
>>>> ‘rtRecord_userdata’
>>>> InOut/rtalsa.c: In function ‘rtplay_’:
>>>> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named
>>>> ‘rtPlay_userdata’
>>>> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
>>>> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named ‘oparms’
>>>>
>>>> I'm building with buildMulticore=1 on OSX and without on Ubuntu.
>>>>
>>>> On Thu, May 19, 2011 at 2:45 PM, Victor Lazzarini
>>>>  wrote:
>>>>> yes, I am testing PaCS on OSX. It was not building for me, so that
>>>>> was
>>>>> me out of it yesterday. I only commented back in some code
>>>>> that was already there.
>>>>>
>>>>> I  committed a change to SConstruct that defines
>>>>> HAVE_PTHREAD_SPIN_LOCK on all platforms except for OSX. Maybe that
>>>>> will
>>>>> help you.
>>>>>
>>>>> Victor
>>>>> On 19 May 2011, at 19:08, jpff@cs.bath.ac.uk wrote:
>>>>>
>>>>>>
>>>>>> Well until it is fixed, and the git problenm, I am totally out of
>>>>>> it. I
>>>>>> have written the interpolating random opcodes but cannot push them
>>>>>> or test
>>>>>> them.
>>>>>>
>>>>>> If PARCS is not set it should not care about spinlocks at all.
>>>>>> Are
>>>>>> you
>>>>>> building with tht?
>>>>>>
>>>>>> ==John ff
>>>>>>
>>>>>>> It wasn't compiling on OSX, so I enabled some commented out
>>>>>>> code to
>>>>>>> substitute spinlocks if these are not found in the installed
>>>>>>> pthreads
>>>>>>> library. If scons  adds the HAVE_PTHREAD_SPIN_LOCK token, it
>>>>>>> should
>>>>>>> be
>>>>>>> the same as before (see my comments in H/cs_par_base.h). There
>>>>>>> is a
>>>>>>> check in SConstruct for it, but maybe it is not working (I can't
>>>>>>> test).
>>>>>>>
>>>>>>> Victor
>>>>>>>
>>>>>>> On 19 May 2011, at 16:49, John ff wrote:
>>>>>>>
>>>>>>>> has made it fail to compile.  Something to do with spinlocks?
>>>>>>>>
>>>>>>>> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -
>>>>>>>> ffast-
>>>>>>>> math -Wno-format -DGNU_GETTEXT -I/usr/local/include/
>>>>>>>> libcwiimote-0.4.0/libcwiimote -g -fomit-frame-pointer -freorder-
>>>>>>>> blocks -fPIC -DLINUX -DPIPES -fPIC -DHAVE_LIBSNDFILE=1016 -
>>>>>>>> DHAVE_FLTK -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS -DINC_MP3 -
>>>>>>>> DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT -
>>>>>>>> DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H -
>>>>>>>> DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -
>>>>>>>> DHAVE_TERMIOS_H
>>>>>>>> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/
>>>>>>>> lib/
>>>>>>>> jvm/java-1.5.0/include -I/usr/lib/jvm/java-1.5.0/include/linux
>>>>>>>> -I/
>>>>>>>> usr/local/include -I/usr/include -I/usr/include -I/usr/X11R6/
>>>>>>>> include
>>>>>>>> InOut/rtpa.c
>>>>>>>> In file included from H/csdl.h:31:0,
>>>>>>>>                from InOut/rtalsa.c:39:
>>>>>>>> H/csoundCore.h:1062:5: error: expected specifier-qualifier-list
>>>>>>>> before ‘pthread_spinlock_t’
>>>>>>>> InOut/rtalsa.c: In function ‘open_device’:
>>>>>>>> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named
>>>>>>>> ‘rtPlay_userdata’
>>>>>>>> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named
>>>>>>>> ‘rtRecord_userdata’
>>>>>>>> InOut/rtalsa.c: In function ‘rtrecord_’:
>>>>>>>> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named
>>>>>>>> ‘rtRecord_userdata’
>>>>>>>> InOut/rtalsa.c: In function ‘rtplay_’:
>>>>>>>> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named
>>>>>>>> ‘rtPlay_userdata’
>>>>>>>> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
>>>>>>>> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named
>>>>>>>> ‘oparms’
>>>>>>>>
>>>>>>>> ==John ffitch
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>>> Read this article and learn how Intel has extended the reach of
>>>>>>>> its
>>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>>> Fortran
>>>>>>>> developers boost performance applications - including clusters.
>>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>>> _______________________________________________
>>>>>>>> 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
>>>>>>> NUI Maynooth Ireland
>>>>>>> tel.: +353 1 708 3545
>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>> Read this article and learn how Intel has extended the reach of
>>>>>>> its
>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>> Fortran
>>>>>>> developers boost performance applications - including clusters.
>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>> Read this article and learn how Intel has extended the reach of
>>>>>> its
>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>> Fortran
>>>>>> developers boost performance applications - including clusters.
>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>> _______________________________________________
>>>>>> 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
>>>>> NUI Maynooth Ireland
>>>>> tel.: +353 1 708 3545
>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>> Read this article and learn how Intel has extended the reach of its
>>>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>>>> developers boost performance applications - including clusters.
>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> What Every C/C++ and Fortran developer Should Know!
>>>> Read this article and learn how Intel has extended the reach of its
>>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>>> developers boost performance applications - including clusters.
>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>> _______________________________________________
>>>> 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
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> What Every C/C++ and Fortran developer Should Know!
>>> Read this article and learn how Intel has extended the reach of its
>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>> developers boost performance applications - including clusters.
>>> http://p.sf.net/sfu/intel-dev2devmay
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> What Every C/C++ and Fortran developer Should Know!
>> Read this article and learn how Intel has extended the reach of its
>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>> developers boost performance applications - including clusters.
>> http://p.sf.net/sfu/intel-dev2devmay
>> _______________________________________________
>> 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
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-19 22:45
FromVictor Lazzarini
SubjectRe: [Cs-dev] Recent change in src
I think it might need commenting out line 34 etc of H/csoundCore.h

/*#ifdef PARCS*/
#include 
/*#endif*/


On 19 May 2011, at 22:25, Steven Yi wrote:

> Yes, I have this commit downloaded already. When building, it's adding
> -DHAVE_PTHREAD_SPIN_LOCK to the build, but it's failing as mentioned
> earlier.  I'll have to investigate further, but at first glance it was
> certainly strange.
>
> On Thu, May 19, 2011 at 5:23 PM, Victor Lazzarini
>  wrote:
>> Well I committed a change to SConstruct to allow
>> HAVE_PTHREAD_SPIN_LOCK to be defined. Here's the log
>>
>> coltrane:csound5-float victor$ git log
>> commit aa1325adc952e22c8fe032024284f78cec18081c
>> Merge: b2b72b4 f48b88f
>> Author: Victor Lazzarini 
>> Date:   Thu May 19 19:39:27 2011 +0100
>>
>>     Merge branch 'master' of ssh://csound.git.sourceforge.net/gitroot/csound/csound5
>>
>> commit b2b72b41fd1601e98df2346be5d4e4da3a6399e8
>> Author: Victor Lazzarini 
>> Date:   Thu May 19 19:38:37 2011 +0100
>>
>>     defining HAVE_PTHREAD_SPIN_LOCK on all platforms except OSX
>>
>>
>> On 19 May 2011, at 22:00, Steven Yi wrote:
>>
>>> I just did a pull and got no new commits.  Retested and same error.
>>> Using "scons useDouble=1".  csoundCore.h looks funny.  It #include's
>>> pthread.h if PARCS is defined, but there is an #if
>>> defined(HAVE_PTHREAD_SPIN_LOCK) that uses pthread_spinlock_t.  The
>>> thing that's happening here is that without PARCS and
>>> HAVE_PTHREAD_SPIN_LOCK, we get into this bad state.  csoundCore.h
>>> didn't change in a while though, so I'm not sure what's going on.
>>> (Also looks like sysdep.h is supposed to include pthread.h if
>>> HAVE_PTHREAD_SPIN_LOCK is found, not sure what's going on).
>>>
>>> On Thu, May 19, 2011 at 4:22 PM, Victor Lazzarini
>>>  wrote:
>>>> The Ubuntu error is probably fixed now with my latest commit.
>>>>
>>>> On 19 May 2011, at 20:51, Steven Yi wrote:
>>>>
>>>>> I checked out latest and am getting some errors. On OSX, I get:
>>>>>
>>>>> Undefined symbols:
>>>>>  "_cauchyrand", referenced from:
>>>>>      _acauchyi in cmath.os
>>>>>      _kcauchyi in cmath.os
>>>>>      _cauchyiset in cmath.os
>>>>>      _cauchyiset in cmath.os
>>>>>      _icauchyi in cmath.os
>>>>>      _icauchyi in cmath.os
>>>>>      _icauchyi in cmath.os
>>>>> ld: symbol(s) not found
>>>>> collect2: ld returned 1 exit status
>>>>> Undefined symbols:
>>>>>  "_cauchyrand", referenced from:
>>>>>      _acauchyi in cmath.os
>>>>>      _kcauchyi in cmath.os
>>>>>      _cauchyiset in cmath.os
>>>>>      _cauchyiset in cmath.os
>>>>>      _icauchyi in cmath.os
>>>>>      _icauchyi in cmath.os
>>>>>      _icauchyi in cmath.os
>>>>>
>>>>> I did a grep and did not find any definition of the cauchyrand
>>>>> function anywhere, only the calls to use it in OOps/cmath.c.
>>>>>
>>>>> On Ubuntu I get the same error John emailed earlier about the
>>>>> spinlock:
>>>>>
>>>>> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -ffast-
>>>>> math
>>>>> -Wno-format -DGNU_GETTEXT
>>>>> -I/usr/local/include/libcwiimote-0.4.0/libcwiimote -g
>>>>> -fomit-frame-pointer -freorder-blocks -fPIC -DLINUX -DPIPES -fPIC
>>>>> -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA -DUSE_DOUBLE -
>>>>> DHAVE_SOCKETS
>>>>> -DINC_MP3 -DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT
>>>>> -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H
>>>>> -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -
>>>>> DHAVE_TERMIOS_H
>>>>> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH
>>>>> -I/usr/lib/jvm/java-1.5.0/include
>>>>> -I/usr/lib/jvm/java-1.5.0/include/linux -I/usr/local/include
>>>>> -I/usr/include -I/usr/include -I/usr/X11R6/include InOut/rtpa.c
>>>>> In file included from H/csdl.h:31:0,
>>>>>                from InOut/rtalsa.c:39:
>>>>> H/csoundCore.h:1062:5: error: expected specifier-qualifier-list
>>>>> before
>>>>> ‘pthread_spinlock_t’
>>>>> InOut/rtalsa.c: In function ‘open_device’:
>>>>> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named
>>>>> ‘rtPlay_userdata’
>>>>> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named
>>>>> ‘rtRecord_userdata’
>>>>> InOut/rtalsa.c: In function ‘rtrecord_’:
>>>>> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named
>>>>> ‘rtRecord_userdata’
>>>>> InOut/rtalsa.c: In function ‘rtplay_’:
>>>>> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named
>>>>> ‘rtPlay_userdata’
>>>>> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
>>>>> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named  
>>>>> ‘oparms’
>>>>>
>>>>> I'm building with buildMulticore=1 on OSX and without on Ubuntu.
>>>>>
>>>>> On Thu, May 19, 2011 at 2:45 PM, Victor Lazzarini
>>>>>  wrote:
>>>>>> yes, I am testing PaCS on OSX. It was not building for me, so  
>>>>>> that
>>>>>> was
>>>>>> me out of it yesterday. I only commented back in some code
>>>>>> that was already there.
>>>>>>
>>>>>> I  committed a change to SConstruct that defines
>>>>>> HAVE_PTHREAD_SPIN_LOCK on all platforms except for OSX. Maybe  
>>>>>> that
>>>>>> will
>>>>>> help you.
>>>>>>
>>>>>> Victor
>>>>>> On 19 May 2011, at 19:08, jpff@cs.bath.ac.uk wrote:
>>>>>>
>>>>>>>
>>>>>>> Well until it is fixed, and the git problenm, I am totally out  
>>>>>>> of
>>>>>>> it. I
>>>>>>> have written the interpolating random opcodes but cannot push  
>>>>>>> them
>>>>>>> or test
>>>>>>> them.
>>>>>>>
>>>>>>> If PARCS is not set it should not care about spinlocks at all.
>>>>>>> Are
>>>>>>> you
>>>>>>> building with tht?
>>>>>>>
>>>>>>> ==John ff
>>>>>>>
>>>>>>>> It wasn't compiling on OSX, so I enabled some commented out
>>>>>>>> code to
>>>>>>>> substitute spinlocks if these are not found in the installed
>>>>>>>> pthreads
>>>>>>>> library. If scons  adds the HAVE_PTHREAD_SPIN_LOCK token, it
>>>>>>>> should
>>>>>>>> be
>>>>>>>> the same as before (see my comments in H/cs_par_base.h). There
>>>>>>>> is a
>>>>>>>> check in SConstruct for it, but maybe it is not working (I  
>>>>>>>> can't
>>>>>>>> test).
>>>>>>>>
>>>>>>>> Victor
>>>>>>>>
>>>>>>>> On 19 May 2011, at 16:49, John ff wrote:
>>>>>>>>
>>>>>>>>> has made it fail to compile.  Something to do with spinlocks?
>>>>>>>>>
>>>>>>>>> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -
>>>>>>>>> ffast-
>>>>>>>>> math -Wno-format -DGNU_GETTEXT -I/usr/local/include/
>>>>>>>>> libcwiimote-0.4.0/libcwiimote -g -fomit-frame-pointer - 
>>>>>>>>> freorder-
>>>>>>>>> blocks -fPIC -DLINUX -DPIPES -fPIC -DHAVE_LIBSNDFILE=1016 -
>>>>>>>>> DHAVE_FLTK -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS -DINC_MP3 -
>>>>>>>>> DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT -
>>>>>>>>> DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H -
>>>>>>>>> DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -
>>>>>>>>> DHAVE_TERMIOS_H
>>>>>>>>> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/
>>>>>>>>> lib/
>>>>>>>>> jvm/java-1.5.0/include -I/usr/lib/jvm/java-1.5.0/include/linux
>>>>>>>>> -I/
>>>>>>>>> usr/local/include -I/usr/include -I/usr/include -I/usr/X11R6/
>>>>>>>>> include
>>>>>>>>> InOut/rtpa.c
>>>>>>>>> In file included from H/csdl.h:31:0,
>>>>>>>>>                from InOut/rtalsa.c:39:
>>>>>>>>> H/csoundCore.h:1062:5: error: expected specifier-qualifier- 
>>>>>>>>> list
>>>>>>>>> before ‘pthread_spinlock_t’
>>>>>>>>> InOut/rtalsa.c: In function ‘open_device’:
>>>>>>>>> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named
>>>>>>>>> ‘rtPlay_userdata’
>>>>>>>>> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named
>>>>>>>>> ‘rtRecord_userdata’
>>>>>>>>> InOut/rtalsa.c: In function ‘rtrecord_’:
>>>>>>>>> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named
>>>>>>>>> ‘rtRecord_userdata’
>>>>>>>>> InOut/rtalsa.c: In function ‘rtplay_’:
>>>>>>>>> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named
>>>>>>>>> ‘rtPlay_userdata’
>>>>>>>>> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
>>>>>>>>> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named
>>>>>>>>> ‘oparms’
>>>>>>>>>
>>>>>>>>> ==John ffitch
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>>>> Read this article and learn how Intel has extended the reach  
>>>>>>>>> of
>>>>>>>>> its
>>>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>>>> Fortran
>>>>>>>>> developers boost performance applications - including  
>>>>>>>>> clusters.
>>>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>>>> _______________________________________________
>>>>>>>>> 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
>>>>>>>> NUI Maynooth Ireland
>>>>>>>> tel.: +353 1 708 3545
>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>>> Read this article and learn how Intel has extended the reach of
>>>>>>>> its
>>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>>> Fortran
>>>>>>>> developers boost performance applications - including clusters.
>>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>> Read this article and learn how Intel has extended the reach of
>>>>>>> its
>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>> Fortran
>>>>>>> developers boost performance applications - including clusters.
>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>> NUI Maynooth Ireland
>>>>>> tel.: +353 1 708 3545
>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>> Read this article and learn how Intel has extended the reach of  
>>>>>> its
>>>>>> next-generation tools to help Windows* and Linux* C/C++ and  
>>>>>> Fortran
>>>>>> developers boost performance applications - including clusters.
>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>> Read this article and learn how Intel has extended the reach of  
>>>>> its
>>>>> next-generation tools to help Windows* and Linux* C/C++ and  
>>>>> Fortran
>>>>> developers boost performance applications - including clusters.
>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>> _______________________________________________
>>>>> 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
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> What Every C/C++ and Fortran developer Should Know!
>>>> Read this article and learn how Intel has extended the reach of its
>>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>>> developers boost performance applications - including clusters.
>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> What Every C/C++ and Fortran developer Should Know!
>>> Read this article and learn how Intel has extended the reach of its
>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>> developers boost performance applications - including clusters.
>>> http://p.sf.net/sfu/intel-dev2devmay
>>> _______________________________________________
>>> 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
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> What Every C/C++ and Fortran developer Should Know!
>> Read this article and learn how Intel has extended the reach of its
>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>> developers boost performance applications - including clusters.
>> http://p.sf.net/sfu/intel-dev2devmay
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> 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
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-19 22:51
FromVictor Lazzarini
SubjectRe: [Cs-dev] Recent change in src
or instead possibly changing line 1061 to

#if defined(HAVE_PTHREAD_SPIN_LOCK) && defined(PARCS)
     pthread_spinlock_t spoutlock, spinlock;
#else
     int           spoutlock, spinlock;
#endif

and line 1098 to

#if defined(HAVE_PTHREAD_SPIN_LOCK) && defined(PARCS)
     pthread_spinlock_t memlock;
#else
     int           memlock;
#endif




On 19 May 2011, at 22:45, Victor Lazzarini wrote:

> I think it might need commenting out line 34 etc of H/csoundCore.h
>
> /*#ifdef PARCS*/
> #include 
> /*#endif*/
>
>
> On 19 May 2011, at 22:25, Steven Yi wrote:
>
>> Yes, I have this commit downloaded already. When building, it's  
>> adding
>> -DHAVE_PTHREAD_SPIN_LOCK to the build, but it's failing as mentioned
>> earlier.  I'll have to investigate further, but at first glance it  
>> was
>> certainly strange.
>>
>> On Thu, May 19, 2011 at 5:23 PM, Victor Lazzarini
>>  wrote:
>>> Well I committed a change to SConstruct to allow
>>> HAVE_PTHREAD_SPIN_LOCK to be defined. Here's the log
>>>
>>> coltrane:csound5-float victor$ git log
>>> commit aa1325adc952e22c8fe032024284f78cec18081c
>>> Merge: b2b72b4 f48b88f
>>> Author: Victor Lazzarini 
>>> Date:   Thu May 19 19:39:27 2011 +0100
>>>
>>>    Merge branch 'master' of ssh://csound.git.sourceforge.net/gitroot/csound/csound5
>>>
>>> commit b2b72b41fd1601e98df2346be5d4e4da3a6399e8
>>> Author: Victor Lazzarini 
>>> Date:   Thu May 19 19:38:37 2011 +0100
>>>
>>>    defining HAVE_PTHREAD_SPIN_LOCK on all platforms except OSX
>>>
>>>
>>> On 19 May 2011, at 22:00, Steven Yi wrote:
>>>
>>>> I just did a pull and got no new commits.  Retested and same error.
>>>> Using "scons useDouble=1".  csoundCore.h looks funny.  It  
>>>> #include's
>>>> pthread.h if PARCS is defined, but there is an #if
>>>> defined(HAVE_PTHREAD_SPIN_LOCK) that uses pthread_spinlock_t.  The
>>>> thing that's happening here is that without PARCS and
>>>> HAVE_PTHREAD_SPIN_LOCK, we get into this bad state.  csoundCore.h
>>>> didn't change in a while though, so I'm not sure what's going on.
>>>> (Also looks like sysdep.h is supposed to include pthread.h if
>>>> HAVE_PTHREAD_SPIN_LOCK is found, not sure what's going on).
>>>>
>>>> On Thu, May 19, 2011 at 4:22 PM, Victor Lazzarini
>>>>  wrote:
>>>>> The Ubuntu error is probably fixed now with my latest commit.
>>>>>
>>>>> On 19 May 2011, at 20:51, Steven Yi wrote:
>>>>>
>>>>>> I checked out latest and am getting some errors. On OSX, I get:
>>>>>>
>>>>>> Undefined symbols:
>>>>>> "_cauchyrand", referenced from:
>>>>>>     _acauchyi in cmath.os
>>>>>>     _kcauchyi in cmath.os
>>>>>>     _cauchyiset in cmath.os
>>>>>>     _cauchyiset in cmath.os
>>>>>>     _icauchyi in cmath.os
>>>>>>     _icauchyi in cmath.os
>>>>>>     _icauchyi in cmath.os
>>>>>> ld: symbol(s) not found
>>>>>> collect2: ld returned 1 exit status
>>>>>> Undefined symbols:
>>>>>> "_cauchyrand", referenced from:
>>>>>>     _acauchyi in cmath.os
>>>>>>     _kcauchyi in cmath.os
>>>>>>     _cauchyiset in cmath.os
>>>>>>     _cauchyiset in cmath.os
>>>>>>     _icauchyi in cmath.os
>>>>>>     _icauchyi in cmath.os
>>>>>>     _icauchyi in cmath.os
>>>>>>
>>>>>> I did a grep and did not find any definition of the cauchyrand
>>>>>> function anywhere, only the calls to use it in OOps/cmath.c.
>>>>>>
>>>>>> On Ubuntu I get the same error John emailed earlier about the
>>>>>> spinlock:
>>>>>>
>>>>>> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -ffast-
>>>>>> math
>>>>>> -Wno-format -DGNU_GETTEXT
>>>>>> -I/usr/local/include/libcwiimote-0.4.0/libcwiimote -g
>>>>>> -fomit-frame-pointer -freorder-blocks -fPIC -DLINUX -DPIPES -fPIC
>>>>>> -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA -DUSE_DOUBLE -
>>>>>> DHAVE_SOCKETS
>>>>>> -DINC_MP3 -DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT
>>>>>> -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H
>>>>>> -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -
>>>>>> DHAVE_TERMIOS_H
>>>>>> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH
>>>>>> -I/usr/lib/jvm/java-1.5.0/include
>>>>>> -I/usr/lib/jvm/java-1.5.0/include/linux -I/usr/local/include
>>>>>> -I/usr/include -I/usr/include -I/usr/X11R6/include InOut/rtpa.c
>>>>>> In file included from H/csdl.h:31:0,
>>>>>>               from InOut/rtalsa.c:39:
>>>>>> H/csoundCore.h:1062:5: error: expected specifier-qualifier-list
>>>>>> before
>>>>>> ‘pthread_spinlock_t’
>>>>>> InOut/rtalsa.c: In function ‘open_device’:
>>>>>> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named
>>>>>> ‘rtPlay_userdata’
>>>>>> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named
>>>>>> ‘rtRecord_userdata’
>>>>>> InOut/rtalsa.c: In function ‘rtrecord_’:
>>>>>> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named
>>>>>> ‘rtRecord_userdata’
>>>>>> InOut/rtalsa.c: In function ‘rtplay_’:
>>>>>> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named
>>>>>> ‘rtPlay_userdata’
>>>>>> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
>>>>>> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named
>>>>>> ‘oparms’
>>>>>>
>>>>>> I'm building with buildMulticore=1 on OSX and without on Ubuntu.
>>>>>>
>>>>>> On Thu, May 19, 2011 at 2:45 PM, Victor Lazzarini
>>>>>>  wrote:
>>>>>>> yes, I am testing PaCS on OSX. It was not building for me, so
>>>>>>> that
>>>>>>> was
>>>>>>> me out of it yesterday. I only commented back in some code
>>>>>>> that was already there.
>>>>>>>
>>>>>>> I  committed a change to SConstruct that defines
>>>>>>> HAVE_PTHREAD_SPIN_LOCK on all platforms except for OSX. Maybe
>>>>>>> that
>>>>>>> will
>>>>>>> help you.
>>>>>>>
>>>>>>> Victor
>>>>>>> On 19 May 2011, at 19:08, jpff@cs.bath.ac.uk wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> Well until it is fixed, and the git problenm, I am totally out
>>>>>>>> of
>>>>>>>> it. I
>>>>>>>> have written the interpolating random opcodes but cannot push
>>>>>>>> them
>>>>>>>> or test
>>>>>>>> them.
>>>>>>>>
>>>>>>>> If PARCS is not set it should not care about spinlocks at all.
>>>>>>>> Are
>>>>>>>> you
>>>>>>>> building with tht?
>>>>>>>>
>>>>>>>> ==John ff
>>>>>>>>
>>>>>>>>> It wasn't compiling on OSX, so I enabled some commented out
>>>>>>>>> code to
>>>>>>>>> substitute spinlocks if these are not found in the installed
>>>>>>>>> pthreads
>>>>>>>>> library. If scons  adds the HAVE_PTHREAD_SPIN_LOCK token, it
>>>>>>>>> should
>>>>>>>>> be
>>>>>>>>> the same as before (see my comments in H/cs_par_base.h). There
>>>>>>>>> is a
>>>>>>>>> check in SConstruct for it, but maybe it is not working (I
>>>>>>>>> can't
>>>>>>>>> test).
>>>>>>>>>
>>>>>>>>> Victor
>>>>>>>>>
>>>>>>>>> On 19 May 2011, at 16:49, John ff wrote:
>>>>>>>>>
>>>>>>>>>> has made it fail to compile.  Something to do with spinlocks?
>>>>>>>>>>
>>>>>>>>>> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -
>>>>>>>>>> ffast-
>>>>>>>>>> math -Wno-format -DGNU_GETTEXT -I/usr/local/include/
>>>>>>>>>> libcwiimote-0.4.0/libcwiimote -g -fomit-frame-pointer -
>>>>>>>>>> freorder-
>>>>>>>>>> blocks -fPIC -DLINUX -DPIPES -fPIC -DHAVE_LIBSNDFILE=1016 -
>>>>>>>>>> DHAVE_FLTK -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS -DINC_MP3 -
>>>>>>>>>> DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT -
>>>>>>>>>> DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H -
>>>>>>>>>> DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -
>>>>>>>>>> DHAVE_TERMIOS_H
>>>>>>>>>> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/ 
>>>>>>>>>> usr/
>>>>>>>>>> lib/
>>>>>>>>>> jvm/java-1.5.0/include -I/usr/lib/jvm/java-1.5.0/include/ 
>>>>>>>>>> linux
>>>>>>>>>> -I/
>>>>>>>>>> usr/local/include -I/usr/include -I/usr/include -I/usr/X11R6/
>>>>>>>>>> include
>>>>>>>>>> InOut/rtpa.c
>>>>>>>>>> In file included from H/csdl.h:31:0,
>>>>>>>>>>               from InOut/rtalsa.c:39:
>>>>>>>>>> H/csoundCore.h:1062:5: error: expected specifier-qualifier-
>>>>>>>>>> list
>>>>>>>>>> before ‘pthread_spinlock_t’
>>>>>>>>>> InOut/rtalsa.c: In function ‘open_device’:
>>>>>>>>>> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named
>>>>>>>>>> ‘rtPlay_userdata’
>>>>>>>>>> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named
>>>>>>>>>> ‘rtRecord_userdata’
>>>>>>>>>> InOut/rtalsa.c: In function ‘rtrecord_’:
>>>>>>>>>> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named
>>>>>>>>>> ‘rtRecord_userdata’
>>>>>>>>>> InOut/rtalsa.c: In function ‘rtplay_’:
>>>>>>>>>> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named
>>>>>>>>>> ‘rtPlay_userdata’
>>>>>>>>>> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
>>>>>>>>>> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named
>>>>>>>>>> ‘oparms’
>>>>>>>>>>
>>>>>>>>>> ==John ffitch
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>>>>> Read this article and learn how Intel has extended the reach
>>>>>>>>>> of
>>>>>>>>>> its
>>>>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>>>>> Fortran
>>>>>>>>>> developers boost performance applications - including
>>>>>>>>>> clusters.
>>>>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>>>>> _______________________________________________
>>>>>>>>>> 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
>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>>>> Read this article and learn how Intel has extended the reach  
>>>>>>>>> of
>>>>>>>>> its
>>>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>>>> Fortran
>>>>>>>>> developers boost performance applications - including  
>>>>>>>>> clusters.
>>>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>>> Read this article and learn how Intel has extended the reach of
>>>>>>>> its
>>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>>> Fortran
>>>>>>>> developers boost performance applications - including clusters.
>>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>>> _______________________________________________
>>>>>>>> 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
>>>>>>> NUI Maynooth Ireland
>>>>>>> tel.: +353 1 708 3545
>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>> Read this article and learn how Intel has extended the reach of
>>>>>>> its
>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>> Fortran
>>>>>>> developers boost performance applications - including clusters.
>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>> Read this article and learn how Intel has extended the reach of
>>>>>> its
>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>> Fortran
>>>>>> developers boost performance applications - including clusters.
>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>> _______________________________________________
>>>>>> 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
>>>>> NUI Maynooth Ireland
>>>>> tel.: +353 1 708 3545
>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>> Read this article and learn how Intel has extended the reach of  
>>>>> its
>>>>> next-generation tools to help Windows* and Linux* C/C++ and  
>>>>> Fortran
>>>>> developers boost performance applications - including clusters.
>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> What Every C/C++ and Fortran developer Should Know!
>>>> Read this article and learn how Intel has extended the reach of its
>>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>>> developers boost performance applications - including clusters.
>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>> _______________________________________________
>>>> 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
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> What Every C/C++ and Fortran developer Should Know!
>>> Read this article and learn how Intel has extended the reach of its
>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>> developers boost performance applications - including clusters.
>>> http://p.sf.net/sfu/intel-dev2devmay
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> What Every C/C++ and Fortran developer Should Know!
>> Read this article and learn how Intel has extended the reach of its
>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>> developers boost performance applications - including clusters.
>> http://p.sf.net/sfu/intel-dev2devmay
>> _______________________________________________
>> 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
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> 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
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-19 23:14
FromVictor Lazzarini
SubjectRe: [Cs-dev] Recent change in src
OK, I opted for this fix and committed it. Also fixed the misspelling  
of cauchrand() calls in cmath.c

Victor
On 19 May 2011, at 22:51, Victor Lazzarini wrote:

> or instead possibly changing line 1061 to
>
> #if defined(HAVE_PTHREAD_SPIN_LOCK) && defined(PARCS)
>     pthread_spinlock_t spoutlock, spinlock;
> #else
>     int           spoutlock, spinlock;
> #endif
>
> and line 1098 to
>
> #if defined(HAVE_PTHREAD_SPIN_LOCK) && defined(PARCS)
>     pthread_spinlock_t memlock;
> #else
>     int           memlock;
> #endif
>
>
>
>
> On 19 May 2011, at 22:45, Victor Lazzarini wrote:
>
>> I think it might need commenting out line 34 etc of H/csoundCore.h
>>
>> /*#ifdef PARCS*/
>> #include 
>> /*#endif*/
>>
>>
>> On 19 May 2011, at 22:25, Steven Yi wrote:
>>
>>> Yes, I have this commit downloaded already. When building, it's
>>> adding
>>> -DHAVE_PTHREAD_SPIN_LOCK to the build, but it's failing as mentioned
>>> earlier.  I'll have to investigate further, but at first glance it
>>> was
>>> certainly strange.
>>>
>>> On Thu, May 19, 2011 at 5:23 PM, Victor Lazzarini
>>>  wrote:
>>>> Well I committed a change to SConstruct to allow
>>>> HAVE_PTHREAD_SPIN_LOCK to be defined. Here's the log
>>>>
>>>> coltrane:csound5-float victor$ git log
>>>> commit aa1325adc952e22c8fe032024284f78cec18081c
>>>> Merge: b2b72b4 f48b88f
>>>> Author: Victor Lazzarini 
>>>> Date:   Thu May 19 19:39:27 2011 +0100
>>>>
>>>>   Merge branch 'master' of ssh://csound.git.sourceforge.net/gitroot/csound/csound5
>>>>
>>>> commit b2b72b41fd1601e98df2346be5d4e4da3a6399e8
>>>> Author: Victor Lazzarini 
>>>> Date:   Thu May 19 19:38:37 2011 +0100
>>>>
>>>>   defining HAVE_PTHREAD_SPIN_LOCK on all platforms except OSX
>>>>
>>>>
>>>> On 19 May 2011, at 22:00, Steven Yi wrote:
>>>>
>>>>> I just did a pull and got no new commits.  Retested and same  
>>>>> error.
>>>>> Using "scons useDouble=1".  csoundCore.h looks funny.  It
>>>>> #include's
>>>>> pthread.h if PARCS is defined, but there is an #if
>>>>> defined(HAVE_PTHREAD_SPIN_LOCK) that uses pthread_spinlock_t.  The
>>>>> thing that's happening here is that without PARCS and
>>>>> HAVE_PTHREAD_SPIN_LOCK, we get into this bad state.  csoundCore.h
>>>>> didn't change in a while though, so I'm not sure what's going on.
>>>>> (Also looks like sysdep.h is supposed to include pthread.h if
>>>>> HAVE_PTHREAD_SPIN_LOCK is found, not sure what's going on).
>>>>>
>>>>> On Thu, May 19, 2011 at 4:22 PM, Victor Lazzarini
>>>>>  wrote:
>>>>>> The Ubuntu error is probably fixed now with my latest commit.
>>>>>>
>>>>>> On 19 May 2011, at 20:51, Steven Yi wrote:
>>>>>>
>>>>>>> I checked out latest and am getting some errors. On OSX, I get:
>>>>>>>
>>>>>>> Undefined symbols:
>>>>>>> "_cauchyrand", referenced from:
>>>>>>>    _acauchyi in cmath.os
>>>>>>>    _kcauchyi in cmath.os
>>>>>>>    _cauchyiset in cmath.os
>>>>>>>    _cauchyiset in cmath.os
>>>>>>>    _icauchyi in cmath.os
>>>>>>>    _icauchyi in cmath.os
>>>>>>>    _icauchyi in cmath.os
>>>>>>> ld: symbol(s) not found
>>>>>>> collect2: ld returned 1 exit status
>>>>>>> Undefined symbols:
>>>>>>> "_cauchyrand", referenced from:
>>>>>>>    _acauchyi in cmath.os
>>>>>>>    _kcauchyi in cmath.os
>>>>>>>    _cauchyiset in cmath.os
>>>>>>>    _cauchyiset in cmath.os
>>>>>>>    _icauchyi in cmath.os
>>>>>>>    _icauchyi in cmath.os
>>>>>>>    _icauchyi in cmath.os
>>>>>>>
>>>>>>> I did a grep and did not find any definition of the cauchyrand
>>>>>>> function anywhere, only the calls to use it in OOps/cmath.c.
>>>>>>>
>>>>>>> On Ubuntu I get the same error John emailed earlier about the
>>>>>>> spinlock:
>>>>>>>
>>>>>>> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize - 
>>>>>>> ffast-
>>>>>>> math
>>>>>>> -Wno-format -DGNU_GETTEXT
>>>>>>> -I/usr/local/include/libcwiimote-0.4.0/libcwiimote -g
>>>>>>> -fomit-frame-pointer -freorder-blocks -fPIC -DLINUX -DPIPES - 
>>>>>>> fPIC
>>>>>>> -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA -DUSE_DOUBLE -
>>>>>>> DHAVE_SOCKETS
>>>>>>> -DINC_MP3 -DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT
>>>>>>> -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H
>>>>>>> -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -
>>>>>>> DHAVE_TERMIOS_H
>>>>>>> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH
>>>>>>> -I/usr/lib/jvm/java-1.5.0/include
>>>>>>> -I/usr/lib/jvm/java-1.5.0/include/linux -I/usr/local/include
>>>>>>> -I/usr/include -I/usr/include -I/usr/X11R6/include InOut/rtpa.c
>>>>>>> In file included from H/csdl.h:31:0,
>>>>>>>              from InOut/rtalsa.c:39:
>>>>>>> H/csoundCore.h:1062:5: error: expected specifier-qualifier-list
>>>>>>> before
>>>>>>> ‘pthread_spinlock_t’
>>>>>>> InOut/rtalsa.c: In function ‘open_device’:
>>>>>>> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named
>>>>>>> ‘rtPlay_userdata’
>>>>>>> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named
>>>>>>> ‘rtRecord_userdata’
>>>>>>> InOut/rtalsa.c: In function ‘rtrecord_’:
>>>>>>> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named
>>>>>>> ‘rtRecord_userdata’
>>>>>>> InOut/rtalsa.c: In function ‘rtplay_’:
>>>>>>> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named
>>>>>>> ‘rtPlay_userdata’
>>>>>>> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
>>>>>>> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named
>>>>>>> ‘oparms’
>>>>>>>
>>>>>>> I'm building with buildMulticore=1 on OSX and without on Ubuntu.
>>>>>>>
>>>>>>> On Thu, May 19, 2011 at 2:45 PM, Victor Lazzarini
>>>>>>>  wrote:
>>>>>>>> yes, I am testing PaCS on OSX. It was not building for me, so
>>>>>>>> that
>>>>>>>> was
>>>>>>>> me out of it yesterday. I only commented back in some code
>>>>>>>> that was already there.
>>>>>>>>
>>>>>>>> I  committed a change to SConstruct that defines
>>>>>>>> HAVE_PTHREAD_SPIN_LOCK on all platforms except for OSX. Maybe
>>>>>>>> that
>>>>>>>> will
>>>>>>>> help you.
>>>>>>>>
>>>>>>>> Victor
>>>>>>>> On 19 May 2011, at 19:08, jpff@cs.bath.ac.uk wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>> Well until it is fixed, and the git problenm, I am totally out
>>>>>>>>> of
>>>>>>>>> it. I
>>>>>>>>> have written the interpolating random opcodes but cannot push
>>>>>>>>> them
>>>>>>>>> or test
>>>>>>>>> them.
>>>>>>>>>
>>>>>>>>> If PARCS is not set it should not care about spinlocks at all.
>>>>>>>>> Are
>>>>>>>>> you
>>>>>>>>> building with tht?
>>>>>>>>>
>>>>>>>>> ==John ff
>>>>>>>>>
>>>>>>>>>> It wasn't compiling on OSX, so I enabled some commented out
>>>>>>>>>> code to
>>>>>>>>>> substitute spinlocks if these are not found in the installed
>>>>>>>>>> pthreads
>>>>>>>>>> library. If scons  adds the HAVE_PTHREAD_SPIN_LOCK token, it
>>>>>>>>>> should
>>>>>>>>>> be
>>>>>>>>>> the same as before (see my comments in H/cs_par_base.h).  
>>>>>>>>>> There
>>>>>>>>>> is a
>>>>>>>>>> check in SConstruct for it, but maybe it is not working (I
>>>>>>>>>> can't
>>>>>>>>>> test).
>>>>>>>>>>
>>>>>>>>>> Victor
>>>>>>>>>>
>>>>>>>>>> On 19 May 2011, at 16:49, John ff wrote:
>>>>>>>>>>
>>>>>>>>>>> has made it fail to compile.  Something to do with  
>>>>>>>>>>> spinlocks?
>>>>>>>>>>>
>>>>>>>>>>> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -
>>>>>>>>>>> ffast-
>>>>>>>>>>> math -Wno-format -DGNU_GETTEXT -I/usr/local/include/
>>>>>>>>>>> libcwiimote-0.4.0/libcwiimote -g -fomit-frame-pointer -
>>>>>>>>>>> freorder-
>>>>>>>>>>> blocks -fPIC -DLINUX -DPIPES -fPIC -DHAVE_LIBSNDFILE=1016 -
>>>>>>>>>>> DHAVE_FLTK -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS -DINC_MP3 -
>>>>>>>>>>> DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT -
>>>>>>>>>>> DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H - 
>>>>>>>>>>> DHAVE_UNISTD_H -
>>>>>>>>>>> DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -
>>>>>>>>>>> DHAVE_TERMIOS_H
>>>>>>>>>>> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/
>>>>>>>>>>> usr/
>>>>>>>>>>> lib/
>>>>>>>>>>> jvm/java-1.5.0/include -I/usr/lib/jvm/java-1.5.0/include/
>>>>>>>>>>> linux
>>>>>>>>>>> -I/
>>>>>>>>>>> usr/local/include -I/usr/include -I/usr/include -I/usr/ 
>>>>>>>>>>> X11R6/
>>>>>>>>>>> include
>>>>>>>>>>> InOut/rtpa.c
>>>>>>>>>>> In file included from H/csdl.h:31:0,
>>>>>>>>>>>              from InOut/rtalsa.c:39:
>>>>>>>>>>> H/csoundCore.h:1062:5: error: expected specifier-qualifier-
>>>>>>>>>>> list
>>>>>>>>>>> before ‘pthread_spinlock_t’
>>>>>>>>>>> InOut/rtalsa.c: In function ‘open_device’:
>>>>>>>>>>> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named
>>>>>>>>>>> ‘rtPlay_userdata’
>>>>>>>>>>> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named
>>>>>>>>>>> ‘rtRecord_userdata’
>>>>>>>>>>> InOut/rtalsa.c: In function ‘rtrecord_’:
>>>>>>>>>>> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named
>>>>>>>>>>> ‘rtRecord_userdata’
>>>>>>>>>>> InOut/rtalsa.c: In function ‘rtplay_’:
>>>>>>>>>>> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named
>>>>>>>>>>> ‘rtPlay_userdata’
>>>>>>>>>>> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
>>>>>>>>>>> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named
>>>>>>>>>>> ‘oparms’
>>>>>>>>>>>
>>>>>>>>>>> ==John ffitch
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>>>>>> Read this article and learn how Intel has extended the reach
>>>>>>>>>>> of
>>>>>>>>>>> its
>>>>>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>>>>>> Fortran
>>>>>>>>>>> developers boost performance applications - including
>>>>>>>>>>> clusters.
>>>>>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> 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
>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>>>>> Read this article and learn how Intel has extended the reach
>>>>>>>>>> of
>>>>>>>>>> its
>>>>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>>>>> Fortran
>>>>>>>>>> developers boost performance applications - including
>>>>>>>>>> clusters.
>>>>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>>>> Read this article and learn how Intel has extended the reach  
>>>>>>>>> of
>>>>>>>>> its
>>>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>>>> Fortran
>>>>>>>>> developers boost performance applications - including  
>>>>>>>>> clusters.
>>>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>>>> _______________________________________________
>>>>>>>>> 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
>>>>>>>> NUI Maynooth Ireland
>>>>>>>> tel.: +353 1 708 3545
>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>>> Read this article and learn how Intel has extended the reach of
>>>>>>>> its
>>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>>> Fortran
>>>>>>>> developers boost performance applications - including clusters.
>>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>> Read this article and learn how Intel has extended the reach of
>>>>>>> its
>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>> Fortran
>>>>>>> developers boost performance applications - including clusters.
>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>> NUI Maynooth Ireland
>>>>>> tel.: +353 1 708 3545
>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>> Read this article and learn how Intel has extended the reach of
>>>>>> its
>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>> Fortran
>>>>>> developers boost performance applications - including clusters.
>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>> Read this article and learn how Intel has extended the reach of  
>>>>> its
>>>>> next-generation tools to help Windows* and Linux* C/C++ and  
>>>>> Fortran
>>>>> developers boost performance applications - including clusters.
>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>> _______________________________________________
>>>>> 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
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> What Every C/C++ and Fortran developer Should Know!
>>>> Read this article and learn how Intel has extended the reach of its
>>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>>> developers boost performance applications - including clusters.
>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> What Every C/C++ and Fortran developer Should Know!
>>> Read this article and learn how Intel has extended the reach of its
>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>> developers boost performance applications - including clusters.
>>> http://p.sf.net/sfu/intel-dev2devmay
>>> _______________________________________________
>>> 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
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> What Every C/C++ and Fortran developer Should Know!
>> Read this article and learn how Intel has extended the reach of its
>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>> developers boost performance applications - including clusters.
>> http://p.sf.net/sfu/intel-dev2devmay
>> _______________________________________________
>> 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
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> 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
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-20 03:40
FromSteven Yi
SubjectRe: [Cs-dev] Recent change in src
After updating, I've got a good build through on OSX, but Ubuntu comes
up with an issue in csound.c:

gcc -o Top/csound.o -c -Wno-format -DGNU_GETTEXT -g
-fomit-frame-pointer -freorder-blocks -DLINUX -DPIPES -fPIC -fPIC
-DHAVE_LIBSNDFILE=1016 -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS
-DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT
-DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H
-DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H
-DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -DENABLE_NEW_PARSER
-D__BUILDING_LIBCSOUND -I. -IH -I/usr/include/fltk-1.1
-I/usr/share/musicxml-v2/src/elements
-I/usr/share/musicxml-v2/src/files -I/usr/share/musicxml-v2/src/parser
-I/usr/share/musicxml-v2/src/lib -I/usr/share/musicxml-v2/src/visitors
-I/home/mkg/share/LuaJIT-1.1.5/src
-I/home/mkg/csound5/frontends/CsoundVST
-I/home/mkg/csound5/frontends/CsoundVST/vstsdk2.4 -I/usr/local/include
-I/usr/include -I/usr/include -I/usr/X11R6/include -IEngine
Top/csound.c
Top/csound.c:380:5: error: ‘PTHREAD_SPINLOCK_INITIALIZER’ undeclared
here (not in a function)

This was with "scons useDouble=1".  I haven't found this defined
anywhere in /usr/include with a grep, so am not sure where this is
supposed to be defined.


On Thu, May 19, 2011 at 6:14 PM, Victor Lazzarini
 wrote:
> OK, I opted for this fix and committed it. Also fixed the misspelling
> of cauchrand() calls in cmath.c
>
> Victor
> On 19 May 2011, at 22:51, Victor Lazzarini wrote:
>
>> or instead possibly changing line 1061 to
>>
>> #if defined(HAVE_PTHREAD_SPIN_LOCK) && defined(PARCS)
>>     pthread_spinlock_t spoutlock, spinlock;
>> #else
>>     int           spoutlock, spinlock;
>> #endif
>>
>> and line 1098 to
>>
>> #if defined(HAVE_PTHREAD_SPIN_LOCK) && defined(PARCS)
>>     pthread_spinlock_t memlock;
>> #else
>>     int           memlock;
>> #endif
>>
>>
>>
>>
>> On 19 May 2011, at 22:45, Victor Lazzarini wrote:
>>
>>> I think it might need commenting out line 34 etc of H/csoundCore.h
>>>
>>> /*#ifdef PARCS*/
>>> #include 
>>> /*#endif*/
>>>
>>>
>>> On 19 May 2011, at 22:25, Steven Yi wrote:
>>>
>>>> Yes, I have this commit downloaded already. When building, it's
>>>> adding
>>>> -DHAVE_PTHREAD_SPIN_LOCK to the build, but it's failing as mentioned
>>>> earlier.  I'll have to investigate further, but at first glance it
>>>> was
>>>> certainly strange.
>>>>
>>>> On Thu, May 19, 2011 at 5:23 PM, Victor Lazzarini
>>>>  wrote:
>>>>> Well I committed a change to SConstruct to allow
>>>>> HAVE_PTHREAD_SPIN_LOCK to be defined. Here's the log
>>>>>
>>>>> coltrane:csound5-float victor$ git log
>>>>> commit aa1325adc952e22c8fe032024284f78cec18081c
>>>>> Merge: b2b72b4 f48b88f
>>>>> Author: Victor Lazzarini 
>>>>> Date:   Thu May 19 19:39:27 2011 +0100
>>>>>
>>>>>   Merge branch 'master' of ssh://csound.git.sourceforge.net/gitroot/csound/csound5
>>>>>
>>>>> commit b2b72b41fd1601e98df2346be5d4e4da3a6399e8
>>>>> Author: Victor Lazzarini 
>>>>> Date:   Thu May 19 19:38:37 2011 +0100
>>>>>
>>>>>   defining HAVE_PTHREAD_SPIN_LOCK on all platforms except OSX
>>>>>
>>>>>
>>>>> On 19 May 2011, at 22:00, Steven Yi wrote:
>>>>>
>>>>>> I just did a pull and got no new commits.  Retested and same
>>>>>> error.
>>>>>> Using "scons useDouble=1".  csoundCore.h looks funny.  It
>>>>>> #include's
>>>>>> pthread.h if PARCS is defined, but there is an #if
>>>>>> defined(HAVE_PTHREAD_SPIN_LOCK) that uses pthread_spinlock_t.  The
>>>>>> thing that's happening here is that without PARCS and
>>>>>> HAVE_PTHREAD_SPIN_LOCK, we get into this bad state.  csoundCore.h
>>>>>> didn't change in a while though, so I'm not sure what's going on.
>>>>>> (Also looks like sysdep.h is supposed to include pthread.h if
>>>>>> HAVE_PTHREAD_SPIN_LOCK is found, not sure what's going on).
>>>>>>
>>>>>> On Thu, May 19, 2011 at 4:22 PM, Victor Lazzarini
>>>>>>  wrote:
>>>>>>> The Ubuntu error is probably fixed now with my latest commit.
>>>>>>>
>>>>>>> On 19 May 2011, at 20:51, Steven Yi wrote:
>>>>>>>
>>>>>>>> I checked out latest and am getting some errors. On OSX, I get:
>>>>>>>>
>>>>>>>> Undefined symbols:
>>>>>>>> "_cauchyrand", referenced from:
>>>>>>>>    _acauchyi in cmath.os
>>>>>>>>    _kcauchyi in cmath.os
>>>>>>>>    _cauchyiset in cmath.os
>>>>>>>>    _cauchyiset in cmath.os
>>>>>>>>    _icauchyi in cmath.os
>>>>>>>>    _icauchyi in cmath.os
>>>>>>>>    _icauchyi in cmath.os
>>>>>>>> ld: symbol(s) not found
>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>> Undefined symbols:
>>>>>>>> "_cauchyrand", referenced from:
>>>>>>>>    _acauchyi in cmath.os
>>>>>>>>    _kcauchyi in cmath.os
>>>>>>>>    _cauchyiset in cmath.os
>>>>>>>>    _cauchyiset in cmath.os
>>>>>>>>    _icauchyi in cmath.os
>>>>>>>>    _icauchyi in cmath.os
>>>>>>>>    _icauchyi in cmath.os
>>>>>>>>
>>>>>>>> I did a grep and did not find any definition of the cauchyrand
>>>>>>>> function anywhere, only the calls to use it in OOps/cmath.c.
>>>>>>>>
>>>>>>>> On Ubuntu I get the same error John emailed earlier about the
>>>>>>>> spinlock:
>>>>>>>>
>>>>>>>> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -
>>>>>>>> ffast-
>>>>>>>> math
>>>>>>>> -Wno-format -DGNU_GETTEXT
>>>>>>>> -I/usr/local/include/libcwiimote-0.4.0/libcwiimote -g
>>>>>>>> -fomit-frame-pointer -freorder-blocks -fPIC -DLINUX -DPIPES -
>>>>>>>> fPIC
>>>>>>>> -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA -DUSE_DOUBLE -
>>>>>>>> DHAVE_SOCKETS
>>>>>>>> -DINC_MP3 -DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT
>>>>>>>> -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H
>>>>>>>> -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -
>>>>>>>> DHAVE_TERMIOS_H
>>>>>>>> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH
>>>>>>>> -I/usr/lib/jvm/java-1.5.0/include
>>>>>>>> -I/usr/lib/jvm/java-1.5.0/include/linux -I/usr/local/include
>>>>>>>> -I/usr/include -I/usr/include -I/usr/X11R6/include InOut/rtpa.c
>>>>>>>> In file included from H/csdl.h:31:0,
>>>>>>>>              from InOut/rtalsa.c:39:
>>>>>>>> H/csoundCore.h:1062:5: error: expected specifier-qualifier-list
>>>>>>>> before
>>>>>>>> ‘pthread_spinlock_t’
>>>>>>>> InOut/rtalsa.c: In function ‘open_device’:
>>>>>>>> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named
>>>>>>>> ‘rtPlay_userdata’
>>>>>>>> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named
>>>>>>>> ‘rtRecord_userdata’
>>>>>>>> InOut/rtalsa.c: In function ‘rtrecord_’:
>>>>>>>> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named
>>>>>>>> ‘rtRecord_userdata’
>>>>>>>> InOut/rtalsa.c: In function ‘rtplay_’:
>>>>>>>> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named
>>>>>>>> ‘rtPlay_userdata’
>>>>>>>> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
>>>>>>>> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named
>>>>>>>> ‘oparms’
>>>>>>>>
>>>>>>>> I'm building with buildMulticore=1 on OSX and without on Ubuntu.
>>>>>>>>
>>>>>>>> On Thu, May 19, 2011 at 2:45 PM, Victor Lazzarini
>>>>>>>>  wrote:
>>>>>>>>> yes, I am testing PaCS on OSX. It was not building for me, so
>>>>>>>>> that
>>>>>>>>> was
>>>>>>>>> me out of it yesterday. I only commented back in some code
>>>>>>>>> that was already there.
>>>>>>>>>
>>>>>>>>> I  committed a change to SConstruct that defines
>>>>>>>>> HAVE_PTHREAD_SPIN_LOCK on all platforms except for OSX. Maybe
>>>>>>>>> that
>>>>>>>>> will
>>>>>>>>> help you.
>>>>>>>>>
>>>>>>>>> Victor
>>>>>>>>> On 19 May 2011, at 19:08, jpff@cs.bath.ac.uk wrote:
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Well until it is fixed, and the git problenm, I am totally out
>>>>>>>>>> of
>>>>>>>>>> it. I
>>>>>>>>>> have written the interpolating random opcodes but cannot push
>>>>>>>>>> them
>>>>>>>>>> or test
>>>>>>>>>> them.
>>>>>>>>>>
>>>>>>>>>> If PARCS is not set it should not care about spinlocks at all.
>>>>>>>>>> Are
>>>>>>>>>> you
>>>>>>>>>> building with tht?
>>>>>>>>>>
>>>>>>>>>> ==John ff
>>>>>>>>>>
>>>>>>>>>>> It wasn't compiling on OSX, so I enabled some commented out
>>>>>>>>>>> code to
>>>>>>>>>>> substitute spinlocks if these are not found in the installed
>>>>>>>>>>> pthreads
>>>>>>>>>>> library. If scons  adds the HAVE_PTHREAD_SPIN_LOCK token, it
>>>>>>>>>>> should
>>>>>>>>>>> be
>>>>>>>>>>> the same as before (see my comments in H/cs_par_base.h).
>>>>>>>>>>> There
>>>>>>>>>>> is a
>>>>>>>>>>> check in SConstruct for it, but maybe it is not working (I
>>>>>>>>>>> can't
>>>>>>>>>>> test).
>>>>>>>>>>>
>>>>>>>>>>> Victor
>>>>>>>>>>>
>>>>>>>>>>> On 19 May 2011, at 16:49, John ff wrote:
>>>>>>>>>>>
>>>>>>>>>>>> has made it fail to compile.  Something to do with
>>>>>>>>>>>> spinlocks?
>>>>>>>>>>>>
>>>>>>>>>>>> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -
>>>>>>>>>>>> ffast-
>>>>>>>>>>>> math -Wno-format -DGNU_GETTEXT -I/usr/local/include/
>>>>>>>>>>>> libcwiimote-0.4.0/libcwiimote -g -fomit-frame-pointer -
>>>>>>>>>>>> freorder-
>>>>>>>>>>>> blocks -fPIC -DLINUX -DPIPES -fPIC -DHAVE_LIBSNDFILE=1016 -
>>>>>>>>>>>> DHAVE_FLTK -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS -DINC_MP3 -
>>>>>>>>>>>> DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT -
>>>>>>>>>>>> DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -
>>>>>>>>>>>> DHAVE_UNISTD_H -
>>>>>>>>>>>> DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -
>>>>>>>>>>>> DHAVE_TERMIOS_H
>>>>>>>>>>>> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/
>>>>>>>>>>>> usr/
>>>>>>>>>>>> lib/
>>>>>>>>>>>> jvm/java-1.5.0/include -I/usr/lib/jvm/java-1.5.0/include/
>>>>>>>>>>>> linux
>>>>>>>>>>>> -I/
>>>>>>>>>>>> usr/local/include -I/usr/include -I/usr/include -I/usr/
>>>>>>>>>>>> X11R6/
>>>>>>>>>>>> include
>>>>>>>>>>>> InOut/rtpa.c
>>>>>>>>>>>> In file included from H/csdl.h:31:0,
>>>>>>>>>>>>              from InOut/rtalsa.c:39:
>>>>>>>>>>>> H/csoundCore.h:1062:5: error: expected specifier-qualifier-
>>>>>>>>>>>> list
>>>>>>>>>>>> before ‘pthread_spinlock_t’
>>>>>>>>>>>> InOut/rtalsa.c: In function ‘open_device’:
>>>>>>>>>>>> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named
>>>>>>>>>>>> ‘rtPlay_userdata’
>>>>>>>>>>>> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named
>>>>>>>>>>>> ‘rtRecord_userdata’
>>>>>>>>>>>> InOut/rtalsa.c: In function ‘rtrecord_’:
>>>>>>>>>>>> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named
>>>>>>>>>>>> ‘rtRecord_userdata’
>>>>>>>>>>>> InOut/rtalsa.c: In function ‘rtplay_’:
>>>>>>>>>>>> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named
>>>>>>>>>>>> ‘rtPlay_userdata’
>>>>>>>>>>>> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
>>>>>>>>>>>> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named
>>>>>>>>>>>> ‘oparms’
>>>>>>>>>>>>
>>>>>>>>>>>> ==John ffitch
>>>>>>>>>>>>
>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>>>>>>> Read this article and learn how Intel has extended the reach
>>>>>>>>>>>> of
>>>>>>>>>>>> its
>>>>>>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>>>>>>> Fortran
>>>>>>>>>>>> developers boost performance applications - including
>>>>>>>>>>>> clusters.
>>>>>>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> 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
>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>>>>>> Read this article and learn how Intel has extended the reach
>>>>>>>>>>> of
>>>>>>>>>>> its
>>>>>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>>>>>> Fortran
>>>>>>>>>>> developers boost performance applications - including
>>>>>>>>>>> clusters.
>>>>>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>>>>> Read this article and learn how Intel has extended the reach
>>>>>>>>>> of
>>>>>>>>>> its
>>>>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>>>>> Fortran
>>>>>>>>>> developers boost performance applications - including
>>>>>>>>>> clusters.
>>>>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>>>>> _______________________________________________
>>>>>>>>>> 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
>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>>>> Read this article and learn how Intel has extended the reach of
>>>>>>>>> its
>>>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>>>> Fortran
>>>>>>>>> developers boost performance applications - including clusters.
>>>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>>> Read this article and learn how Intel has extended the reach of
>>>>>>>> its
>>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>>> Fortran
>>>>>>>> developers boost performance applications - including clusters.
>>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>>> _______________________________________________
>>>>>>>> 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
>>>>>>> NUI Maynooth Ireland
>>>>>>> tel.: +353 1 708 3545
>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>> Read this article and learn how Intel has extended the reach of
>>>>>>> its
>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>> Fortran
>>>>>>> developers boost performance applications - including clusters.
>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>> Read this article and learn how Intel has extended the reach of
>>>>>> its
>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>> Fortran
>>>>>> developers boost performance applications - including clusters.
>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>> _______________________________________________
>>>>>> 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
>>>>> NUI Maynooth Ireland
>>>>> tel.: +353 1 708 3545
>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>> Read this article and learn how Intel has extended the reach of its
>>>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>>>> developers boost performance applications - including clusters.
>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> What Every C/C++ and Fortran developer Should Know!
>>>> Read this article and learn how Intel has extended the reach of its
>>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>>> developers boost performance applications - including clusters.
>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>> _______________________________________________
>>>> 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
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> What Every C/C++ and Fortran developer Should Know!
>>> Read this article and learn how Intel has extended the reach of its
>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>> developers boost performance applications - including clusters.
>>> http://p.sf.net/sfu/intel-dev2devmay
>>> _______________________________________________
>>> 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
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> What Every C/C++ and Fortran developer Should Know!
>> Read this article and learn how Intel has extended the reach of its
>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>> developers boost performance applications - including clusters.
>> http://p.sf.net/sfu/intel-dev2devmay
>> _______________________________________________
>> 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
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

q

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-20 07:07
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Recent change in src
I have the same problem.  At least I seem to be able to get stuff fron git
now.



> After updating, I've got a good build through on OSX, but Ubuntu comes
> up with an issue in csound.c:
>
> gcc -o Top/csound.o -c -Wno-format -DGNU_GETTEXT -g
> -fomit-frame-pointer -freorder-blocks -DLINUX -DPIPES -fPIC -fPIC
> -DHAVE_LIBSNDFILE=1016 -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS
> -DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT
> -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H
> -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H
> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -DENABLE_NEW_PARSER
> -D__BUILDING_LIBCSOUND -I. -IH -I/usr/include/fltk-1.1
> -I/usr/share/musicxml-v2/src/elements
> -I/usr/share/musicxml-v2/src/files -I/usr/share/musicxml-v2/src/parser
> -I/usr/share/musicxml-v2/src/lib -I/usr/share/musicxml-v2/src/visitors
> -I/home/mkg/share/LuaJIT-1.1.5/src
> -I/home/mkg/csound5/frontends/CsoundVST
> -I/home/mkg/csound5/frontends/CsoundVST/vstsdk2.4 -I/usr/local/include
> -I/usr/include -I/usr/include -I/usr/X11R6/include -IEngine
> Top/csound.c
> Top/csound.c:380:5: error: ‘PTHREAD_SPINLOCK_INITIALIZER’ undeclared
> here (not in a function)
>
> This was with "scons useDouble=1".  I haven't found this defined
> anywhere in /usr/include with a grep, so am not sure where this is
> supposed to be defined.
>
>
> On Thu, May 19, 2011 at 6:14 PM, Victor Lazzarini
>  wrote:
>> OK, I opted for this fix and committed it. Also fixed the misspelling
>> of cauchrand() calls in cmath.c
>>
>> Victor
>> On 19 May 2011, at 22:51, Victor Lazzarini wrote:
>>
>>> or instead possibly changing line 1061 to
>>>
>>> #if defined(HAVE_PTHREAD_SPIN_LOCK) && defined(PARCS)
>>>     pthread_spinlock_t spoutlock, spinlock;
>>> #else
>>>     int           spoutlock, spinlock;
>>> #endif
>>>
>>> and line 1098 to
>>>
>>> #if defined(HAVE_PTHREAD_SPIN_LOCK) && defined(PARCS)
>>>     pthread_spinlock_t memlock;
>>> #else
>>>     int           memlock;
>>> #endif
>>>
>>>
>>>
>>>
>>> On 19 May 2011, at 22:45, Victor Lazzarini wrote:
>>>
>>>> I think it might need commenting out line 34 etc of H/csoundCore.h
>>>>
>>>> /*#ifdef PARCS*/
>>>> #include 
>>>> /*#endif*/
>>>>
>>>>
>>>> On 19 May 2011, at 22:25, Steven Yi wrote:
>>>>
>>>>> Yes, I have this commit downloaded already. When building, it's
>>>>> adding
>>>>> -DHAVE_PTHREAD_SPIN_LOCK to the build, but it's failing as mentioned
>>>>> earlier.  I'll have to investigate further, but at first glance it
>>>>> was
>>>>> certainly strange.
>>>>>
>>>>> On Thu, May 19, 2011 at 5:23 PM, Victor Lazzarini
>>>>>  wrote:
>>>>>> Well I committed a change to SConstruct to allow
>>>>>> HAVE_PTHREAD_SPIN_LOCK to be defined. Here's the log
>>>>>>
>>>>>> coltrane:csound5-float victor$ git log
>>>>>> commit aa1325adc952e22c8fe032024284f78cec18081c
>>>>>> Merge: b2b72b4 f48b88f
>>>>>> Author: Victor Lazzarini 
>>>>>> Date:   Thu May 19 19:39:27 2011 +0100
>>>>>>
>>>>>>   Merge branch 'master' of
>>>>>> ssh://csound.git.sourceforge.net/gitroot/csound/csound5
>>>>>>
>>>>>> commit b2b72b41fd1601e98df2346be5d4e4da3a6399e8
>>>>>> Author: Victor Lazzarini 
>>>>>> Date:   Thu May 19 19:38:37 2011 +0100
>>>>>>
>>>>>>   defining HAVE_PTHREAD_SPIN_LOCK on all platforms except OSX
>>>>>>
>>>>>>
>>>>>> On 19 May 2011, at 22:00, Steven Yi wrote:
>>>>>>
>>>>>>> I just did a pull and got no new commits.  Retested and same
>>>>>>> error.
>>>>>>> Using "scons useDouble=1".  csoundCore.h looks funny.  It
>>>>>>> #include's
>>>>>>> pthread.h if PARCS is defined, but there is an #if
>>>>>>> defined(HAVE_PTHREAD_SPIN_LOCK) that uses pthread_spinlock_t.  The
>>>>>>> thing that's happening here is that without PARCS and
>>>>>>> HAVE_PTHREAD_SPIN_LOCK, we get into this bad state.  csoundCore.h
>>>>>>> didn't change in a while though, so I'm not sure what's going on.
>>>>>>> (Also looks like sysdep.h is supposed to include pthread.h if
>>>>>>> HAVE_PTHREAD_SPIN_LOCK is found, not sure what's going on).
>>>>>>>
>>>>>>> On Thu, May 19, 2011 at 4:22 PM, Victor Lazzarini
>>>>>>>  wrote:
>>>>>>>> The Ubuntu error is probably fixed now with my latest commit.
>>>>>>>>
>>>>>>>> On 19 May 2011, at 20:51, Steven Yi wrote:
>>>>>>>>
>>>>>>>>> I checked out latest and am getting some errors. On OSX, I get:
>>>>>>>>>
>>>>>>>>> Undefined symbols:
>>>>>>>>> "_cauchyrand", referenced from:
>>>>>>>>>    _acauchyi in cmath.os
>>>>>>>>>    _kcauchyi in cmath.os
>>>>>>>>>    _cauchyiset in cmath.os
>>>>>>>>>    _cauchyiset in cmath.os
>>>>>>>>>    _icauchyi in cmath.os
>>>>>>>>>    _icauchyi in cmath.os
>>>>>>>>>    _icauchyi in cmath.os
>>>>>>>>> ld: symbol(s) not found
>>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>>> Undefined symbols:
>>>>>>>>> "_cauchyrand", referenced from:
>>>>>>>>>    _acauchyi in cmath.os
>>>>>>>>>    _kcauchyi in cmath.os
>>>>>>>>>    _cauchyiset in cmath.os
>>>>>>>>>    _cauchyiset in cmath.os
>>>>>>>>>    _icauchyi in cmath.os
>>>>>>>>>    _icauchyi in cmath.os
>>>>>>>>>    _icauchyi in cmath.os
>>>>>>>>>
>>>>>>>>> I did a grep and did not find any definition of the cauchyrand
>>>>>>>>> function anywhere, only the calls to use it in OOps/cmath.c.
>>>>>>>>>
>>>>>>>>> On Ubuntu I get the same error John emailed earlier about the
>>>>>>>>> spinlock:
>>>>>>>>>
>>>>>>>>> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -
>>>>>>>>> ffast-
>>>>>>>>> math
>>>>>>>>> -Wno-format -DGNU_GETTEXT
>>>>>>>>> -I/usr/local/include/libcwiimote-0.4.0/libcwiimote -g
>>>>>>>>> -fomit-frame-pointer -freorder-blocks -fPIC -DLINUX -DPIPES -
>>>>>>>>> fPIC
>>>>>>>>> -DHAVE_LIBSNDFILE=1016 -DHAVE_FLTK -DBETA -DUSE_DOUBLE -
>>>>>>>>> DHAVE_SOCKETS
>>>>>>>>> -DINC_MP3 -DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT
>>>>>>>>> -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H
>>>>>>>>> -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -
>>>>>>>>> DHAVE_TERMIOS_H
>>>>>>>>> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH
>>>>>>>>> -I/usr/lib/jvm/java-1.5.0/include
>>>>>>>>> -I/usr/lib/jvm/java-1.5.0/include/linux -I/usr/local/include
>>>>>>>>> -I/usr/include -I/usr/include -I/usr/X11R6/include InOut/rtpa.c
>>>>>>>>> In file included from H/csdl.h:31:0,
>>>>>>>>>              from InOut/rtalsa.c:39:
>>>>>>>>> H/csoundCore.h:1062:5: error: expected specifier-qualifier-list
>>>>>>>>> before
>>>>>>>>> ‘pthread_spinlock_t’
>>>>>>>>> InOut/rtalsa.c: In function ‘open_device’:
>>>>>>>>> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named
>>>>>>>>> ‘rtPlay_userdata’
>>>>>>>>> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named
>>>>>>>>> ‘rtRecord_userdata’
>>>>>>>>> InOut/rtalsa.c: In function ‘rtrecord_’:
>>>>>>>>> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named
>>>>>>>>> ‘rtRecord_userdata’
>>>>>>>>> InOut/rtalsa.c: In function ‘rtplay_’:
>>>>>>>>> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named
>>>>>>>>> ‘rtPlay_userdata’
>>>>>>>>> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
>>>>>>>>> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named
>>>>>>>>> ‘oparms’
>>>>>>>>>
>>>>>>>>> I'm building with buildMulticore=1 on OSX and without on Ubuntu.
>>>>>>>>>
>>>>>>>>> On Thu, May 19, 2011 at 2:45 PM, Victor Lazzarini
>>>>>>>>>  wrote:
>>>>>>>>>> yes, I am testing PaCS on OSX. It was not building for me, so
>>>>>>>>>> that
>>>>>>>>>> was
>>>>>>>>>> me out of it yesterday. I only commented back in some code
>>>>>>>>>> that was already there.
>>>>>>>>>>
>>>>>>>>>> I  committed a change to SConstruct that defines
>>>>>>>>>> HAVE_PTHREAD_SPIN_LOCK on all platforms except for OSX. Maybe
>>>>>>>>>> that
>>>>>>>>>> will
>>>>>>>>>> help you.
>>>>>>>>>>
>>>>>>>>>> Victor
>>>>>>>>>> On 19 May 2011, at 19:08, jpff@cs.bath.ac.uk wrote:
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Well until it is fixed, and the git problenm, I am totally out
>>>>>>>>>>> of
>>>>>>>>>>> it. I
>>>>>>>>>>> have written the interpolating random opcodes but cannot push
>>>>>>>>>>> them
>>>>>>>>>>> or test
>>>>>>>>>>> them.
>>>>>>>>>>>
>>>>>>>>>>> If PARCS is not set it should not care about spinlocks at all.
>>>>>>>>>>> Are
>>>>>>>>>>> you
>>>>>>>>>>> building with tht?
>>>>>>>>>>>
>>>>>>>>>>> ==John ff
>>>>>>>>>>>
>>>>>>>>>>>> It wasn't compiling on OSX, so I enabled some commented out
>>>>>>>>>>>> code to
>>>>>>>>>>>> substitute spinlocks if these are not found in the installed
>>>>>>>>>>>> pthreads
>>>>>>>>>>>> library. If scons  adds the HAVE_PTHREAD_SPIN_LOCK token, it
>>>>>>>>>>>> should
>>>>>>>>>>>> be
>>>>>>>>>>>> the same as before (see my comments in H/cs_par_base.h).
>>>>>>>>>>>> There
>>>>>>>>>>>> is a
>>>>>>>>>>>> check in SConstruct for it, but maybe it is not working (I
>>>>>>>>>>>> can't
>>>>>>>>>>>> test).
>>>>>>>>>>>>
>>>>>>>>>>>> Victor
>>>>>>>>>>>>
>>>>>>>>>>>> On 19 May 2011, at 16:49, John ff wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> has made it fail to compile.  Something to do with
>>>>>>>>>>>>> spinlocks?
>>>>>>>>>>>>>
>>>>>>>>>>>>> gcc -o InOut/rtpa.os -c -O3 -mtune=core2 -ftree-vectorize -
>>>>>>>>>>>>> ffast-
>>>>>>>>>>>>> math -Wno-format -DGNU_GETTEXT -I/usr/local/include/
>>>>>>>>>>>>> libcwiimote-0.4.0/libcwiimote -g -fomit-frame-pointer -
>>>>>>>>>>>>> freorder-
>>>>>>>>>>>>> blocks -fPIC -DLINUX -DPIPES -fPIC -DHAVE_LIBSNDFILE=1016 -
>>>>>>>>>>>>> DHAVE_FLTK -DBETA -DUSE_DOUBLE -DHAVE_SOCKETS -DINC_MP3 -
>>>>>>>>>>>>> DHAVE_PTHREAD_SPIN_LOCK -DHAVE_PTHREAD_BARRIER_INIT -
>>>>>>>>>>>>> DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -
>>>>>>>>>>>>> DHAVE_UNISTD_H -
>>>>>>>>>>>>> DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -
>>>>>>>>>>>>> DHAVE_TERMIOS_H
>>>>>>>>>>>>> -DHAVE_VALUES_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/
>>>>>>>>>>>>> usr/
>>>>>>>>>>>>> lib/
>>>>>>>>>>>>> jvm/java-1.5.0/include -I/usr/lib/jvm/java-1.5.0/include/
>>>>>>>>>>>>> linux
>>>>>>>>>>>>> -I/
>>>>>>>>>>>>> usr/local/include -I/usr/include -I/usr/include -I/usr/
>>>>>>>>>>>>> X11R6/
>>>>>>>>>>>>> include
>>>>>>>>>>>>> InOut/rtpa.c
>>>>>>>>>>>>> In file included from H/csdl.h:31:0,
>>>>>>>>>>>>>              from InOut/rtalsa.c:39:
>>>>>>>>>>>>> H/csoundCore.h:1062:5: error: expected specifier-qualifier-
>>>>>>>>>>>>> list
>>>>>>>>>>>>> before ‘pthread_spinlock_t’
>>>>>>>>>>>>> InOut/rtalsa.c: In function ‘open_device’:
>>>>>>>>>>>>> InOut/rtalsa.c:500:44: error: ‘CSOUND’ has no member named
>>>>>>>>>>>>> ‘rtPlay_userdata’
>>>>>>>>>>>>> InOut/rtalsa.c:501:46: error: ‘CSOUND’ has no member named
>>>>>>>>>>>>> ‘rtRecord_userdata’
>>>>>>>>>>>>> InOut/rtalsa.c: In function ‘rtrecord_’:
>>>>>>>>>>>>> InOut/rtalsa.c:572:30: error: ‘CSOUND’ has no member named
>>>>>>>>>>>>> ‘rtRecord_userdata’
>>>>>>>>>>>>> InOut/rtalsa.c: In function ‘rtplay_’:
>>>>>>>>>>>>> InOut/rtalsa.c:618:30: error: ‘CSOUND’ has no member named
>>>>>>>>>>>>> ‘rtPlay_userdata’
>>>>>>>>>>>>> InOut/rtalsa.c: In function ‘csoundModuleCreate’:
>>>>>>>>>>>>> InOut/rtalsa.c:1110:15: error: ‘CSOUND’ has no member named
>>>>>>>>>>>>> ‘oparms’
>>>>>>>>>>>>>
>>>>>>>>>>>>> ==John ffitch
>>>>>>>>>>>>>
>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>>>>>>>> Read this article and learn how Intel has extended the reach
>>>>>>>>>>>>> of
>>>>>>>>>>>>> its
>>>>>>>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>>>>>>>> Fortran
>>>>>>>>>>>>> developers boost performance applications - including
>>>>>>>>>>>>> clusters.
>>>>>>>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> 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
>>>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>>>>>>> Read this article and learn how Intel has extended the reach
>>>>>>>>>>>> of
>>>>>>>>>>>> its
>>>>>>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>>>>>>> Fortran
>>>>>>>>>>>> developers boost performance applications - including
>>>>>>>>>>>> clusters.
>>>>>>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>>>>>> Read this article and learn how Intel has extended the reach
>>>>>>>>>>> of
>>>>>>>>>>> its
>>>>>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>>>>>> Fortran
>>>>>>>>>>> developers boost performance applications - including
>>>>>>>>>>> clusters.
>>>>>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> 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
>>>>>>>>>> NUI Maynooth Ireland
>>>>>>>>>> tel.: +353 1 708 3545
>>>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>>>>> Read this article and learn how Intel has extended the reach of
>>>>>>>>>> its
>>>>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>>>>> Fortran
>>>>>>>>>> developers boost performance applications - including clusters.
>>>>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>>>> Read this article and learn how Intel has extended the reach of
>>>>>>>>> its
>>>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>>>> Fortran
>>>>>>>>> developers boost performance applications - including clusters.
>>>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>>>> _______________________________________________
>>>>>>>>> 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
>>>>>>>> NUI Maynooth Ireland
>>>>>>>> tel.: +353 1 708 3545
>>>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>>> Read this article and learn how Intel has extended the reach of
>>>>>>>> its
>>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>>> Fortran
>>>>>>>> developers boost performance applications - including clusters.
>>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>>> Read this article and learn how Intel has extended the reach of
>>>>>>> its
>>>>>>> next-generation tools to help Windows* and Linux* C/C++ and
>>>>>>> Fortran
>>>>>>> developers boost performance applications - including clusters.
>>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>> NUI Maynooth Ireland
>>>>>> tel.: +353 1 708 3545
>>>>>> Victor dot Lazzarini AT nuim dot ie
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>>> Read this article and learn how Intel has extended the reach of its
>>>>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>>>>> developers boost performance applications - including clusters.
>>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> What Every C/C++ and Fortran developer Should Know!
>>>>> Read this article and learn how Intel has extended the reach of its
>>>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>>>> developers boost performance applications - including clusters.
>>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>>> _______________________________________________
>>>>> 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
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> What Every C/C++ and Fortran developer Should Know!
>>>> Read this article and learn how Intel has extended the reach of its
>>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>>> developers boost performance applications - including clusters.
>>>> http://p.sf.net/sfu/intel-dev2devmay
>>>> _______________________________________________
>>>> 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
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> What Every C/C++ and Fortran developer Should Know!
>>> Read this article and learn how Intel has extended the reach of its
>>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>>> developers boost performance applications - including clusters.
>>> http://p.sf.net/sfu/intel-dev2devmay
>>> _______________________________________________
>>> 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
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> What Every C/C++ and Fortran developer Should Know!
>> Read this article and learn how Intel has extended the reach of its
>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>> developers boost performance applications - including clusters.
>> http://p.sf.net/sfu/intel-dev2devmay
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> q
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>



------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-20 07:15
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Recent change in src
> I have the same problem.  At least I seem to be able to get stuff fron git
> now.
>

Fixed in git now

==John ff


------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-05-20 15:01
FromSteven Yi
SubjectRe: [Cs-dev] Recent change in src
Fantastic, compile issues gone now for scons and cmake on OSX and
Ubuntu.  Thanks all!

On Fri, May 20, 2011 at 2:15 AM,   wrote:
>> I have the same problem.  At least I seem to be able to get stuff fron git
>> now.
>>
>
> Fixed in git now
>
> ==John ff
>
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net