[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



Le Dimanche 05 Mars 2006 10:20, Jakub Ružička a écrit :
Hello everyone.

I read through mailing list about modpost and there are some people with
same problem as me, but no solvation. I have Etch with 2.6.15-1-k7 stock
kernel, x.org 6.8 and and fglrx packages (8.20.8) from sid. I am folowing
Flavio's howto (I successfuly compiled module in 2.6.12 that way) - 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), and
run 'module-assistant a-i fglrx'. 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? Any other Ideas ?

Thanks in advance,
Jakub Ružička

Hi,

I had the same problem for each module I tried to build, and I found a 
solution while google-ing a little :

http://www.ussg.iu.edu/hypermail/linux/kernel/0404.2/1005.html

Run make modules_prepare before trying to build your module and it should be 
ok.