Thanos Stathopoulos
2009-Oct-13 17:08 UTC
[Xen-users] Unable to compile xen-unstable (git error)
Hi everyone, I''ve been trying to compile the latest xen-unstable and have been running into problems with git. I checked out xen-unstable using hg clone. Everything there is up to date. "make world" seems to be working fine up to this point: ... ... walk 54b0d127696aba2ef1ec5430301c968ab539fa0d walk a2a9537ac0b37a5da6fbe7e1e9cb06c524d2a9c4 error: Unable to find 714ed0cf62319b14dc327273a7339a9a199fe046 under http://www.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git Cannot obtain needed object 714ed0cf62319b14dc327273a7339a9a199fe046 while processing commit a2a9537ac0b37a5da6fbe7e1e9cb06c524d2a9c4. fatal: Fetch failed. make[2]: *** [linux-2.6-pvops.git/.valid-src] Error 128 ... ... At the same time, on a separate directory, I checked out the latest linux-2.6-xen from git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git xen/master That checkout worked just fine and I was able to build the kernel in that directory without any problems. Any suggestions on how to get "make world" to work? Alternatively, is it possible to point the xen build script to use the already-compiled kernel? Thanks! -thanos _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Bruce Edge
2009-Oct-13 17:25 UTC
Re: [Xen-users] Unable to compile xen-unstable (git error)
There may be a simpler explanation to this, but here''s what I did and why. I assumed that the kernel build within Xen is currently broken for whatever reason so I built the dom0 kernel separately. (If anyone can shed some light on why, I''d like to know as well) To get the xen build to stop building the kernel (as per the README) you can do: export KERNELS="" Then it builds xen/xen-tools and no kernel. -Bruce On Tue, Oct 13, 2009 at 10:08 AM, Thanos Stathopoulos <astath@gmail.com> wrote:> Hi everyone, > > I''ve been trying to compile the latest xen-unstable and have been > running into problems with git. > > I checked out xen-unstable using hg clone. Everything there is up to date. > > "make world" seems to be working fine up to this point: > > ... > ... > walk 54b0d127696aba2ef1ec5430301c968ab539fa0d > walk a2a9537ac0b37a5da6fbe7e1e9cb06c524d2a9c4 > error: Unable to find 714ed0cf62319b14dc327273a7339a9a199fe046 under > http://www.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > Cannot obtain needed object 714ed0cf62319b14dc327273a7339a9a199fe046 > while processing commit a2a9537ac0b37a5da6fbe7e1e9cb06c524d2a9c4. > fatal: Fetch failed. > make[2]: *** [linux-2.6-pvops.git/.valid-src] Error 128 > ... > ... > > At the same time, on a separate directory, I checked out the latest > linux-2.6-xen from > git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git xen/master > > That checkout worked just fine and I was able to build the kernel in > that directory without any problems. > > Any suggestions on how to get "make world" to work? Alternatively, is > it possible to point the xen build script to use the already-compiled > kernel? > > Thanks! > > -thanos > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users