[Cs-dev] csound building error
Date | 2011-10-16 14:28 |
From | Edward Starkov |
Subject | [Cs-dev] csound building error |
Hi All, I've met a following error building Csound 5.14.1 (and the same with 5.13.0 and 5.12.1) on Mac OSX 10.4.11 Tiger (Intel): gcc -o InOut/rtcoreaudio.os -c -Wno-format -g -fomit-frame-pointer -freorder-blocks -DMACOSX -DPIPES -I/System/Library/Frameworks/CoreAudio.framework/Headers -fPIC -DHAVE_LIBSNDFILE=1016 -DBETA -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/include/malloc -I/opt/local/include/boost-1_32 -I/usr/local/include -I/usr/local/include InOut/rtcoreaudio.c InOut/rtcoreaudio.c:48: error: parse error before 'AudioDeviceIOProcID' InOut/rtcoreaudio.c:48: warning: no semicolon at end of struct or union InOut/rtcoreaudio.c:49: warning: data definition has no type or storage class InOut/rtcoreaudio.c:116: error: parse error before 'DEVPARAMS' InOut/rtcoreaudio.c: In function 'ADIOProc': InOut/rtcoreaudio.c:119: error: 'cdata' undeclared (first use in this function) InOut/rtcoreaudio.c:119: error: (Each undeclared identifier is reported only once InOut/rtcoreaudio.c:119: error: for each function it appears in.) InOut/rtcoreaudio.c:120: error: 'output' undeclared (first use in this function) InOut/rtcoreaudio.c:121: error: 'input' undeclared (first use in this function) InOut/rtcoreaudio.c: In function 'Csound_IOProcEntry': InOut/rtcoreaudio.c:187: error: parse error before ')' token InOut/rtcoreaudio.c: At top level: InOut/rtcoreaudio.c:191: error: parse error before 'DEVPARAMS' InOut/rtcoreaudio.c: In function 'coreaudio_open': InOut/rtcoreaudio.c:203: error: 'dev' undeclared (first use in this function) InOut/rtcoreaudio.c:204: error: 'csound' undeclared (first use in this function) InOut/rtcoreaudio.c:250: error: 'parm' undeclared (first use in this function) InOut/rtcoreaudio.c:408: error: 'isInput' undeclared (first use in this function) InOut/rtcoreaudio.c: In function 'recopen_': InOut/rtcoreaudio.c:424: error: 'dev' undeclared (first use in this function) InOut/rtcoreaudio.c:430: error: parse error before ')' token InOut/rtcoreaudio.c: In function 'playopen_': InOut/rtcoreaudio.c:444: error: 'dev' undeclared (first use in this function) InOut/rtcoreaudio.c:450: error: parse error before ')' token InOut/rtcoreaudio.c: In function 'rtrecord_': InOut/rtcoreaudio.c:462: error: 'dev' undeclared (first use in this function) InOut/rtcoreaudio.c:469: error: parse error before ')' token InOut/rtcoreaudio.c: In function 'rtplay_': InOut/rtcoreaudio.c:504: error: 'dev' undeclared (first use in this function) InOut/rtcoreaudio.c:511: error: parse error before ')' token InOut/rtcoreaudio.c: In function 'rtclose_': InOut/rtcoreaudio.c:546: error: 'dev' undeclared (first use in this function) InOut/rtcoreaudio.c:550: error: parse error before ')' token scons: *** [InOut/rtcoreaudio.os] Error 1 scons: building terminated because of errors. How could I fix it? Thank you! Edward -- View this message in context: http://csound.1045644.n5.nabble.com/csound-building-error-tp4906942p4906942.html Sent from the Csound - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2011-10-16 15:16 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] csound building error |
Attachments | rtcoreaudio.c None None |
Looks like InOut/rtcoreaudio.c is not quite right in your sources. You should not have of these messages with the correct source code, which I am attaching here: On 16 Oct 2011, at 14:28, Edward Starkov wrote: > Hi All, > > I've met a following error building Csound 5.14.1 (and the same with > 5.13.0 > and 5.12.1) on Mac OSX 10.4.11 Tiger (Intel): > > gcc -o InOut/rtcoreaudio.os -c -Wno-format -g -fomit-frame-pointer > -freorder-blocks -DMACOSX -DPIPES > -I/System/Library/Frameworks/CoreAudio.framework/Headers -fPIC > -DHAVE_LIBSNDFILE=1016 -DBETA -DHAVE_FCNTL_H -DHAVE_UNISTD_H - > DHAVE_STDINT_H > -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_SOCKETS > -DHAVE_DIRENT_H -I. -IH -I/usr/include/malloc > -I/opt/local/include/boost-1_32 -I/usr/local/include -I/usr/local/ > include > InOut/rtcoreaudio.c > InOut/rtcoreaudio.c:48: error: parse error before > 'AudioDeviceIOProcID' > InOut/rtcoreaudio.c:48: warning: no semicolon at end of struct or > union > InOut/rtcoreaudio.c:49: warning: data definition has no type or > storage > class > InOut/rtcoreaudio.c:116: error: parse error before 'DEVPARAMS' > InOut/rtcoreaudio.c: In function 'ADIOProc': > InOut/rtcoreaudio.c:119: error: 'cdata' undeclared (first use in this > function) > InOut/rtcoreaudio.c:119: error: (Each undeclared identifier is > reported only > once > InOut/rtcoreaudio.c:119: error: for each function it appears in.) > InOut/rtcoreaudio.c:120: error: 'output' undeclared (first use in this > function) > InOut/rtcoreaudio.c:121: error: 'input' undeclared (first use in this > function) > InOut/rtcoreaudio.c: In function 'Csound_IOProcEntry': > InOut/rtcoreaudio.c:187: error: parse error before ')' token > InOut/rtcoreaudio.c: At top level: > InOut/rtcoreaudio.c:191: error: parse error before 'DEVPARAMS' > InOut/rtcoreaudio.c: In function 'coreaudio_open': > InOut/rtcoreaudio.c:203: error: 'dev' undeclared (first use in this > function) > InOut/rtcoreaudio.c:204: error: 'csound' undeclared (first use in this > function) > InOut/rtcoreaudio.c:250: error: 'parm' undeclared (first use in this > function) > InOut/rtcoreaudio.c:408: error: 'isInput' undeclared (first use in > this > function) > InOut/rtcoreaudio.c: In function 'recopen_': > InOut/rtcoreaudio.c:424: error: 'dev' undeclared (first use in this > function) > InOut/rtcoreaudio.c:430: error: parse error before ')' token > InOut/rtcoreaudio.c: In function 'playopen_': > InOut/rtcoreaudio.c:444: error: 'dev' undeclared (first use in this > function) > InOut/rtcoreaudio.c:450: error: parse error before ')' token > InOut/rtcoreaudio.c: In function 'rtrecord_': > InOut/rtcoreaudio.c:462: error: 'dev' undeclared (first use in this > function) > InOut/rtcoreaudio.c:469: error: parse error before ')' token > InOut/rtcoreaudio.c: In function 'rtplay_': > InOut/rtcoreaudio.c:504: error: 'dev' undeclared (first use in this > function) > InOut/rtcoreaudio.c:511: error: parse error before ')' token > InOut/rtcoreaudio.c: In function 'rtclose_': > InOut/rtcoreaudio.c:546: error: 'dev' undeclared (first use in this > function) > InOut/rtcoreaudio.c:550: error: parse error before ')' token > scons: *** [InOut/rtcoreaudio.os] Error 1 > scons: building terminated because of errors. > > How could I fix it? > > Thank you! > Edward > > -- > View this message in context: http://csound.1045644.n5.nabble.com/csound-building-error-tp4906942p4906942.html > Sent from the Csound - Dev mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and > makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > 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 |
Date | 2011-10-16 15:33 |
From | Edward Starkov |
Subject | Re: [Cs-dev] csound building error |
Thank you for your reply, Dr.Lazzarini Unfortunately, this doesn't change the situation. The included file is the same I'd used before. If it makes any sense, I'm building without any options (scons -h and then simply scons). Most libraries are not installed although I suppose they are all optional (like gmm). The sad fact is that building fails on 13 and 12 versions too, so I guess it is something with my system (OS X 10.4.11). I could include the complete log if needed. -- View this message in context: http://csound.1045644.n5.nabble.com/csound-building-error-tp4906942p4907022.html Sent from the Csound - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2011-10-16 17:22 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] csound building error |
Well, I don't have a machine with 10.4 anymore to test, but 5.13 did build on that system (there is a 10.4 binary release for 5.13). One thing you can try is not to build the coreaudio module by saying scons useCoreAudio=0 Victor On 16 Oct 2011, at 15:33, Edward Starkov wrote: > Thank you for your reply, Dr.Lazzarini > > Unfortunately, this doesn't change the situation. The included file > is the > same I'd used before. > > If it makes any sense, I'm building without any options (scons -h > and then > simply scons). Most libraries are not installed although I suppose > they are > all optional (like gmm). > > The sad fact is that building fails on 13 and 12 versions too, so I > guess it > is something with my system (OS X 10.4.11). > > I could include the complete log if needed. > > > -- > View this message in context: http://csound.1045644.n5.nabble.com/csound-building-error-tp4906942p4907022.html > Sent from the Csound - Dev mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and > makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > 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 ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2011-10-16 17:37 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] csound building error |
Looks as if the file |
Date | 2011-10-16 17:48 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] csound building error |
yes, I thought that might an issue. This header is normally in /System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudio.h On 16 Oct 2011, at 17:37, jpff@cs.bath.ac.uk wrote: > Looks as if the file |
Date | 2011-10-16 17:57 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] csound building error |
Attachments | rtcoreaudio.c None None |
Hi Edward, I think I have a solution. See if this attached file fixes your build: I think it uses some code that is 10.5 and above, so I prepared a fix for 10.4. Let me know if it builds and I'll commit it to CVS. Victor On 16 Oct 2011, at 14:28, Edward Starkov wrote: > Hi All, > > I've met a following error building Csound 5.14.1 (and the same with > 5.13.0 > and 5.12.1) on Mac OSX 10.4.11 Tiger (Intel): > > gcc -o InOut/rtcoreaudio.os -c -Wno-format -g -fomit-frame-pointer > -freorder-blocks -DMACOSX -DPIPES > -I/System/Library/Frameworks/CoreAudio.framework/Headers -fPIC > -DHAVE_LIBSNDFILE=1016 -DBETA -DHAVE_FCNTL_H -DHAVE_UNISTD_H - > DHAVE_STDINT_H > -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_SOCKETS > -DHAVE_DIRENT_H -I. -IH -I/usr/include/malloc > -I/opt/local/include/boost-1_32 -I/usr/local/include -I/usr/local/ > include > InOut/rtcoreaudio.c > InOut/rtcoreaudio.c:48: error: parse error before > 'AudioDeviceIOProcID' > InOut/rtcoreaudio.c:48: warning: no semicolon at end of struct or > union > InOut/rtcoreaudio.c:49: warning: data definition has no type or > storage > class > InOut/rtcoreaudio.c:116: error: parse error before 'DEVPARAMS' > InOut/rtcoreaudio.c: In function 'ADIOProc': > InOut/rtcoreaudio.c:119: error: 'cdata' undeclared (first use in this > function) > InOut/rtcoreaudio.c:119: error: (Each undeclared identifier is > reported only > once > InOut/rtcoreaudio.c:119: error: for each function it appears in.) > InOut/rtcoreaudio.c:120: error: 'output' undeclared (first use in this > function) > InOut/rtcoreaudio.c:121: error: 'input' undeclared (first use in this > function) > InOut/rtcoreaudio.c: In function 'Csound_IOProcEntry': > InOut/rtcoreaudio.c:187: error: parse error before ')' token > InOut/rtcoreaudio.c: At top level: > InOut/rtcoreaudio.c:191: error: parse error before 'DEVPARAMS' > InOut/rtcoreaudio.c: In function 'coreaudio_open': > InOut/rtcoreaudio.c:203: error: 'dev' undeclared (first use in this > function) > InOut/rtcoreaudio.c:204: error: 'csound' undeclared (first use in this > function) > InOut/rtcoreaudio.c:250: error: 'parm' undeclared (first use in this > function) > InOut/rtcoreaudio.c:408: error: 'isInput' undeclared (first use in > this > function) > InOut/rtcoreaudio.c: In function 'recopen_': > InOut/rtcoreaudio.c:424: error: 'dev' undeclared (first use in this > function) > InOut/rtcoreaudio.c:430: error: parse error before ')' token > InOut/rtcoreaudio.c: In function 'playopen_': > InOut/rtcoreaudio.c:444: error: 'dev' undeclared (first use in this > function) > InOut/rtcoreaudio.c:450: error: parse error before ')' token > InOut/rtcoreaudio.c: In function 'rtrecord_': > InOut/rtcoreaudio.c:462: error: 'dev' undeclared (first use in this > function) > InOut/rtcoreaudio.c:469: error: parse error before ')' token > InOut/rtcoreaudio.c: In function 'rtplay_': > InOut/rtcoreaudio.c:504: error: 'dev' undeclared (first use in this > function) > InOut/rtcoreaudio.c:511: error: parse error before ')' token > InOut/rtcoreaudio.c: In function 'rtclose_': > InOut/rtcoreaudio.c:546: error: 'dev' undeclared (first use in this > function) > InOut/rtcoreaudio.c:550: error: parse error before ')' token > scons: *** [InOut/rtcoreaudio.os] Error 1 > scons: building terminated because of errors. > > How could I fix it? > > Thank you! > Edward > > -- > View this message in context: http://csound.1045644.n5.nabble.com/csound-building-error-tp4906942p4906942.html > Sent from the Csound - Dev mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and > makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > 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 |
Date | 2011-10-16 18:05 |
From | Edward Starkov |
Subject | Re: [Cs-dev] csound building error |
Thank you again (and John too) I've successfully build Csound with scons useCoreAudio=0 now I gonna try your solution - I'll be right back to get you know if it works Edward -- View this message in context: http://csound.1045644.n5.nabble.com/csound-building-error-tp4906942p4907291.html Sent from the Csound - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2011-10-16 18:22 |
From | Edward Starkov |
Subject | Re: [Cs-dev] csound building error |
Hi again! I'm happy to say that your solution works! I have successfully built new Csound 5.14 on Tiger. Thank you! -- View this message in context: http://csound.1045644.n5.nabble.com/csound-building-error-tp4906942p4907315.html Sent from the Csound - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2011-10-16 18:27 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] csound building error |
Thanks. I'll commit the code. Victor On 16 Oct 2011, at 18:22, Edward Starkov wrote: > Hi again! > > I'm happy to say that your solution works! > > I have successfully built new Csound 5.14 on Tiger. > > Thank you! > > -- > View this message in context: http://csound.1045644.n5.nabble.com/csound-building-error-tp4906942p4907315.html > Sent from the Csound - Dev mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and > makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > 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 ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2011-10-17 07:38 |
From | Edward Starkov |
Subject | Re: [Cs-dev] csound building error |
Just by the way, John there's a small syntax error in manual code example for adding plugins : 3. Add your OENTRY .... #define S sizeof static OENTRY localops[] = { { { "rampt", S(RMP), 5, "a", "iiio", (SUBR) rampset, (SUBR) NULL, (SUBR)ramp }, }; Should be static OENTRY localops[] = { { "rampt", S(RMP), 5, "a", "iiio", (SUBR) rampset, (SUBR) NULL, (SUBR)ramp }, }; Thank you! -- View this message in context: http://csound.1045644.n5.nabble.com/csound-building-error-tp4906942p4908876.html Sent from the Csound - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |