[one-users] OpenNebula scons compile error

Nandakumar Pezhery nandakumarpr at gmail.com
Fri Jul 10 23:38:50 PDT 2009


Thanks Javier,
This fixed the error.

Rgds
Nandakumar

On Thu, Jul 2, 2009 at 4:33 PM, Javier Fontan <jfontan at fdi.ucm.es> wrote:

>
> Hello,
>
> Seems that a include is missing from that file.
>
> Please add this line:
>
> #include <stdio.h>
>
>
> 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.
>
> Bye
>
>  On Jun 24, 2009, at 3:49 PM, Nandakumar Pezhery wrote:
>
>  Hi,
> here are the versions:
>
> [root at localhost ~]# rpm -qa | grep gcc
> gcc-4.4.0-4.i586
> gcc-gfortran-4.4.0-4.i586
> libgcc-4.4.0-4.i586
> *gcc-c++-4.4.0-4.i586*
> [root at localhost ~]# rpm -qa | grep scons
> *scons-1.2.0-2.fc11.noarch*
>
> Thanks
>
> On Wed, Jun 24, 2009 at 6:23 PM, Javier Fontan <jfontan at fdi.ucm.es> wrote:
>
>>
>> Hello,
>>
>> 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.
>>
>> Bye
>>
>>
>> On Jun 24, 2009, at 6:57 AM, Nandakumar Pezhery wrote:
>>
>>   Hi,
>>> I am installing OpenNebula 1.2 on Fedora Core 11
>>> 2.6.29.4-167.fc11.i686.PAE
>>>
>>> I downloaded and untared the OpenNebula tarball.
>>> Changed to the created folder and ran scons to compile OpenNebula
>>>
>>> I get the following error:
>>> scons: Building targets ...
>>> g++ -o src/template/template_syntax.o -c -g -Wall -Iinclude
>>> src/template/template_syntax.cc
>>> template_syntax.y: In function 'void template_error(YYLTYPE*, Template*,
>>> char**, const char*)':
>>> template_syntax.y:170: error: 'snprintf' was not declared in this scope
>>> scons: *** [src/template/template_syntax.o] Error 1
>>> scons: building terminated because of errors.
>>>
>>>
>>> Any clues?
>>>
>>> Rgds
>>> Nandakumar
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>
>> --
>> Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
>> DSA Research Group: http://dsa-research.org
>> Globus GridWay Metascheduler: http://www.GridWay.org<http://www.gridway.org/>
>> OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org<http://www.opennebula.org/>
>>
>>
>
>   --
> Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
> DSA Research Group: http://dsa-research.org
> Globus GridWay Metascheduler: http://www.GridWay.org<http://www.gridway.org/>
>
> OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org<http://www.opennebula.org/>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20090711/1336c006/attachment-0002.htm>


More information about the Users mailing list