#1048: Madwifi svn doesn't compile with kernel >=2.6.20
---------------------------------+------------------------------------------
Reporter: anonymous | Owner: proski
Type: defect | Status: closed
Priority: major | Milestone:
Component: madwifi: other | Version:
Resolution: fixed | Keywords:
Patch_attached: 0 |
---------------------------------+------------------------------------------
Comment (by anonymous):
Using linux-2.6.20-rc6-mm2 madwfi is broken again:
$ make KERNELPATH=/usr/src/linux-2.6.20-rc6-mm2
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /usr/src/linux-2.6.20-rc6-mm2
SUBDIRS=/home/nx/code/svn/kernel/madwifi modules
make[1]: Entering directory `/usr/src/linux-2.6.20-rc6-mm2'
CC [M] /home/nx/code/svn/kernel/madwifi/ath/if_ath.o
In file included from <command line>:1:
/home/nx/code/svn/kernel/madwifi/ath/../include/compat.h:84:1: error:
"__packed" redefined
In file included from include/linux/compiler-gcc4.h:4,
from include/linux/compiler.h:42,
from include/linux/stddef.h:4,
from include/linux/posix_types.h:4,
from include/linux/types.h:14,
from
/home/nx/code/svn/kernel/madwifi/ath/../include/compat.h:43,
from <command line>:1:
include/linux/compiler-gcc.h:30:1: error: this is the location of the
previous definition
/home/nx/code/svn/kernel/madwifi/ath/if_ath.c: In function
'ath_vap_create':
/home/nx/code/svn/kernel/madwifi/ath/if_ath.c:1155: error: 'struct
net_device' has no member named 'class_dev'
/home/nx/code/svn/kernel/madwifi/ath/if_ath.c: In function
'ath_dynamic_sysctl_register':
/home/nx/code/svn/kernel/madwifi/ath/if_ath.c:9610: error: too many
arguments to function 'register_sysctl_table'
/home/nx/code/svn/kernel/madwifi/ath/if_ath.c: In function
'ath_sysctl_register':
/home/nx/code/svn/kernel/madwifi/ath/if_ath.c:9764: error: too many
arguments to function 'register_sysctl_table'
make[3]: *** [/home/nx/code/svn/kernel/madwifi/ath/if_ath.o] Error 1
make[2]: *** [/home/nx/code/svn/kernel/madwifi/ath] Error 2
make[1]: *** [_module_/home/nx/code/svn/kernel/madwifi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20-rc6-mm2'
make: *** [modules] Error 2
--
Ticket URL: <http://madwifi.org/ticket/1048>
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