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 <[EMAIL PROTECTED]> 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


--
[email protected] mailing list



-- 
Joshua ChaitinPollak
Software Engineer
Kiva Systems


Reply via email to