Hi<span class="gmail_quote"><b class="gmail_sendername"> Dan</b></span>,<br>  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.<br><br>Best Regards!<br><br><div><span class="gmail_quote">On 12/12/06, <b class="gmail_sendername">Dan Williams</b> <<a href="mailto:dcbw@redhat.com">
dcbw@redhat.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You do not need the kernel sourcecode.  You 'yum install kernel-devel'
<br>and then you have the necessary headers.  If you really need the kernel<br>sourcecode for building a kernel module, then something you are doing is<br>wrong.<br><br>yum install kernel-devel<br>cd /path/to/module/source
<br>make -C /lib/modules/2.6.xxxx/build SUBDIRS=`pwd` modules<br>insmod yourmodule.ko<br><br>As a side note: using ndiswrapper isn't recommended, for a quite a few<br>reasons.  You have been warned :)<br><br>Dan<br><br></blockquote>
</div><br>