From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1FuvK0-0002Df-Qp for garchives@archives.gentoo.org; Mon, 26 Jun 2006 17:56:29 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k5QHrKxp015576; Mon, 26 Jun 2006 17:53:20 GMT Received: from kivasystems.com (mail.kivasystems.com [204.14.67.10]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k5QHrIhN003136 for ; Mon, 26 Jun 2006 17:53:18 GMT Received: from localhost (localhost [127.0.0.1]) by kivasystems.com (Postfix) with ESMTP id 615C5BE6833 for ; Mon, 26 Jun 2006 13:53:17 -0400 (EDT) Received: from kivasystems.com ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07549-01 for ; Mon, 26 Jun 2006 13:53:11 -0400 (EDT) Received: from [10.100.4.237] (woodstock.kivasystems.com [10.100.4.237]) by kivasystems.com (Postfix) with ESMTP id E5CC2BE67EE for ; Mon, 26 Jun 2006 13:53:10 -0400 (EDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org Mime-Version: 1.0 (Apple Message framework v750) In-Reply-To: <84ac67910606261040x194e1d53h5aa2b626acb7355a@mail.gmail.com> References: <80036D36-DA30-457C-A419-EBA5582CC523@kivasystems.com> <84ac67910606261040x194e1d53h5aa2b626acb7355a@mail.gmail.com> Content-Type: multipart/alternative; boundary=Apple-Mail-4--908985999 Message-Id: <1F1C7BA1-DBC9-4CE1-87AB-7EC237583BF4@kivasystems.com> From: Joshua ChaitinPollak Subject: Re: [gentoo-embedded] Specify Kernel Version for Module emerge Date: Mon, 26 Jun 2006 13:53:09 -0400 To: gentoo-embedded@lists.gentoo.org X-Mailer: Apple Mail (2.750) X-Virus-Scanned: by amavisd-new at kivasystems.com X-Archives-Salt: 8ba0c948-57b3-4183-b0c9-85a1e8af27f4 X-Archives-Hash: 39ab17cfc1f158339128bca9f62bc241 --Apple-Mail-4--908985999 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed I am building the module inside the chrooted environment. It seems that the kernel module ebuild's use uname to figure out which kernel version to compile against, because my desktop is running 2.6.15- gentoo-r2 and the ebuild fails with "/lib/modules/2.6.15-gentoo-r2/ build is missing" I just now realized the error also says "Please set KERNELPATH", so I'm going to try setting that and see if it helps. -Josh On Jun 26, 2006, at 1:40 PM, Ahmed Ammar wrote: > Sorry how did you build your kernel ? Did you not build it inside > the same chroot ? and is it in ($chroot)/usr/src/linux ? > > Because if you chroot into your dev setup then you will have _no_ > access to the desktop machine's files etc (from within the chroot) > and therfore emerging inside the chroot can not use linux source > outside the chroot. You must be either doing something wrong or > doing this in a way very different from how I would. > > Ahmed. > > On 26/06/06, Joshua ChaitinPollak wrote: > I'm trying to emerge the madwifi-ng module into my embedded system's > dev environment, but the ebuild is trying compile against the kernel > version installed on my desktop, not the version installed in the > chrooted development environment. Is there a way to force external > module ebuilds to use a specific kernel version? > > Thanks, > > -Josh > > -- > Joshua ChaitinPollak > Software Engineer > Kiva Systems > > > -- > gentoo-embedded@gentoo.org mailing list > > -- Joshua ChaitinPollak Software Engineer Kiva Systems --Apple-Mail-4--908985999 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 I am building the module inside = the chrooted environment. It seems that the kernel module ebuild's use = uname to figure out which kernel version to compile against, because my = desktop is running 2.6.15-gentoo-r2 and the ebuild fails with = "/lib/modules/2.6.15-gentoo-r2/build is missing" I just now realized the = error also says "Please set KERNELPATH", so I'm going to try setting = that and see if it helps.

-Josh

On = Jun 26, 2006, at 1:40 PM, Ahmed Ammar wrote:

Sorry how = did you build your kernel ? Did you not build it inside the same chroot = ? and is it in ($chroot)/usr/src/linux ?

Because if you chroot = into your dev setup then you will have _no_ access to the desktop = machine's files etc (from within the chroot) and therfore emerging = inside the chroot can not use linux source outside the chroot. You must = be either doing something wrong or doing this in a way very different = from how I would.

Ahmed.

On 26/06/06, Joshua = ChaitinPollak <jpollak@kivasystems.com> = wrote:
I'm trying to emerge the madwifi-ng module into my embedded = system's
dev environment, but the ebuild is trying compile against = the kernel
version installed on my desktop, not the version installed = in the
chrooted development environment. Is there a way to force = external
module ebuilds to use a specific kernel = version?

Thanks,

-Josh

--
Joshua = ChaitinPollak
Software Engineer
Kiva Systems


--
gentoo-embedded@gentoo.org = mailing = list



=
--=A0
Joshua ChaitinPollak
Software = Engineer
Kiva Systems

=

= --Apple-Mail-4--908985999-- -- gentoo-embedded@gentoo.org mailing list