Skip to contentSkip to conversation

Failure to make tools in xen-3.4-testing.hg and xen-unstable.hg

DISCUSSION Boris Derzhavets 2 participants 2 messages May 29, 2009

lore
Share & tools
lore
#0 lore raw

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 <[email protected]> wrote:

From: Ian Jackson <[email protected]>
Subject: [Xen-devel] Re: Failure to make tools in xen-3.4-testing.hg and xen-unstable.hg
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>
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"):

Quoted 2 lines

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
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

Boris Derzhavets writes ("Re: [Xen-devel] Re: Failure to make tools in xen-3.4-testing.hg and xen-unstable.hg"):

Quoted 1 line

Yes,

...

Quoted 1 line

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.