Are you sure you have the right kernel sources and symbols? It looks to me like it's failing to find <br>anything in /usr/src/linux-source-2.6.18. Which is different from <a href="http://2.6.8.18">2.6.8.18</a>. Something seems amiss here. As for the deleting, I believe that has something to do with MODVERDIR. Only I can'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> <<a href="mailto:rao3@buffalo.edu">rao3@buffalo.edu</a>> 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's the scenario: I'm trying to build a RTL-8180 driver for my<br> wireless card. I've installed linux-sources (I'm running a 2.6.8-18<br>
kernel).<br><br> I should say I've never had to build drivers before; it doesn't look<br> hard, but for some reason I get an error message.<br><br> Here's the funky part: `make' will actually REMOVE all of my source<br>
files when it encounters the error:<br><br> miep@debian:~$ ls rtl8180-0.21<br> AUTHORS ieee80211_crypt.h ieee80211_rx.c<br> Makefile module_unload24 r8180_gct.h r8180_pm.c<br> r8180_wx.h<br> CHANGES ieee80211_crypt_wep.c ieee80211_tx.c<br>
Makefile26 r8180_93cx6.c r8180.h r8180_pm.h README<br> compat24.h ieee802_11.h ieee80211_wx.c<br> module_load r8180_93cx6.h r8180_hw.h r8180_sa2400.c<br> README.adhoc<br>
COPYING ieee80211.h INSTALL<br> module_load24 r8180_core.c r8180_max2820.c r8180_sa2400.h<br> README.master<br> ieee80211_crypt.c ieee80211_module.c LICENSE<br> module_unload r8180_gct.c r8180_max2820.h 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'<br>
<br> WARNING: Symbol version dump /usr/src/linux-source-2.6.18/<br> Module.symvers<br> 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'. Stop.<br> make[1]: *** [_module_/home/miep/rtl8180-0.21] Error 2<br> make[1]: Leaving directory `/usr/src/linux-source-2.6.18'<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'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'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>