Re: [Madwifi-users] troubles compiling and inserting new modules
Status: Beta
Brought to you by:
otaku
From: Stefano C. <sc...@li...> - 2004-11-01 20:37:20
|
L=C3=AC luned=C3=AC, 2004/11/01 alle 08:49, -0700, Sam Leffler ha scritto: > On Monday 01 November 2004 01:43 am, Stefano Canepa wrote: > > L=C3=AC sabato, 2004/10/30 alle 19:24, +0200, Stefano Canepa ha scritto= : > > > Hi everyone, > > > I am trying to compile and use the new madwifi driver, I am using > > > kernel 2.6.7 and at compile/link time I get many warning like: > > > *** Warning: "ieee80211_beacon_update" [/home/sc/Sviluppo/madwifi/ath= / > > > ath_pci.k o] undefined! > > > If I go on using the generated ath_pci.ko I have the corresponding > > > undefined symbol I /var/log/messages and the module does not install > > > properly. > > > Could someone help me? > > > > > > TIA > > > sc > > > > As nobody unswered me and I found a solution this is the way I compiled > > succefully the new modules for my Netgear 511TIS. > > 1) I had a 2.6.7 kernel and the /usr/src/linux directory contained the > > respective source, I updated kernel source to 2.6.9 > > 2) I check out the madwifi source > > 3) pathc them with the 2.6.8 patch > > 4) ran make oldconfig on the kernel source > > 5) used the install.sh script for 2.6 to include madwifi source into th= e > > kernel ones > > 6) ran make config, to select madwifi driver as a module and change > > other little configuration > > 7) make; make modules; make modules_install; make install > > 8) modified grub config > > 9 reboot > > > > That's all. > > > > Now I have a new question, why this way worked and compiling into and > > external source tree didn't work. I tried to update kernel source and > > compile maadwifi from an esternal source tree but I didn't work. Why? >=20 > I have successfully built the driver from CVS with every released stable = 2.6=20 > kernel available on kernel.org up to and including 2.6.9 (as of last week= ). =20 > I have built it as separate modules and linked into the kernel source tre= e=20 > (using patches/2.6/install.sh). Other than apparent regressions in the=20 > kernel seen as by complaints about undefined symbols everything has worke= d=20 > w/o ANY patches. >=20 > Note this is only for i386. >=20 > That is why noone (at least me) responds to posts of this sort. >=20 > Sam Sam, first of all my previuos email was not sent with the intent to be polemical, I have simply seen that nobody unswered, I solved my problem and whant to document. Now that I read again my email I see I could be misunderstood. I continue not to understand why I and a friend of mine, who tried just to help me, where unable to compile the driver correctly. When I did it for kernel 2.6.7 and for the previous kernel everythink went ok as for you and think many others. Thanks for your help Stefano --=20 Stefano Canepa - email: sc...@li... - www: http://www.stefanocanepa.it Three great virtues of a programmer: laziness, impatience and hubris. Le tre grandi virt=C3=B9 di un programmatore: pigrizia, impazienza e arroga= nza. (Larry Wall) |