From: Ed W <lists@wildgooses.com>
To: linux-wireless@vger.kernel.org
Subject: Compiling against different kernel
Date: Tue, 25 Aug 2009 13:46:47 +0100 [thread overview]
Message-ID: <4A93DD37.5060206@wildgooses.com> (raw)
Hi, I am building a kernel for an embedded 32bit x86 kernel on my x86_64
machine. I have a 32bit x86 build environment in a chroot, but
obviously "uname" still looks like the host
I try to compile compat-wireless (2009-08-24) like this:
make ARCH=x86 KLIB=/usr/src/linux-2.6.30.5-grsecurity-2.1.14-aufs/
KLIB_BUILD=/usr/src/linux-2.6.30.5-grsecurity-2.1.14-aufs/
I get:
FATAL: Could not load
/lib/modules/2.6.29.6-grsec2.1.14-vs2.3.0.36.14/modules.dep: No such
file or directory
FATAL: Could not load
/lib/modules/2.6.29.6-grsec2.1.14-vs2.3.0.36.14/modules.dep: No such
file or directory
./scripts/gen-compat-autoconf.sh config.mk > include/linux/compat_autoconf.h
FATAL: Could not load
/lib/modules/2.6.29.6-grsec2.1.14-vs2.3.0.36.14/modules.dep: No such
file or directory
FATAL: Could not load
/lib/modules/2.6.29.6-grsec2.1.14-vs2.3.0.36.14/modules.dep: No such
file or directory
make -C /usr/src/linux-2.6.30.5-grsecurity-2.1.14-aufs/
M=/usr/src/compat-wireless-2009-08-24 modules
..etc..
(where it's clearly trying to find the modules dir for the running 64bit
kernel, rather than the
I'm looking through the makefile, but I can't see how it's trying to
adapt depmod to use the correct modules.dep?
Can someone please help with the correct incantation to cross compile?
Thanks
Ed W
reply other threads:[~2009-08-25 12:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A93DD37.5060206@wildgooses.com \
--to=lists@wildgooses.com \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.