Csound Csound-dev Csound-tekno Search About

[Cs-dev] fresh checkout build fails, with or without buildNewParser, missing csound_orcparse.h

Date2011-12-19 01:43
FromIain Duncan
Subject[Cs-dev] fresh checkout build fails, with or without buildNewParser, missing csound_orcparse.h
AttachmentsNone  None  
I just checked out the source from git. I'm using Ubuntu.

I have tried using custom-linux-jpff.py and custom-linux-mkg.py, and tried with buildNewParser=1 or buildNewParser=0, in all cases the build fails because Engine/csound_orcparse.c is missing.

Output below. Is there a version that includes this missing file? Or what do I need to do?

thanks
iain


with defaults ( same as buildNewParser=1 ):

CONFIGURATION DECISION: Building with new parser enabled
AttributeError: 'SConsEnvironment' object has no attribute 'CFile':
File "/usr/local/src/csound5/SConstruct", line 912:
yaccBuild = csoundLibraryEnvironment.CFile(target = 'Engine/csound_orcparse.c',


With buildNewParser=0:

In file included from Engine/cs_par_dispatch.c:28:
H/csound_orc.h:15:29: error: csound_orcparse.h: No such file or directory
In file included from Engine/cs_par_dispatch.c:28:
H/csound_orc.h:19: error: ‘T_HIGHEST’ undeclared here (not in a function)
Engine/cs_par_dispatch.c: In function ‘csp_locks_insert’:
Engine/cs_par_dispatch.c:214: error: ‘INSTR_TOKEN’ undeclared (first use in this function)
Engine/cs_par_dispatch.c:214: error: (Each undeclared identifier is reported only once
Engine/cs_par_dispatch.c:214: error: for each function it appears in.)
Engine/cs_par_dispatch.c:224: error: ‘UDO_TOKEN’ undeclared (first use in this function)
Engine/cs_par_dispatch.c:225: error: ‘IF_TOKEN’ undeclared (first use in this function)
Engine/cs_par_dispatch.c:254: error: ‘T_OPCODE’ undeclared (first use in this function)
Engine/cs_par_dispatch.c:255: error: ‘INTEGER_TOKEN’ undeclared (first use in this function)
Engine/cs_par_dispatch.c: In function ‘csp_weights_calculate_instr’:
Engine/cs_par_dispatch.c:372: error: ‘INSTR_TOKEN’ undeclared (first use in this function)
Engine/cs_par_dispatch.c:384: error: ‘T_OPCODE’ undeclared (first use in this function)
Engine/cs_par_dispatch.c:385: error: ‘T_OPCODE0’ undeclared (first use in this function)
Engine/cs_par_dispatch.c: In function ‘csp_weights_calculate’:
Engine/cs_par_dispatch.c:423: error: ‘INSTR_TOKEN’ undeclared (first use in this function)
Engine/cs_par_dispatch.c: In function ‘csp_orc_sa_opcode_dump_instr’:
Engine/cs_par_dispatch.c:449: error: ‘INSTR_TOKEN’ undeclared (first use in this function)
Engine/cs_par_dispatch.c:452: error: ‘T_OPCODE’ undeclared (first use in this function)
Engine/cs_par_dispatch.c:453: error: ‘T_OPCODE0’ undeclared (first use in this function)
Engine/cs_par_dispatch.c: In function ‘csp_orc_sa_opcode_dump’:
Engine/cs_par_dispatch.c:478: error: ‘INSTR_TOKEN’ undeclared (first use in this function)
Engine/cs_par_dispatch.c: In function ‘csp_weights_dump_normalised’:
Engine/cs_par_dispatch.c:805: error: ‘OPARMS’ has no member named ‘calculateWeights’
scons: *** [Engine/cs_par_dispatch.o] Error 1
scons: building terminated because of errors.


Date2012-01-01 17:54
FromLeviathan
SubjectRe: [Cs-dev] fresh checkout build fails, with or without buildNewParser, missing csound_orcparse.h
Ditto.

Trying to build on Ubuntu 11.10 x86. Got the same error. I also searched for
csound_orcparser.c and did not find it.

Cheers

--
View this message in context: http://csound.1045644.n5.nabble.com/fresh-checkout-build-fails-with-or-without-buildNewParser-missing-csound-orcparse-h-tp5084861p5113358.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-01-01 18:02
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] fresh checkout build fails, with or without buildNewParser, missing csound_orcparse.h
csound_orcparse.h is a generated file.  Do you have bison an dflex installed
Without the new parser thi sfile is not needed.  You could just touch it. 
But we need to check why it seems to be needed
==John ff

> Ditto.
>
> Trying to build on Ubuntu 11.10 x86. Got the same error. I also searched
> for
> csound_orcparser.c and did not find it.
>
> Cheers
>
> --
> View this message in context:
> http://csound.1045644.n5.nabble.com/fresh-checkout-build-fails-with-or-without-buildNewParser-missing-csound-orcparse-h-tp5084861p5113358.html
> Sent from the Csound - Dev mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>



------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-01-01 18:13
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] fresh checkout build fails, with or without buildNewParser, missing csound_orcparse.h
and ensure buildMultiCore=0
It default sto 1 which assumes the new parser


> csound_orcparse.h is a generated file.  Do you have bison an dflex
> installed
> Without the new parser thi sfile is not needed.  You could just touch it.
> But we need to check why it seems to be needed
> ==John ff
>
>> Ditto.
>>
>> Trying to build on Ubuntu 11.10 x86. Got the same error. I also searched
>> for
>> csound_orcparser.c and did not find it.
>>
>> Cheers
>>
>> --
>> View this message in context:
>> http://csound.1045644.n5.nabble.com/fresh-checkout-build-fails-with-or-without-buildNewParser-missing-csound-orcparse-h-tp5084861p5113358.html
>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>
>> ------------------------------------------------------------------------------
>> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a
>> complex
>> infrastructure or vast IT resources to deliver seamless, secure access
>> to
>> virtual desktops. With this all-in-one solution, easily deploy virtual
>> desktops for less than the cost of PCs and save 60% on VDI
>> infrastructure
>> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>
>
>
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>



------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net