Vladimir Konrad
2007-Oct-29 13:43 UTC
[Xen-users] compiling latest Xen from source on 64 bit machine (fails)
Hello? I am trying to build the latest Xen (from the repository) on Debian Testing (Lenny) under AMD64 os. The CPU is core 2 duo. I get the following error when compiling (make world): xen/lowlevel/xc/xc.c: In function ‘PyXc_dealloc’: xen/lowlevel/xc/xc.c:1542: error: ‘XcObject’ has no member named ‘xc_handle’ xen/lowlevel/xc/xc.c:1543: error: ‘XcObject’ has no member named ‘xc_handle’ xen/lowlevel/xc/xc.c:1544: error: ‘XcObject’ has no member named ‘xc_handle’ xen/lowlevel/xc/xc.c:1547: error: ‘XcObject’ has no member named ‘ob_type’ xen/lowlevel/xc/xc.c:1547: error: ‘PyObject’ undeclared (first use in this function) xen/lowlevel/xc/xc.c:1547: error: (Each undeclared identifier is reported only once xen/lowlevel/xc/xc.c:1547: error: for each function it appears in.) xen/lowlevel/xc/xc.c:1547: error: expected expression before ‘)’ token xen/lowlevel/xc/xc.c: At top level: xen/lowlevel/xc/xc.c:1550: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyXcType’ xen/lowlevel/xc/xc.c:1592: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xc_methods’ xen/lowlevel/xc/xc.c:1594: warning: return type defaults to ‘int’ xen/lowlevel/xc/xc.c: In function ‘DL_EXPORT’: xen/lowlevel/xc/xc.c:1594: error: expected declaration specifiers before ‘initxc’ xen/lowlevel/xc/xc.c:1623: error: expected ‘{’ at end of input error: command ''gcc'' failed with exit status 1 make[3]: *** [buildpy] Error 1 make[3]: Leaving directory `/home/vladimir/tmp/xen/tools/python'' make[2]: *** [install] Error 2 make[2]: Leaving directory `/home/vladimir/tmp/xen/tools'' make[1]: *** [install-tools] Error 2 make[1]: Leaving directory `/home/vladimir/tmp/xen'' make: *** [world] Error 2 I tried latest release (from repository) and latest head to no avail. Is the 64 bit compilation broken or am I doing something wrong? Vlad Please access the attached hyperlink for an important electronic communications disclaimer: http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Stephan Seitz
2007-Oct-29 18:00 UTC
Re: [Xen-users] compiling latest Xen from source on 64 bit machine (fails)
Vladimir Konrad schrieb:> I get the following error when compiling (make world):Without a deeper look, this looks like your system''s missing some declarations. Just guessed: python-dev e.g. If you''ld include some more lines of the compile log, I''ld expect to see some unsatisfied include. Stephan> > xen/lowlevel/xc/xc.c: In function ‘PyXc_dealloc’: > xen/lowlevel/xc/xc.c:1542: error: ‘XcObject’ has no member named ‘xc_handle’ > xen/lowlevel/xc/xc.c:1623: error: expected ‘{’ at end of input > ... > error: command ''gcc'' failed with exit status 1 > make[3]: *** [buildpy] Error 1 > make[3]: Leaving directory `/home/vladimir/tmp/xen/tools/python'' > make[2]: *** [install] Error 2 > make[2]: Leaving directory `/home/vladimir/tmp/xen/tools'' > make[1]: *** [install-tools] Error 2 > make[1]: Leaving directory `/home/vladimir/tmp/xen'' > make: *** [world] Error 2_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Vladimir Konrad
2007-Oct-30 10:55 UTC
Re: [Xen-users] compiling latest Xen from source on 64 bit machine (fails)
> Vladimir Konrad schrieb: > > I get the following error when compiling (make world): > > Without a deeper look, this looks like your system''s missing some > declarations. Just guessed: python-dev e.g. > If you''ld include some more lines of the compile log, I''ld expect > to see some unsatisfied include.Thanks for the pointer, it was missing python-dev... Now it all builds and installs. Vlad Please access the attached hyperlink for an important electronic communications disclaimer: http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users