[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Missing modpost when trying to compile kernel module on 2.6.15
- From: "Jakub Ružička" <yaccobb at centrum dot cz>
- Date: Sat, 18 Mar 2006 21:28:02 +0100
On Sat, 18 Mar 2006 20:17:10 +0100
Flavio Stanchina <flavio at stanchina dot net> wrote:
Jakub Ružička wrote:
I configure kernel sources with make-kpkg(I
wonder how to do it so default values from .config would be used
without asking me on each option), [...]
Use "make oldconfig".
Or, with make-kpkg, use "--config old"; that's how it's explained on my page.
Your page helped me a lot and I followed instructions carefully, but when I cp config from /boot to kernel sources and do
make-kpkg --append-to-version "-flavour" --revision 2.x.y-z --config old configure
it uses values in .config as defaults and asks me on every option. It's annoying to hold enter for few minutes
each time configuring the kernel... I suppose it's PEBKAC case, but if someone know... thanks
Everything seems ok but compilation fails because it can't
find scripts/mod/modpost. Modpost source is here so I guess it is
just not compiled... If is it so, how can I compile modpost without
compiling whole kernel?
Just stop the compilation as soon as modpost gets compiled.
Exactly. It's luckily one of first things compiled so it's not so bad.
Also, "make scripts/mod/" might work, but I didn't try.