From: Mark Williamson Subject: Re: building xen-3.1-testing.hg Date: Sat, 5 Jan 2008 21:24:08 +0000 Message-ID: <200801052124.09128.mark.williamson@cl.cam.ac.uk> References: <477FD3C6.9010400@andrew.cmu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <477FD3C6.9010400@andrew.cmu.edu> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: xen-users@lists.xensource.com Cc: sanket hase , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > I cloned xen-3.1-testing.hg from mercurial repository (changeset 15565) . > I was trying to build it. > > I changed base make file to =>KERNELS="linux-2.6-xen0 linux-2.6-xenU" > > 1. make world XEN_TARGET_X86_PAE=n > 2. make install > > Well, at the end, make install fails showing references to undefined > variables in xen-3.1-testing.hg/xen/arch/x86/built_in.o Clean out your repository with a "make clean" then do: make world XEN_TARGET_X86_PAE=n make install XEN_TARGET_X86_PAE=n I think you need to pass the XEN_TARGET argument to all commands, otherwise bad things can happen (in this case, make install is probably doing something crazy like trying to rebuild some objects in Xen - but it's not got the XEN_TARGET option set, so it's failing). Does that make sense? > I understand that repository may not be stable, but it is important for > me to get latest sourcecode. Is there any option to clone hg after a > particular changeset which was relatively stable ? The -testing repository should be always pretty stable since it's just used to queue up smallish bug fixes and minor features for 3.1.x releases. xen-unstable may occasionally break, but the -testing tree should be quite sane, therefore you shouldn't need to take special measures to get a stable tree. Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel!