This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


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

To: "Bhaskar Jayaraman" <Bhaskar.Jayaraman@xxxxxxx>
Subject: Re: [Xen-devel] Error compiling xen-unstable - XEN_LEGACY_MAX_VCPUS
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Wed, 01 Jul 2009 10:25:43 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 01 Jul 2009 02:26:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <F4789BF54654AC44982AC0ED2DE2E64B2CD2142370@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <F4789BF54654AC44982AC0ED2DE2E64B2CD2142370@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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?


>>> "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'
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 
python mkheader.py x86_32 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.h ../../../xen/include/public/xen.h
python mkheader.py ia64 ia64.h ../../../xen/include/public/arch-ia64.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 
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

<Prev in Thread] Current Thread [Next in Thread>