Are you sure you have the right&nbsp;kernel sources and symbols? &nbsp;It looks to me like it&#39;s failing to find <br>anything&nbsp;in&nbsp;/usr/src/linux-source-2.6.18. &nbsp;Which is different from <a href="http://2.6.8.18">2.6.8.18</a>. &nbsp;Something seems amiss here. &nbsp;As for the deleting,&nbsp;I&nbsp;believe that has something to do with MODVERDIR. &nbsp;Only I can&#39;t remember what it is right now.<br>
 <br><div><span class="gmail_quote">On 2/27/08, <b class="gmail_sendername">Roelant Ossewaarde</b> &lt;<a href="mailto:rao3@buffalo.edu">rao3@buffalo.edu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
Hi all,<br><br> I have a problem that has me scratching my head in disbelief.<br><br> Here&#39;s the scenario: I&#39;m trying to build a RTL-8180 driver for my<br> wireless card. I&#39;ve installed linux-sources (I&#39;m running a 2.6.8-18<br>
 kernel).<br><br> I should say I&#39;ve never had to build drivers before; it doesn&#39;t look<br> hard, but for some reason I get an error message.<br><br> Here&#39;s the funky part: `make&#39; will actually REMOVE all of my source<br>
 files when it encounters the error:<br><br> miep@debian:~$ ls rtl8180-0.21<br> AUTHORS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ieee80211_crypt.h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ieee80211_rx.c<br> Makefile&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; module_unload24&nbsp;&nbsp;r8180_gct.h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;r8180_pm.c<br> r8180_wx.h<br> CHANGES&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ieee80211_crypt_wep.c&nbsp;&nbsp;ieee80211_tx.c<br>
 Makefile26&nbsp;&nbsp;&nbsp;&nbsp; r8180_93cx6.c&nbsp;&nbsp;&nbsp;&nbsp;r8180.h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;r8180_pm.h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;README<br> compat24.h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ieee802_11.h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ieee80211_wx.c<br> module_load&nbsp;&nbsp;&nbsp;&nbsp;r8180_93cx6.h&nbsp;&nbsp;&nbsp;&nbsp;r8180_hw.h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; r8180_sa2400.c<br> README.adhoc<br>
 COPYING&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ieee80211.h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;INSTALL<br> module_load24&nbsp;&nbsp;r8180_core.c&nbsp;&nbsp;&nbsp;&nbsp; r8180_max2820.c&nbsp;&nbsp;r8180_sa2400.h<br> README.master<br> ieee80211_crypt.c&nbsp;&nbsp;ieee80211_module.c&nbsp;&nbsp;&nbsp;&nbsp; LICENSE<br> module_unload&nbsp;&nbsp;r8180_gct.c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;r8180_max2820.h&nbsp;&nbsp;r8180_wx.c<br>
 miep@debian:~$ cd rtl8180-0.21/<br> miep@debian:~/rtl8180-0.21$ make<br> make -C /lib/modules/2.6.18-5-486/build SUBDIRS=/home/miep/<br> rtl8180-0.21 MODVERDIR=/home/miep/rtl8180-0.21 modules<br> make[1]: Entering directory `/usr/src/linux-source-2.6.18&#39;<br>
<br>&nbsp;&nbsp; WARNING: Symbol version dump /usr/src/linux-source-2.6.18/<br> Module.symvers<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;is missing; modules will have no dependencies and<br> modversions.<br><br> scripts/Makefile.build:17: /home/miep/rtl8180-0.21/Makefile: No such<br>
 file or directory<br> make[2]: *** No rule to make target `/home/miep/rtl8180-0.21/<br> Makefile&#39;.&nbsp;&nbsp;Stop.<br> make[1]: *** [_module_/home/miep/rtl8180-0.21] Error 2<br> make[1]: Leaving directory `/usr/src/linux-source-2.6.18&#39;<br>
 make: *** [2.6] Error 2<br> miep@debian:~/rtl8180-0.21$ ls<br> miep@debian:~/rtl8180-0.21$<br><br> Note the last command: the directory is now EMPTY.<br><br> This has nothing to do with the driver itself; before I installed the<br>
 kernel sources, I got the same error, but no removal of files. Also,<br> the same behavior occurs when I&#39;m trying to build a different driver,<br> in a different directory. I have the feeling something within the<br>
 kernel build system does this, but I cannot believe that anyone would<br> ever code such a destructive procedure.<br><br> I have no clue what&#39;s happening here. Anyone else?<br><br> Thanks,<br><br> Roelant.<br><br> _______________________________________________<br>
 nflug mailing list<br> <a href="mailto:nflug@nflug.org">nflug@nflug.org</a><br> <a href="http://www.nflug.org/mailman/listinfo/nflug">http://www.nflug.org/mailman/listinfo/nflug</a><br></blockquote></div><br>