Boris Derzhavets
2009-May-29 14:59 UTC
[Xen-devel] Failure to make tools in xen-3.4-testing.hg and xen-unstable.hg
xen/lowlevel/xc/xc.c: In function ‘token_value’:
xen/lowlevel/xc/xc.c:529: error: implicit declaration of function ‘strchr’
xen/lowlevel/xc/xc.c:529: error: incompatible implicit declaration of built-in
function ‘strchr’
xen/lowlevel/xc/xc.c:530: error: implicit declaration of function ‘strtol’
xen/lowlevel/xc/xc.c: In function ‘next_bdf’:
xen/lowlevel/xc/xc.c:537: error: incompatible implicit declaration of built-in
function ‘strchr’
xen/lowlevel/xc/xc.c:542: error: incompatible implicit declaration of built-in
function ‘strchr’
xen/lowlevel/xc/xc.c: At top level:
xen/lowlevel/xc/xc.c:554: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:586: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:618: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:650: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:749: error: expected ‘)’ before ‘*’ token
xen/lowlevel/xc/xc.c:766: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:785: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:808: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:824: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:849: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:865: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:882: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:930: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:949: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:967: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:986: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1008: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1038: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1049: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1126: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1175: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1197: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1219: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1242: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1272: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1281: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1308: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1324: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1339: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1357: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1372: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1394: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1417: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1440: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1455: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1475: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1493: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1508: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘pyxc_methods’
xen/lowlevel/xc/xc.c:1971: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1976: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
xen/lowlevel/xc/xc.c:1989: error: expected declaration specifiers or ‘...’
before ‘PyObject’
xen/lowlevel/xc/xc.c:1989: error: expected declaration specifiers or ‘...’
before ‘PyObject’
xen/lowlevel/xc/xc.c: In function ‘PyXc_init’:
xen/lowlevel/xc/xc.c:1991: error: ‘XcObject’ has no member named ‘xc_handle’
xen/lowlevel/xc/xc.c:1992: error: implicit declaration of function
‘pyxc_error_to_exception’
xen/lowlevel/xc/xc.c: In function ‘PyXc_dealloc’:
xen/lowlevel/xc/xc.c:2001: error: ‘XcObject’ has no member named ‘xc_handle’
xen/lowlevel/xc/xc.c:2002: error: ‘XcObject’ has no member named ‘xc_handle’
xen/lowlevel/xc/xc.c:2003: error: ‘XcObject’ has no member named ‘xc_handle’
xen/lowlevel/xc/xc.c:2006: error: ‘XcObject’ has no member named ‘ob_type’
xen/lowlevel/xc/xc.c:2006: error: ‘PyObject’ undeclared (first use in this
function)
xen/lowlevel/xc/xc.c:2006: error: (Each undeclared identifier is reported only
once
xen/lowlevel/xc/xc.c:2006: error: for each function it appears in.)
xen/lowlevel/xc/xc.c:2006: error: expected expression before ‘)’ token
xen/lowlevel/xc/xc.c: At top level:
xen/lowlevel/xc/xc.c:2009: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘PyXcType’
xen/lowlevel/xc/xc.c:2051: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘xc_methods’
xen/lowlevel/xc/xc.c:2053: error: return type defaults to ‘int’
xen/lowlevel/xc/xc.c: In function ‘DL_EXPORT’:
xen/lowlevel/xc/xc.c:2053: error: expected declaration specifiers before
‘initxc’
xen/lowlevel/xc/xc.c:2082: error: expected ‘{’ at end of input
error: command ''gcc'' failed with exit status 1
make[3]: *** [buildpy] Error 1
make[3]: Leaving directory `/usr/src/xen-3.4-testing.hg/tools/python''
make[2]: *** [subdir-install-python] Error 2
make[2]: Leaving directory `/usr/src/xen-3.4-testing.hg/tools''
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/usr/src/xen-3.4-testing.hg/tools''
make: *** [install-tools] Error 2
root@ServerJ9:/usr/src/xen-3.4-testing.hg#
Boris.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Ian Jackson
2009-May-29 15:03 UTC
[Xen-devel] Re: Failure to make tools in xen-3.4-testing.hg and xen-unstable.hg
Boris Derzhavets writes ("Failure to make tools in xen-3.4-testing.hg and
xen-unstable.hg"):> xen/lowlevel/xc/xc.c: In function øtoken_valueù:
> xen/lowlevel/xc/xc.c:529: error: implicit declaration of function østrchrù
What happened immediately before that ? Were there error messages
about missing Python.h ?
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Keir Fraser
2009-May-29 15:06 UTC
Re: [Xen-devel] Failure to make tools in xen-3.4-testing.hg and xen-unstable.hg
Does adding #include <string.h> At the top of tools/python/xen/lowlevel/xc/xc.c help? -- Keir On 29/05/2009 15:59, "Boris Derzhavets" <bderzhavets@yahoo.com> wrote:> xen/lowlevel/xc/xc.c: In function token_value¹: > xen/lowlevel/xc/xc.c:529: error: implicit declaration of function strchr¹ > xen/lowlevel/xc/xc.c:529: error: incompatible implicit declaration of built-in > function strchr¹ > xen/lowlevel/xc/xc.c:530: error: implicit declaration of function strtol¹ > xen/lowlevel/xc/xc.c: In function next_bdf¹: > xen/lowlevel/xc/xc.c:537: error: incompatible implicit declaration of built-in > function strchr¹ > xen/lowlevel/xc/xc.c:542: error: incompatible implicit declaration of built-in > function strchr¹ > xen/lowlevel/xc/xc.c: At top level: > xen/lowlevel/xc/xc.c:554: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:586: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:618: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:650: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:749: error: expected )¹ before *¹ token > xen/lowlevel/xc/xc.c:766: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:785: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:808: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:824: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:849: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:865: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:882: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:930: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:949: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:967: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:986: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1008: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1038: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1049: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1126: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1175: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1197: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1219: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1242: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1272: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1281: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1308: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1324: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1339: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1357: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1372: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1394: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1417: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1440: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1455: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1475: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1493: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1508: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before pyxc_methods¹ > xen/lowlevel/xc/xc.c:1971: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1976: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before *¹ token > xen/lowlevel/xc/xc.c:1989: error: expected declaration specifiers or ...¹ > before PyObject¹ > xen/lowlevel/xc/xc.c:1989: error: expected declaration specifiers or ...¹ > before PyObject¹ > xen/lowlevel/xc/xc.c: In function PyXc_init¹: > xen/lowlevel/xc/xc.c:1991: error: XcObject¹ has no member named xc_handle¹ > xen/lowlevel/xc/xc.c:1992: error: implicit declaration of function > pyxc_error_to_exception¹ > xen/lowlevel/xc/xc.c: In function PyXc_dealloc¹: > xen/lowlevel/xc/xc.c:2001: error: XcObject¹ has no member named xc_handle¹ > xen/lowlevel/xc/xc.c:2002: error: XcObject¹ has no member named xc_handle¹ > xen/lowlevel/xc/xc.c:2003: error: XcObject¹ has no member named xc_handle¹ > xen/lowlevel/xc/xc.c:2006: error: XcObject¹ has no member named ob_type¹ > xen/lowlevel/xc/xc.c:2006: error: PyObject¹ undeclared (first use in this > function) > xen/lowlevel/xc/xc.c:2006: error: (Each undeclared identifier is reported only > once > xen/lowlevel/xc/xc.c:2006: error: for each function it appears in.) > xen/lowlevel/xc/xc.c:2006: error: expected expression before )¹ token > xen/lowlevel/xc/xc.c: At top level: > xen/lowlevel/xc/xc.c:2009: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before PyXcType¹ > xen/lowlevel/xc/xc.c:2051: error: expected =¹, ,¹, ;¹, asm¹ or > __attribute__¹ before xc_methods¹ > xen/lowlevel/xc/xc.c:2053: error: return type defaults to int¹ > xen/lowlevel/xc/xc.c: In function DL_EXPORT¹: > xen/lowlevel/xc/xc.c:2053: error: expected declaration specifiers before > initxc¹ > xen/lowlevel/xc/xc.c:2082: error: expected {¹ at end of input > error: command ''gcc'' failed with exit status 1 > make[3]: *** [buildpy] Error 1 > make[3]: Leaving directory `/usr/src/xen-3.4-testing.hg/tools/python'' > make[2]: *** [subdir-install-python] Error 2 > make[2]: Leaving directory `/usr/src/xen-3.4-testing.hg/tools'' > make[1]: *** [subdirs-install] Error 2 > make[1]: Leaving directory `/usr/src/xen-3.4-testing.hg/tools'' > make: *** [install-tools] Error 2 > root@ServerJ9:/usr/src/xen-3.4-testing.hg# > > Boris. > > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Boris Derzhavets
2009-May-29 15:07 UTC
Re: [Xen-devel] Re: Failure to make tools in xen-3.4-testing.hg and xen-unstable.hg
Yes,
running build
running build_py
running build_ext
building ''xc'' extension
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall
-Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement
-D__XEN_TOOLS__ -MMD -MF .buildpy.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-fPIC -I../../tools/libxc -I../../tools/xenstore -I../../tools/include
-Ixen/lowlevel/xc -I/usr/include/python2.6 -c xen/lowlevel/xc/xc.c -o
build/temp.linux-x86_64-2.6/xen/lowlevel/xc/xc.o -fno-strict-aliasing -Werror
xen/lowlevel/xc/xc.c:7:20: error: Python.h: No such file or directory
In file included from ../../tools/libxc/xc_dom.h:1,
from xen/lowlevel/xc/xc.c:22:
../../tools/include/xen/libelf/libelf.h:102: error: expected
specifier-qualifier-list before ‘FILE’
../../tools/include/xen/libelf/libelf.h:186: error: expected declaration
specifiers or ‘...’ before ‘FILE’
In file included from xen/lowlevel/xc/xc.c:22:
Boris.
--- On Fri, 5/29/09, Ian Jackson <Ian.Jackson@eu.citrix.com> wrote:
From: Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: [Xen-devel] Re: Failure to make tools in xen-3.4-testing.hg and
xen-unstable.hg
To: "Boris Derzhavets" <bderzhavets@yahoo.com>
Cc: "xen-devel@lists.xensource.com"
<xen-devel@lists.xensource.com>
Date: Friday, May 29, 2009, 11:03 AM
Boris Derzhavets writes ("Failure to make tools in xen-3.4-testing.hg and
xen-unstable.hg"):> xen/lowlevel/xc/xc.c: In function øtoken_valueù:
> xen/lowlevel/xc/xc.c:529: error: implicit declaration of function østrchrù
What happened immediately before that ? Were there error messages
about missing Python.h ?
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Ian Jackson
2009-May-29 15:10 UTC
Re: [Xen-devel] Re: Failure to make tools in xen-3.4-testing.hg and xen-unstable.hg
Boris Derzhavets writes ("Re: [Xen-devel] Re: Failure to make tools in
xen-3.4-testing.hg and xen-unstable.hg"):> Yes,
...> xen/lowlevel/xc/xc.c:7:20: error: Python.h: No such file or directory
You need the Python development packages installed on your machine.
On Debian and Ubuntu I think that installing `python-dev'' will achieve
this.
I think Python.h will bring in string.h.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Boris Derzhavets
2009-May-29 15:12 UTC
Re: [Xen-devel] Failure to make tools in xen-3.4-testing.hg and xen-unstable.hg
No. It doesn''t help As Ian expected the error comes up before build failure xen/lowlevel/xc/xc.c:8:20: error: Python.h: No such file or directory Boris --- On Fri, 5/29/09, Keir Fraser <keir.fraser@eu.citrix.com> wrote: From: Keir Fraser <keir.fraser@eu.citrix.com> Subject: Re: [Xen-devel] Failure to make tools in xen-3.4-testing.hg and xen-unstable.hg To: "Boris Derzhavets" <bderzhavets@yahoo.com>, "Ian Jackson" <Ian.Jackson@eu.citrix.com> Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com> Date: Friday, May 29, 2009, 11:06 AM Does adding #include <string.h> At the top of tools/python/xen/lowlevel/xc/xc.c help? -- Keir On 29/05/2009 15:59, "Boris Derzhavets" <bderzhavets@yahoo.com> wrote:> xen/lowlevel/xc/xc.c: In function Œtoken_value¹: > xen/lowlevel/xc/xc.c:529: error: implicit declaration of function Œstrchr¹ > xen/lowlevel/xc/xc.c:529: error: incompatible implicit declaration of built-in > function Œstrchr¹ > xen/lowlevel/xc/xc.c:530: error: implicit declaration of function Œstrtol¹ > xen/lowlevel/xc/xc.c: In function Œnext_bdf¹: > xen/lowlevel/xc/xc.c:537: error: incompatible implicit declaration of built-in > function Œstrchr¹ > xen/lowlevel/xc/xc.c:542: error: incompatible implicit declaration of built-in > function Œstrchr¹ > xen/lowlevel/xc/xc.c: At top level: > xen/lowlevel/xc/xc.c:554: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:586: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:618: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:650: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:749: error: expected Œ)¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:766: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:785: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:808: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:824: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:849: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:865: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:882: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:930: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:949: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:967: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:986: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1008: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1038: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1049: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1126: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1175: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1197: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1219: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1242: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1272: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1281: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1308: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1324: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1339: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1357: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1372: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1394: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1417: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1440: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1455: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1475: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1493: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1508: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œpyxc_methods¹ > xen/lowlevel/xc/xc.c:1971: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1976: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œ*¹ token > xen/lowlevel/xc/xc.c:1989: error: expected declaration specifiers or Œ...¹ > before ŒPyObject¹ > xen/lowlevel/xc/xc.c:1989: error: expected declaration specifiers or Œ...¹ > before ŒPyObject¹ > xen/lowlevel/xc/xc.c: In function ŒPyXc_init¹: > xen/lowlevel/xc/xc.c:1991: error: ŒXcObject¹ has no member named Œxc_handle¹ > xen/lowlevel/xc/xc.c:1992: error: implicit declaration of function > Œpyxc_error_to_exception¹ > xen/lowlevel/xc/xc.c: In function ŒPyXc_dealloc¹: > xen/lowlevel/xc/xc.c:2001: error: ŒXcObject¹ has no member named Œxc_handle¹ > xen/lowlevel/xc/xc.c:2002: error: ŒXcObject¹ has no member named Œxc_handle¹ > xen/lowlevel/xc/xc.c:2003: error: ŒXcObject¹ has no member named Œxc_handle¹ > xen/lowlevel/xc/xc.c:2006: error: ŒXcObject¹ has no member named Œob_type¹ > xen/lowlevel/xc/xc.c:2006: error: ŒPyObject¹ undeclared (first use in this > function) > xen/lowlevel/xc/xc.c:2006: error: (Each undeclared identifier is reported only > once > xen/lowlevel/xc/xc.c:2006: error: for each function it appears in.) > xen/lowlevel/xc/xc.c:2006: error: expected expression before Œ)¹ token > xen/lowlevel/xc/xc.c: At top level: > xen/lowlevel/xc/xc.c:2009: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before ŒPyXcType¹ > xen/lowlevel/xc/xc.c:2051: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or > Œ__attribute__¹ before Œxc_methods¹ > xen/lowlevel/xc/xc.c:2053: error: return type defaults to Œint¹ > xen/lowlevel/xc/xc.c: In function ŒDL_EXPORT¹: > xen/lowlevel/xc/xc.c:2053: error: expected declaration specifiers before > Œinitxc¹ > xen/lowlevel/xc/xc.c:2082: error: expected Œ{¹ at end of input > error: command ''gcc'' failed with exit status 1 > make[3]: *** [buildpy] Error 1 > make[3]: Leaving directory `/usr/src/xen-3.4-testing.hg/tools/python'' > make[2]: *** [subdir-install-python] Error 2 > make[2]: Leaving directory `/usr/src/xen-3.4-testing.hg/tools'' > make[1]: *** [subdirs-install] Error 2 > make[1]: Leaving directory `/usr/src/xen-3.4-testing.hg/tools'' > make: *** [install-tools] Error 2 > root@ServerJ9:/usr/src/xen-3.4-testing.hg# > > Boris. > > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Boris Derzhavets
2009-May-29 15:17 UTC
Re: [Xen-devel] Re: Failure to make tools in xen-3.4-testing.hg and xen-unstable.hg
Yes, the fault is mine. Python2.6-dev was missing.
Thank you.
Boris
--- On Fri, 5/29/09, Ian Jackson <Ian.Jackson@eu.citrix.com> wrote:
From: Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: Re: [Xen-devel] Re: Failure to make tools in xen-3.4-testing.hg and
xen-unstable.hg
To: "Boris Derzhavets" <bderzhavets@yahoo.com>
Cc: "xen-devel@lists.xensource.com"
<xen-devel@lists.xensource.com>
Date: Friday, May 29, 2009, 11:10 AM
Boris Derzhavets writes ("Re: [Xen-devel] Re: Failure to make tools in
xen-3.4-testing.hg and xen-unstable.hg"):> Yes,
...> xen/lowlevel/xc/xc.c:7:20: error: Python.h: No such file or directory
You need the Python development packages installed on your machine.
On Debian and Ubuntu I think that installing `python-dev'' will achieve
this.
I think Python.h will bring in string.h.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel