From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: XCP: how to build dom0 kernel Date: Tue, 8 Jun 2010 08:22:48 +0100 Message-ID: <1275981768.13620.6.camel@localhost.localdomain> References: <20100608065641.A0B0E719F7@kuma.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20100608065641.A0B0E719F7@kuma.localdomain> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: YAMAMOTO Takashi Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Tue, 2010-06-08 at 07:56 +0100, YAMAMOTO Takashi wrote: > hi, > > i tried to build xcp dom0 kernel but no luck. > > 1. install kernel srpm > (kernel-2.6.27.42-0.1.1.xs0.1.1.737.1065.src.rpm from > http://www.xen.org/files/XenCloud/Software/latest/sources/source-1.iso) > > 2. run rpmbuild and got the following error. > # rpmbuild -ba --target i686 kernel-xen.spec Did you edit any files or touch anything between step 1 and step 2? What are the contents of /usr/src/redhat/{SOURCES,SPECS}? > any idea? is there build instructions/scripts/etc somewhere? I would have expected the steps you took to have worked. What is your build environment, just a regular CentOS 5.4 install or something else? Can you try: # rpmbuild --target i686 --rebuild kernel-2.6.27.42-0.1.1.xs0.1.1.737.1065.src.rpm I don't really expect it will make any difference but that is precisely what the XCP build system does so it may be informative. Ian.