about kernel version

elife elife2008 at gmail.com
Fri Dec 15 03:27:24 EST 2006


Hi Dan,
  I downloaded the full kernel source
kernel-2.6.18-20061213.1.olpc.23ec7ff48b3b2fd.src.rpm and build the two
kernel modules sucessfule over it. It's strange that build over
kernel-devel-2.6.18-1.2824.olpc1.i586.rpm failed as metioned in previous
post.

Best Regards!

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
> wrong.
>
> yum install kernel-devel
> cd /path/to/module/source
> make -C /lib/modules/2.6.xxxx/build SUBDIRS=`pwd` modules
> insmod yourmodule.ko
>
> As a side note: using ndiswrapper isn't recommended, for a quite a few
> reasons.  You have been warned :)
>
> Dan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20061215/88d2a197/attachment.html>


More information about the Devel mailing list