#845: Fails to build on Fedora Rawhide (and 2.6.18rc4) kernels
-----------------------------+----------------------------------------------
 Reporter:  anonymous        |            Owner:       
     Type:  defect           |           Status:  new  
 Priority:  major            |        Milestone:       
Component:  madwifi: driver  |          Version:  trunk
 Keywords:                   |   Patch_attached:  1    
-----------------------------+----------------------------------------------
 Compiling magwifi-ng 20060816 snapshot on Fedora rawhide kernel fails
 with:

 make[1]: Entering directory `/usr/src/kernels/2.6.17-1.2583.fc6-i686'
   CC [M]  /home/ian/src/madwifi-ng-r1705-20060816.orig/ath/ah_osdep.o
 In file included from /home/ian/src/madwifi-ng-r1705-
 20060816.orig/ath/../hal/linux/ah_osdep.c:44,
                  from /home/ian/src/madwifi-ng-r1705-
 20060816.orig/ath/ah_osdep.c:2:
 include/linux/config.h:6:2: error: #warning Including config.h is
 deprecated.
 make[3]: *** [/home/ian/src/madwifi-ng-r1705-20060816.orig/ath/ah_osdep.o]
 Error 1
 make[2]: *** [/home/ian/src/madwifi-ng-r1705-20060816.orig/ath] Error 2
 make[1]: *** [_module_/home/ian/src/madwifi-ng-r1705-20060816.orig] Error
 2
 make[1]: Leaving directory `/usr/src/kernels/2.6.17-1.2583.fc6-i686'
 make: *** [modules] Error 2

 The current Fedora rawhide kernel (2.6.17-1.2586.fc6) is really 2.6.18-rc4
 with patches.  Replacing all "#include <linux/config.h>" with "#include
 <linux/autoconf.h>" fixes the problem.  I have attached a patch which does
 this.  My impression is that autoconf.h is available in older 2.6 kernels
 and config.h was kept for backward compatibility and is finally being
 deprecated in 2.6.18.

-- 
Ticket URL: <http://madwifi.org/ticket/845>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to