From: Keir Fraser Subject: Re: Building Modules Against Xen Sources Date: Sun, 29 Apr 2007 10:27:13 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0558060946==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jayson Vantuyl , xen-devel List-Id: xen-devel@lists.xenproject.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --===============0558060946== Content-type: multipart/alternative; boundary="B_3260687235_27556563" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3260687235_27556563 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable On 29/4/07 09:54, "Jayson Vantuyl" wrote: > I'm currently trying to build modules against the kernels created with Xe= n > 3.0.5rc4. >=20 > This used to not be such a problem, as Xen created a kernel directory and= the > built in it.=A0 Plain Jane, nothing fancy. >=20 > I've noticed that somewhere since I did this (which was as recent as 3.0.= 4-1) > the kernel build now does things a bit different.=A0 Apparently there is so= me > sort of build-.... directory where things happen now. >=20 > This is a problem.=A0 I build a number of things against these kernels, not= the > least of which include Coraid's AoE drivers and Redhat's CMAN and DLM stu= ff. You should be able to point your external build at the latter and have it just work: make =ADC /path/to/build-linux-... M=3D$PWD modules -- Keir --B_3260687235_27556563 Content-type: text/html; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Re: [Xen-devel] Building Modules Against Xen Sources On 29= /4/07 09:54, "Jayson Vantuyl" <jvantuyl@engineyard.com> wrot= e:

I'm currently trying to build modules against the kerne= ls created with Xen 3.0.5rc4.

This used to not be such a problem, as Xen created a kernel directory and t= he built in it.=A0 Plain Jane, nothing fancy.

I've noticed that somewhere since I did this (which was as recent as 3.0.4-= 1) the kernel build now does things a bit different.=A0 Apparently there is so= me sort of build-.... directory where things happen now.

This is a problem.=A0 I build a number of things against these kernels, not t= he least of which include Coraid's AoE drivers and Redhat's CMAN and DLM stu= ff.

You should be able to point your external build at the latter and have it j= ust work:
 make –C /path/to/build-linux-... M=3D$PWD modules

 -- Keir
--B_3260687235_27556563-- --===============0558060946== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0558060946==--