Csound Csound-dev Csound-tekno Search About

[Csnd-dev] Compile errors

Date2015-10-21 02:10
FromMichael Gogins
Subject[Csnd-dev] Compile errors
Using msys64, with pacman, I have installed or configured and built
most dependenies of Csound for 64 bit CPU architecture. But when
building Csound I am getting the following error:

restore@sorabji MINGW32 /c/Users/mike/csound-csound6-git
$ make
[  0%] Generating csound_prslex.c
[  0%] Generating csound_orclex.c
[  0%] Generating csound_orcparse.c, csound_orcparse.h
C:/Users/mike/csound-csound6-git/Engine/csound_orc.y:24.1-12: warning:
deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
 %pure_parser
 ^^^^^^^^^^^^
C:/Users/mike/csound-csound6-git/Engine/csound_orc.y:120.1-12:
warning: deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
 %pure_parser
 ^^^^^^^^^^^^
C:/Users/mike/csound-csound6-git/Engine/csound_orc.y: warning: 4
shift/reduce conflicts [-Wconflicts-sr]
C:/Users/mike/csound-csound6-git/Engine/csound_orc.y: warning: 18
reduce/reduce conflicts [-Wconflicts-rr]
[  1%] Generating csound_scolex.c
[  1%] Generating csound_scoparse.c, csound_scoparse.h
C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:49.1-12: warning:
deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
 %pure_parser
 ^^^^^^^^^^^^
C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:89.1-12: warning:
deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
 %pure_parser
 ^^^^^^^^^^^^
C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:96.1-12: warning:
deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
 %pure_parser
 ^^^^^^^^^^^^
C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:97.1-14: error:
%define variable ‘parse.error’ redefined
 %error-verbose
 ^^^^^^^^^^^^^^
C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:90.1-14:
previous definition
 %error-verbose
 ^^^^^^^^^^^^^^
