<div>Thanks Javier,</div>
<div>This fixed the error.</div>
<div> </div>
<div>Rgds</div>
<div>Nandakumar<br><br></div>
<div class="gmail_quote">On Thu, Jul 2, 2009 at 4:33 PM, Javier Fontan <span dir="ltr"><<a href="mailto:jfontan@fdi.ucm.es">jfontan@fdi.ucm.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div style="WORD-WRAP: break-word">
<div><br></div>
<div>Hello,</div>
<div><br></div>
<div>Seems that a include is missing from that file.</div>
<div><br></div>
<div>Please add this line:</div>
<div><br></div>
<div>#include <stdio.h></div>
<div><br></div>
<div>to src/template/template_syntax.cc, it should fix your problem. If the fix is correct we will add you this patch to our code.</div>
<div><br></div>
<div>Bye</div>
<div>
<div></div>
<div class="h5"><br>
<div>
<div>On Jun 24, 2009, at 3:49 PM, Nandakumar Pezhery wrote:</div><br>
<blockquote type="cite">
<div>Hi,</div>
<div>here are the versions:</div>
<div> </div>
<div>[root@localhost ~]# rpm -qa | grep gcc<br>gcc-4.4.0-4.i586<br>gcc-gfortran-4.4.0-4.i586<br>libgcc-4.4.0-4.i586<br><strong>gcc-c++-4.4.0-4.i586</strong><br>[root@localhost ~]# rpm -qa | grep scons<br><strong>scons-1.2.0-2.fc11.noarch</strong><br>
<br>Thanks</div>
<div> </div>
<div class="gmail_quote">On Wed, Jun 24, 2009 at 6:23 PM, Javier Fontan <span dir="ltr"><<a href="mailto:jfontan@fdi.ucm.es" target="_blank">jfontan@fdi.ucm.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Hello,<br><br>Please, tell me the version of scons and g++ you are using. I can not reproduce that error in our machines, perhaps there is something different in the versions you are using.<br>
<br>Bye 
<div>
<div></div>
<div><br><br>On Jun 24, 2009, at 6:57 AM, Nandakumar Pezhery wrote:<br><br></div></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>
<div></div>
<div>Hi,<br>I am installing OpenNebula 1.2 on Fedora Core 11<br>2.6.29.4-167.fc11.i686.PAE<br><br>I downloaded and untared the OpenNebula tarball.<br>Changed to the created folder and ran scons to compile OpenNebula<br><br>
I get the following error:<br>scons: Building targets ...<br>g++ -o src/template/template_syntax.o -c -g -Wall -Iinclude src/template/template_syntax.cc<br>template_syntax.y: In function 'void template_error(YYLTYPE*, Template*, char**, const char*)':<br>
template_syntax.y:170: error: 'snprintf' was not declared in this scope<br>scons: *** [src/template/template_syntax.o] Error 1<br>scons: building terminated because of errors.<br><br><br>Any clues?<br><br>Rgds<br>
Nandakumar<br><br></div></div>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opennebula.org" target="_blank">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>
</blockquote><br>-- <br>Javier Fontan, Grid & Virtualization Technology Engineer/Researcher<br>DSA Research Group: <a href="http://dsa-research.org/" target="_blank">http://dsa-research.org</a><br>Globus GridWay Metascheduler: <a href="http://www.gridway.org/" target="_blank">http://www.GridWay.org</a><br>
OpenNebula Virtual Infrastructure Engine: <a href="http://www.opennebula.org/" target="_blank">http://www.OpenNebula.org</a><br><br></blockquote></div><br></blockquote></div><br></div></div>
<div><span style="FONT-SIZE: 12px">
<div style="WORD-WRAP: break-word">
<div>
<div>--  
<div class="im"><br>Javier Fontan, Grid & Virtualization Technology Engineer/Researcher<br>DSA Research Group: <a href="http://dsa-research.org/" target="_blank">http://dsa-research.org</a><br>Globus GridWay Metascheduler: <a href="http://www.gridway.org/" target="_blank">http://www.GridWay.org</a>  <br>
OpenNebula Virtual Infrastructure Engine: <a href="http://www.opennebula.org/" target="_blank">http://www.OpenNebula.org</a></div></div></div></div></span></div><br></div></blockquote></div><br>