[one-users] Problem:scons parsers=yes

Carlos Martín Sánchez cmartin at opennebula.org
Wed Oct 2 01:16:16 PDT 2013


Hi,

On Fri, Sep 27, 2013 at 2:38 AM, tiger123w <tiger123w at 163.com> wrote:

> When I compile opennebula-4.2 use parsers=yes,Then errrors:
>

You don't need to compile with the parsers=yes option. The bison and flex
files are already compiled into .h and .cc files that are included in the
source tree.

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org <http://www.opennebula.org/> | cmartin at opennebula.org |
@OpenNebula <http://twitter.com/opennebula> <cmartin at opennebula.org>


On Fri, Sep 27, 2013 at 2:38 AM, tiger123w <tiger123w at 163.com> wrote:

>  Dear:
> When I compile opennebula-4.2 use parsers=yes,Then errrors:
> build_bison(["src/template/template_syntax.cc",
> "src/template/template_syntax.h"], ["src/template/template_syntax.y"])
> g++ -o src/template/Template.o -c
> -I/usr/local/oce/third/flex-2.5.37/include -g -Wall -DSQLITE_DB -Iinclude
> -I/usr/local/oce/third/xmlrpc-c-1.25.24/include -I/usr/include/libxml2
> src/template/Template.cc
> template_syntax.hh:100: error: 'mem_collector' was not declared in this
> scope
> template_syntax.hh:100: error: 'mc' was not declared in this scope
> template_syntax.hh:100: error: expected primary-expression before '*' token
> template_syntax.hh:100: error: 'tmpl' was not declared in this scope
> template_syntax.hh:100: error: expected primary-expression before 'char'
> template_syntax.hh:100: error: initializer expression list treated as
> compound expression
> scons: *** [src/template/Template.o] Error 1
> scons: building terminated because of errors.
> [oce at ocean opennebula-4.2.0]$ which bison
> /usr/local/oce/third/bison-2.7.1/bin/bison
> [oce at ocean opennebula-4.2.0]$ which flex
> /usr/local/oce/third/flex-2.5.37/bin/flex
> [oce at ocean opennebula-4.2.0]$
>

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>


On Fri, Sep 27, 2013 at 2:38 AM, tiger123w <tiger123w at 163.com> wrote:

>  Dear:
> When I compile opennebula-4.2 use parsers=yes,Then errrors:
> build_bison(["src/template/template_syntax.cc",
> "src/template/template_syntax.h"], ["src/template/template_syntax.y"])
> g++ -o src/template/Template.o -c
> -I/usr/local/oce/third/flex-2.5.37/include -g -Wall -DSQLITE_DB -Iinclude
> -I/usr/local/oce/third/xmlrpc-c-1.25.24/include -I/usr/include/libxml2
> src/template/Template.cc
> template_syntax.hh:100: error: 'mem_collector' was not declared in this
> scope
> template_syntax.hh:100: error: 'mc' was not declared in this scope
> template_syntax.hh:100: error: expected primary-expression before '*' token
> template_syntax.hh:100: error: 'tmpl' was not declared in this scope
> template_syntax.hh:100: error: expected primary-expression before 'char'
> template_syntax.hh:100: error: initializer expression list treated as
> compound expression
> scons: *** [src/template/Template.o] Error 1
> scons: building terminated because of errors.
> [oce at ocean opennebula-4.2.0]$ which bison
> /usr/local/oce/third/bison-2.7.1/bin/bison
> [oce at ocean opennebula-4.2.0]$ which flex
> /usr/local/oce/third/flex-2.5.37/bin/flex
> [oce at ocean opennebula-4.2.0]$
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131002/fdb2cb33/attachment-0001.htm>


More information about the Users mailing list