[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problem with building kernel module



Greetings all,

I wrote a "hello world" kernel module ( very simple, only printk() ),
when I trying to build the kernel, an error will happen:

 Building modules, stage 2.
 MODPOST
/bin/sh: scripts/mod/modpost: No such file or directory
make[1]: *** [__modpost] Error 127
make: *** [modules] Error 2
make: Leaving directory `/usr/src/linux-source-2.6.18'

How can I have that modpost there? The "make oldconfig && make
prepare" has already done.
Any suggestion is appreciated.

Deephay



Reply to: