On Sat, Jun 28, 2008 at 11:53 AM, George Fong <george@xxxxxxxxxxxxxxxxx> wrote: > Hi guys > > Not sure if this is a bug but I have not been able to make the compat wireless > drivers. > > I am running off Fedora 9 (x86_64) with kernel 2.6.25.6-55.fc9.x86_64. I am > interested in the iwl4965 driver. > > Everything goes OK until we hit the compilation of part of the b43 driver. > This is what I get: > > /home/george/Download/compat-wireless-2008-06-28/drivers/net/wireless/b43/rfkill.c: > In function 'b43_rfkill_soft_toggle': > /home/george/Download/compat-wireless-2008-06-28/drivers/net/wireless/b43/rfkill.c:91: > error: 'RFKILL_STATE_UNBLOCKED' undeclared (first use in this function) > /home/george/Download/compat-wireless-2008-06-28/drivers/net/wireless/b43/rfkill.c:91: > error: (Each undeclared identifier is reported only once > /home/george/Download/compat-wireless-2008-06-28/drivers/net/wireless/b43/rfkill.c:91: > error: for each function it appears in.) > /home/george/Download/compat-wireless-2008-06-28/drivers/net/wireless/b43/rfkill.c:101: > error: 'RFKILL_STATE_SOFT_BLOCKED' undeclared (first use in this function) > make[4]: *** > [/home/george/Download/compat-wireless-2008-06-28/drivers/net/wireless/b43/rfkill.o] > Error 1 > make[3]: *** > [/home/george/Download/compat-wireless-2008-06-28/drivers/net/wireless/b43] > Error 2 > make[2]: *** > [/home/george/Download/compat-wireless-2008-06-28/drivers/net/wireless] Error > 2 > make[1]: *** [_module_/home/george/Download/compat-wireless-2008-06-28] Error > 2 > make[1]: Leaving directory `/usr/src/kernels/2.6.25.6-55.fc9.x86_64' > make: *** [modules] Error 2 > > It is entirely likely that I am doing something wrong but I don't know what. > > Hope this is all OK to report. > > Cheers > G, > > > -- > George Fong > Lateral Plains Pty Ltd > Tel: +61 3 53 302 880 > Fax: +61 3 53 302 881 > Just remember, wherever you go .... there you are. > Try editing drivers/net/wireless/b43/rfkill.c, and replacing RFKILL_STATE_UNBLOCKED with RFKILL_STATE_ON and RFKILL_STATE_SOFT_BLOCKED with RFKILL_STATE_OFF. Looks like rfkill is not part of the compat package, and no work has been done to match compat-wireless to older RFKILLs. -- Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-) -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html