about kernel version
elife2008 at gmail.com
Thu Dec 14 17:40:45 EST 2006
Thanks for your reply. I tried your method but encountered below error
while compiled kernel module:
make: *** [/home/elife/sw/src/2.6.18/dm9601.o] error 136
make: *** [_module_/home/elife/sw/src/2.6.18] error 2
make: Leaving directory `/usr/src/kernels/2.6.18-1.2824.olpc1-i586'
Same error occured when I build another kernel module. If I point kernel
path to olpc-2.6, they are build fine. Is kernel-develop package not enough?
My toolchain is:
gcc version 4.0.1 (4.0.1-5mdk for Mandriva Linux release 2006.0)
GNU ld version 188.8.131.52.1 20060427
On 12/12/06, Dan Williams <dcbw at redhat.com> wrote:
> You do not need the kernel sourcecode. You 'yum install kernel-devel'
> and then you have the necessary headers. If you really need the kernel
> sourcecode for building a kernel module, then something you are doing is
> yum install kernel-devel
> cd /path/to/module/source
> make -C /lib/modules/2.6.xxxx/build SUBDIRS=`pwd` modules
> insmod yourmodule.ko
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel