[one-users] problem about compile with parse=yes
jack
zglinnova at 163.com
Wed Oct 23 02:29:48 PDT 2013
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//flex-2.5.37/include -g -Wall -DSQLITE_DB -Iinclude -I/usr/local//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.
[user at test opennebula-4.2.0]$ which bison
/usr/local//bison-2.7.1/bin/bison
[user at test opennebula-4.2.0]$ which flex
/usr/local//flex-2.5.37/bin/flex
[user at test opennebula-4.2.0]$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131023/f5eac70f/attachment.htm>
More information about the Users
mailing list