<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">On Fri, Sep 27, 2013 at 2:38 AM, tiger123w <span dir="ltr"><<a href="mailto:tiger123w@163.com" target="_blank">tiger123w@163.com</a>></span> wrote:<div class="im">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="line-height:1.7;font-size:14px">When I compile opennebula-4.2 use <span lang="EN-US">parsers=yes,Then errrors:</span></div>
</blockquote><div><br></div></div><div>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.</div></div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">Regards</div><div class="gmail_extra" style="font-family:arial,sans-serif;font-size:13px"><div><div dir="ltr">--<br><div>Carlos Martín, MSc<br>Project Engineer</div>
<div>OpenNebula - Flexible Enterprise Cloud Made Simple<br><div><span style="border-collapse:collapse;color:rgb(136,136,136)"><a href="http://www.opennebula.org/" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136)"><a href="mailto:cmartin@opennebula.org" target="_blank" style="color:rgb(42,93,176)"></a></span></div>
</div></div></div><br><br><div class="gmail_quote"><div><div class="adm"><div id="q_1417850280edf4a0_3" class="h4"><div class="" style></div></div></div><div class="im">On Fri, Sep 27, 2013 at 2:38 AM, tiger123w <span dir="ltr"><<a href="mailto:tiger123w@163.com" target="_blank">tiger123w@163.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="adm"><div id="q_1417850280edf4a0_5" class="h4">
<div class="" style></div></div></div><div class="im"><div style="line-height:1.7;font-size:14px;font-family:arial"> Dear:<br>When I compile opennebula-4.2 use <span lang="EN-US">parsers=yes,Then errrors:<br>build_bison(["src/template/template_syntax.cc", "src/template/template_syntax.h"], ["src/template/template_syntax.y"])<br>
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<br>template_syntax.hh:100: error: 'mem_collector' was not declared in this scope<br>
template_syntax.hh:100: error: 'mc' was not declared in this scope<br>template_syntax.hh:100: error: expected primary-expression before '*' token<br>template_syntax.hh:100: error: 'tmpl' was not declared in this scope<br>
template_syntax.hh:100: error: expected primary-expression before 'char'<br>template_syntax.hh:100: error: initializer expression list treated as compound expression<br>scons: *** [src/template/Template.o] Error 1<br>
scons: building terminated because of errors.<br>[oce@ocean opennebula-4.2.0]$ which bison<br>/usr/local/oce/third/bison-2.7.1/bin/bison<br>[oce@ocean opennebula-4.2.0]$ which flex<br>/usr/local/oce/third/flex-2.5.37/bin/flex<br>
[oce@ocean opennebula-4.2.0]$<br></span></div></div></blockquote></div></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">--<br><div>Carlos Martín, MSc<br>Project Engineer</div><div>OpenNebula - Flexible Enterprise Cloud Made Simple<br>
<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
</div></div></div>
<br><br><div class="gmail_quote">On Fri, Sep 27, 2013 at 2:38 AM, tiger123w <span dir="ltr"><<a href="mailto:tiger123w@163.com" target="_blank">tiger123w@163.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="line-height:1.7;font-size:14px;font-family:arial"> Dear:<br>When I compile opennebula-4.2 use <span lang="EN-US">parsers=yes,Then errrors:<br>build_bison(["src/template/template_syntax.cc", "src/template/template_syntax.h"], ["src/template/template_syntax.y"])<br>
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<br>template_syntax.hh:100: error: 'mem_collector' was not declared in this scope<br>
template_syntax.hh:100: error: 'mc' was not declared in this scope<br>template_syntax.hh:100: error: expected primary-expression before '*' token<br>template_syntax.hh:100: error: 'tmpl' was not declared in this scope<br>
template_syntax.hh:100: error: expected primary-expression before 'char'<br>template_syntax.hh:100: error: initializer expression list treated as compound expression<br>scons: *** [src/template/Template.o] Error 1<br>
scons: building terminated because of errors.<br>[oce@ocean opennebula-4.2.0]$ which bison<br>/usr/local/oce/third/bison-2.7.1/bin/bison<br>[oce@ocean opennebula-4.2.0]$ which flex<br>/usr/local/oce/third/flex-2.5.37/bin/flex<br>
[oce@ocean opennebula-4.2.0]$<br><br></span></div><br><br><span title="neteasefooter"><span></span></span><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div>