[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] Error compiling xen-unstable - XEN_LEGACY_MAX_VCPUS



My build environment wasn't all that clean, as my tools directory in 
xen-unstable was still pointing to xen-3.4-testing/tools and I have many xen 
versions in the same machine. I replaced that and I'm trying a few more tricks. 
Some git commands are running in the background as I write this mail but if I 
get any errors I'll come back.
Thanks,
Bhaskar.
 
-----Original Message-----
From: Jan Beulich [mailto:JBeulich@xxxxxxxxxx] 
Sent: Wednesday, July 01, 2009 2:56 PM
To: Jayaraman, Bhaskar
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Error compiling xen-unstable - XEN_LEGACY_MAX_VCPUS

I had seen something very similar during the development of the respective
patch, but it turned out to be an issue with python in that it imported the
wrong version of structs.py. But that was only because of how my build
environment is set up (the trees I'm building in are symlink trees to the
source tree, so that I can build multiple configurations from the same
sources). Nevertheless I'd suspect you may have a similar importing issue,
perhaps because your build environment wasn't really clean when you
updated your sources?

Jan

>>> "Jayaraman, Bhaskar" <Bhaskar.Jayaraman@xxxxxxx> 01.07.09 10:49 >>>
Has anyone seen this error while compiling the tools directory in Xen? I'm 
executing a make dist and have downloaded
the latest xen-unstable.


make -C tools install
make[1]: Entering directory `/home/user/xen-unstable.hg.new/tools'
make[2]: Entering directory `/home/user/xen-unstable.hg.new/tools'
make -C check install
make[3]: Entering directory `/home/user/xen-unstable.hg.new/tools/check'
LIBXENAPI_BINDINGS=n ACM_SECURITY=n ./chk build
Xen CHECK-BUILD  Wed Jul 1 14:15:14 IST 2009
Checking check_crypto_lib: OK
Checking check_curl: unused, OK
Checking check_openssl_devel: OK
Checking check_python: OK
Checking check_python_devel: OK
Checking check_x11_devel: OK
Checking check_xgettext: OK
Checking check_xml2: unused, OK
Checking check_zlib_devel: OK
Checking check_zlib_lib: OK
make[3]: Leaving directory `/home/user/xen-unstable.hg.new/tools/check'
make[2]: Leaving directory `/home/user/xen-unstable.hg.new/tools'
make[2]: Entering directory `/home/user/xen-unstable.hg.new/tools'
make -C include install
make[3]: Entering directory `/home/user/xen-unstable.hg.new/tools/include'
make -C xen-foreign
make[4]: Entering directory 
`/home/user/xen-unstable.hg.new/tools/include/xen-foreign'
python mkheader.py x86_32 x86_32.h 
../../../xen/include/public/arch-x86/xen-x86_32.h
../../../xen/include/public/arch-x86/xen.h ../../../xen/include/public/xen.h
python mkheader.py x86_64 x86_64.h 
../../../xen/include/public/arch-x86/xen-x86_64.h
../../../xen/include/public/arch-x86/xen.h ../../../xen/include/public/xen.h
python mkheader.py ia64 ia64.h ../../../xen/include/public/arch-ia64.h 
../../../xen/include/public/xen.h
gcc -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer 
-fno-strict-aliasing -Wdeclaration-after-statement -o
checker checker.c
In file included from checker.c:12:
x86_32.h:181: error: âXEN_LEGACY_MAX_VCPUSâ undeclared here (not in a function)
make[4]: *** [checker] Error 1
make[4]: Leaving directory 
`/home/user/xen-unstable.hg.new/tools/include/xen-foreign'
make[3]: *** [xen-foreign] Error 2
make[3]: Leaving directory `/home/user/xen-unstable.hg.new/tools/include'
make[2]: *** [subdir-install-include] Error 2
make[2]: Leaving directory `/home/user/xen-unstable.hg.new/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/home/user/xen-unstable.hg.new/tools'
make: *** [install-tools] Error 2

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.