WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: RE: [Xen-devel] Error compiling xen-unstable - XEN_LEGACY_MAX_VCPUS
From: "Jayaraman, Bhaskar" <Bhaskar.Jayaraman@xxxxxxx>
Date: Wed, 1 Jul 2009 15:58:19 +0530
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 01 Jul 2009 03:28:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A4B47B70200007800008692@xxxxxxxxxxxxxxxxxx>
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> <4A4B47B70200007800008692@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acn6LfEnZG9f3FjoQDudU80wj8acXgAAlYiw
Thread-topic: [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

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