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

Re: [Xen-users] xen compilation is giving errors


  • To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Tapas Mishra <mightydreams@xxxxxxxxx>
  • Date: Tue, 1 Mar 2011 10:39:40 +0530
  • Delivery-date: Mon, 28 Feb 2011 21:10:46 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=t3b9pAq04qt0PECpsdcGXqeXMtowjVAz6M+WlOGGzvGkGc/K8IIrBtt8lvHYcOpFu5 oeeGhqPI4jA3Zg8KH5JCleX9iKgsX1PsvSsqzSRyC4m095T8sZyysNtcKQmoapjZev9Q ZKX+kQgxTbiPHXwjX4NCaFtYEWw3zjyfUFt0U=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Tue, Mar 1, 2011 at 10:01 AM, Fajar A. Nugraha <list@xxxxxxxxx> wrote:
> On Tue, Mar 1, 2011 at 11:22 AM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
>>> Is there a way to undo things specially for the make commands?
>> Ok I read the Makefile
>> /mnt/1/fajar/xen-4.0.1/Makefile
>> and found make clean and make uninstall have done the job.(Correct me
>> if I am mistaken here)
>> I think I need to rebuild the kernel 2.6.32.27 and xen etc from here on.
>
> Since you're able to run "xm", you should only need to recompile the
> kernel. Start with setting the options I sent to "y" (if it's
> available, just ignore the ones that doesn't exist on your kernel).
>
Ok I was thinking of copying your .config options from this thread to
the .config of mine if I do that would it be wrong?
Since you mentioned to ignore the ones that don't exist on my kernel.

Also I found when doing make install-tools
the git pull was happening from
buildconfigs/src.git-clone
so I have commented these lines


#               rm -rf $(LINUX_SRCDIR) $(LINUX_SRCDIR).tmp; \
#               mkdir $(LINUX_SRCDIR).tmp; rmdir $(LINUX_SRCDIR).tmp; \
#               $(GIT) clone -o $(XEN_GIT_ORIGIN) -n
$(XEN_LINUX_GIT_URL) $(LINUX_SRCDIR).tmp; \
#               (cd $(LINUX_SRCDIR).tmp; git checkout -b
$(XEN_LINUX_GIT_LOCALBRANCH) $(XEN_LINUX_GITREV) ); \
#               mv $(LINUX_SRCDIR).tmp $(LINUX_SRCDIR); \


and from buildconfigs/mk.linux-2.6-common


#       rm -rf $(LINUX_DIR)
#       mkdir -p $(LINUX_DIR)
#       rm -rf tmp-linux-$(LINUX_VER) $(LINUX_DIR) $(LINUX_SRCDIR)
#       rm -rf $(LINUX_SRCDIR)

and what I did is I have a copy of linux-2.6-pvops.git so I manually
copied it to
/mnt/1/fajar/xen-4.0.1
and now restarting process of make install-tools

so my question is above way of commenting out git pull lines and then
putting them in xen source dir is wrong or can lead to wrong results?
The only problem being I can not each time do a git pull and wait for
4 hours for 850 Mb to download.
If this is not then I am proceeding this way and going to compile the
new kernel.

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


 


Rackspace

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