CMakeFiles/csound64.dir/build.make:82: recipe for target
'csound_scoparse.c' failed
make[2]: *** [csound_scoparse.c] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/csound64.dir/all' failed
make[1]: *** [CMakeFiles/csound64.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

What should I do?

Regards,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com

Date2015-10-21 02:13
FromMichael Gogins
SubjectRe: [Csnd-dev] Compile errors
Actually only this one is an error: error: %define variable
‘parse.error’ redefined

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Tue, Oct 20, 2015 at 9:10 PM, Michael Gogins
 wrote:
> Using msys64, with pacman, I have installed or configured and built
> most dependenies of Csound for 64 bit CPU architecture. But when
> building Csound I am getting the following error:
>
> restore@sorabji MINGW32 /c/Users/mike/csound-csound6-git
> $ make
> [  0%] Generating csound_prslex.c
> [  0%] Generating csound_orclex.c
> [  0%] Generating csound_orcparse.c, csound_orcparse.h
> C:/Users/mike/csound-csound6-git/Engine/csound_orc.y:24.1-12: warning:
> deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
>  %pure_parser
>  ^^^^^^^^^^^^
> C:/Users/mike/csound-csound6-git/Engine/csound_orc.y:120.1-12:
> warning: deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
>  %pure_parser
>  ^^^^^^^^^^^^
> C:/Users/mike/csound-csound6-git/Engine/csound_orc.y: warning: 4
> shift/reduce conflicts [-Wconflicts-sr]
> C:/Users/mike/csound-csound6-git/Engine/csound_orc.y: warning: 18
> reduce/reduce conflicts [-Wconflicts-rr]
> [  1%] Generating csound_scolex.c
> [  1%] Generating csound_scoparse.c, csound_scoparse.h
> C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:49.1-12: warning:
> deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
>  %pure_parser
>  ^^^^^^^^^^^^
> C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:89.1-12: warning:
> deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
>  %pure_parser
>  ^^^^^^^^^^^^
> C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:96.1-12: warning:
> deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
>  %pure_parser
>  ^^^^^^^^^^^^
> C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:97.1-14: error:
> %define variable ‘parse.error’ redefined
>  %error-verbose
>  ^^^^^^^^^^^^^^
> C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:90.1-14:
> previous definition
>  %error-verbose
>  ^^^^^^^^^^^^^^
> CMakeFiles/csound64.dir/build.make:82: recipe for target
> 'csound_scoparse.c' failed
> make[2]: *** [csound_scoparse.c] Error 1
> CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/csound64.dir/all' failed
> make[1]: *** [CMakeFiles/csound64.dir/all] Error 2
> Makefile:160: recipe for target 'all' failed
> make: *** [all] Error 2
>
> What should I do?
>
> Regards,
> Mike
>
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com

Date2015-10-21 06:14
FromVictor Lazzarini
SubjectRe: [Csnd-dev] Compile errors
Did you try commenting out the %error-verbose line?

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

> On 21 Oct 2015, at 02:10, Michael Gogins  wrote:
> 
> Using msys64, with pacman, I have installed or configured and built
> most dependenies of Csound for 64 bit CPU architecture. But when
> building Csound I am getting the following error:
> 
> restore@sorabji MINGW32 /c/Users/mike/csound-csound6-git
> $ make
> [  0%] Generating csound_prslex.c
> [  0%] Generating csound_orclex.c
> [  0%] Generating csound_orcparse.c, csound_orcparse.h
> C:/Users/mike/csound-csound6-git/Engine/csound_orc.y:24.1-12: warning:
> deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
> %pure_parser
> ^^^^^^^^^^^^
> C:/Users/mike/csound-csound6-git/Engine/csound_orc.y:120.1-12:
> warning: deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
> %pure_parser
> ^^^^^^^^^^^^
> C:/Users/mike/csound-csound6-git/Engine/csound_orc.y: warning: 4
> shift/reduce conflicts [-Wconflicts-sr]
> C:/Users/mike/csound-csound6-git/Engine/csound_orc.y: warning: 18
> reduce/reduce conflicts [-Wconflicts-rr]
> [  1%] Generating csound_scolex.c
> [  1%] Generating csound_scoparse.c, csound_scoparse.h
> C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:49.1-12: warning:
> deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
> %pure_parser
> ^^^^^^^^^^^^
> C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:89.1-12: warning:
> deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
> %pure_parser
> ^^^^^^^^^^^^
> C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:96.1-12: warning:
> deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
> %pure_parser
> ^^^^^^^^^^^^
> C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:97.1-14: error:
> %define variable ‘parse.error’ redefined
> %error-verbose
> ^^^^^^^^^^^^^^
> C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:90.1-14:
> previous definition
> %error-verbose
> ^^^^^^^^^^^^^^
> CMakeFiles/csound64.dir/build.make:82: recipe for target
> 'csound_scoparse.c' failed
> make[2]: *** [csound_scoparse.c] Error 1
> CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/csound64.dir/all' failed
> make[1]: *** [CMakeFiles/csound64.dir/all] Error 2
> Makefile:160: recipe for target 'all' failed
> make: *** [all] Error 2
> 
> What should I do?
> 
> Regards,
> Mike
> 
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com

Date2015-10-21 13:23
Fromjpff
SubjectRe: [Csnd-dev] Compile errors
I cannot fine parse.error anywhere in the sources
;2~But I suspect this relates to the sco parser which is not finised, and 
should not be bult unless the option is set
==John

On Tue, 20 Oct 2015, Michael Gogins wrote:

> Actually only this one is an error: error: %define variable
> ‘parse.error’ redefined
>
> -----------------------------------------------------
> Michael Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
>
> On Tue, Oct 20, 2015 at 9:10 PM, Michael Gogins
>  wrote:
>> Using msys64, with pacman, I have installed or configured and built
>> most dependenies of Csound for 64 bit CPU architecture. But when
>> building Csound I am getting the following error:
>>
>> restore@sorabji MINGW32 /c/Users/mike/csound-csound6-git
>> $ make
>> [  0%] Generating csound_prslex.c
>> [  0%] Generating csound_orclex.c
>> [  0%] Generating csound_orcparse.c, csound_orcparse.h
>> C:/Users/mike/csound-csound6-git/Engine/csound_orc.y:24.1-12: warning:
>> deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
>>  %pure_parser
>>  ^^^^^^^^^^^^
>> C:/Users/mike/csound-csound6-git/Engine/csound_orc.y:120.1-12:
>> warning: deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
>>  %pure_parser
>>  ^^^^^^^^^^^^
>> C:/Users/mike/csound-csound6-git/Engine/csound_orc.y: warning: 4
>> shift/reduce conflicts [-Wconflicts-sr]
>> C:/Users/mike/csound-csound6-git/Engine/csound_orc.y: warning: 18
>> reduce/reduce conflicts [-Wconflicts-rr]
>> [  1%] Generating csound_scolex.c
>> [  1%] Generating csound_scoparse.c, csound_scoparse.h
>> C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:49.1-12: warning:
>> deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
>>  %pure_parser
>>  ^^^^^^^^^^^^
>> C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:89.1-12: warning:
>> deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
>>  %pure_parser
>>  ^^^^^^^^^^^^
>> C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:96.1-12: warning:
>> deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
>>  %pure_parser
>>  ^^^^^^^^^^^^
>> C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:97.1-14: error:
>> %define variable ‘parse.error’ redefined
>>  %error-verbose
>>  ^^^^^^^^^^^^^^
>> C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:90.1-14:
>> previous definition
>>  %error-verbose
>>  ^^^^^^^^^^^^^^
>> CMakeFiles/csound64.dir/build.make:82: recipe for target
>> 'csound_scoparse.c' failed
>> make[2]: *** [csound_scoparse.c] Error 1
>> CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/csound64.dir/all' failed
>> make[1]: *** [CMakeFiles/csound64.dir/all] Error 2
>> Makefile:160: recipe for target 'all' failed
>> make: *** [all] Error 2
>>
>> What should I do?
>>
>> Regards,
>> Mike
>>
>> -----------------------------------------------------
>> Michael Gogins
>> Irreducible Productions
>> http://michaelgogins.tumblr.com
>> Michael dot Gogins at gmail dot com
>

Date2015-10-21 13:53
FromMichael Gogins
SubjectRe: [Csnd-dev] Compile errors
It is the score parser, and I did comment it so it would compile.

Regards,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Wed, Oct 21, 2015 at 8:23 AM, jpff  wrote:
> I cannot fine parse.error anywhere in the sources
> ;2~But I suspect this relates to the sco parser which is not finised, and
> should not be bult unless the option is set
> ==John
>
>
> On Tue, 20 Oct 2015, Michael Gogins wrote:
>
>> Actually only this one is an error: error: %define variable
>> ‘parse.error’ redefined
>>
>> -----------------------------------------------------
>> Michael Gogins
>> Irreducible Productions
>> http://michaelgogins.tumblr.com
>> Michael dot Gogins at gmail dot com
>>
>>
>> On Tue, Oct 20, 2015 at 9:10 PM, Michael Gogins
>>  wrote:
>>>
>>> Using msys64, with pacman, I have installed or configured and built
>>> most dependenies of Csound for 64 bit CPU architecture. But when
>>> building Csound I am getting the following error:
>>>
>>> restore@sorabji MINGW32 /c/Users/mike/csound-csound6-git
>>> $ make
>>> [  0%] Generating csound_prslex.c
>>> [  0%] Generating csound_orclex.c
>>> [  0%] Generating csound_orcparse.c, csound_orcparse.h
>>> C:/Users/mike/csound-csound6-git/Engine/csound_orc.y:24.1-12: warning:
>>> deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
>>>  %pure_parser
>>>  ^^^^^^^^^^^^
>>> C:/Users/mike/csound-csound6-git/Engine/csound_orc.y:120.1-12:
>>> warning: deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
>>>  %pure_parser
>>>  ^^^^^^^^^^^^
>>> C:/Users/mike/csound-csound6-git/Engine/csound_orc.y: warning: 4
>>> shift/reduce conflicts [-Wconflicts-sr]
>>> C:/Users/mike/csound-csound6-git/Engine/csound_orc.y: warning: 18
>>> reduce/reduce conflicts [-Wconflicts-rr]
>>> [  1%] Generating csound_scolex.c
>>> [  1%] Generating csound_scoparse.c, csound_scoparse.h
>>> C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:49.1-12: warning:
>>> deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
>>>  %pure_parser
>>>  ^^^^^^^^^^^^
>>> C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:89.1-12: warning:
>>> deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
>>>  %pure_parser
>>>  ^^^^^^^^^^^^
>>> C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:96.1-12: warning:
>>> deprecated directive, use ‘%pure-parser’ [-Wdeprecated]
>>>  %pure_parser
>>>  ^^^^^^^^^^^^
>>> C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:97.1-14: error:
>>> %define variable ‘parse.error’ redefined
>>>  %error-verbose
>>>  ^^^^^^^^^^^^^^
>>> C:/Users/mike/csound-csound6-git/Engine/csound_sco.y:90.1-14:
>>> previous definition
>>>  %error-verbose
>>>  ^^^^^^^^^^^^^^
>>> CMakeFiles/csound64.dir/build.make:82: recipe for target
>>> 'csound_scoparse.c' failed
>>> make[2]: *** [csound_scoparse.c] Error 1
>>> CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/csound64.dir/all'
>>> failed
>>> make[1]: *** [CMakeFiles/csound64.dir/all] Error 2
>>> Makefile:160: recipe for target 'all' failed
>>> make: *** [all] Error 2
>>>
>>> What should I do?
>>>
>>> Regards,
>>> Mike
>>>
>>> -----------------------------------------------------
>>> Michael Gogins
>>> Irreducible Productions
>>> http://michaelgogins.tumblr.com