Hi Friends,
I am trying to install madwifi on fedora 12. I am getting following error which i "make" the project.
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9574: error: initialization from incompatible pointer type
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9580: error: initialization from incompatible pointer type
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9586: error: initialization from incompatible pointer type
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9592: error: initialization from incompatible pointer type
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9598: error: initialization from incompatible pointer type
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9604: error: initialization from incompatible pointer type
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9610: error: initialization from incompatible pointer type
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9616: error: initialization from incompatible pointer type
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9623: error: initialization from incompatible pointer type
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9630: error: initialization from incompatible pointer type
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9636: error: initialization from incompatible pointer type
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9642: error: initialization from incompatible pointer type
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9648: error: initialization from incompatible pointer type
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9654: error: initialization from incompatible pointer type
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9660: error: initialization from incompatible pointer type
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9667: error: initialization from incompatible pointer type
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9673: error: initialization from incompatible pointer type
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9680: error: initialization from incompatible pointer type
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9686: error: initialization from incompatible pointer type
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_announce':
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9779: error: 'struct net_device' has no member named 'priv'
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_rcv_dev_event':
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9926: error: 'struct net_device' has no member named 'priv'
/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.c:9928: error: 'struct net_device' has no member named 'open'
make[3]: *** [/home/nctuns/Desktop/madwifi-0.9.4/ath/if_ath.o] Error 1
make[2]: *** [/home/nctuns/Desktop/madwifi-0.9.4/ath] Error 2
make[1]: *** [_module_/home/nctuns/Desktop/madwifi-0.9.4] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32.11-99.fc12.i686'
make: *** [modules] Error 2
[nctuns@localhost madwifi-0.9.4]$
Please help.
Thanks,
Vivek
---------- Post added at 02:20 PM CDT ---------- Previous post was at 12:29 PM CDT ----------
If I try to install the previous version of madwifi, I am getting the folowing error.
root@localhost madwifi-0.9.0]# make
Checking requirements... ok.
Checking kernel configuration... /bin/sh: -c: line 0: syntax error near unexpected token `|'
/bin/sh: -c: line 0: `echo char *uts_release = UTS_RELEASE; | grep -q -i '^[2-9]\.[4-9]\.' || { \'
make: *** [configcheck] Error 2
[root@localhost madwifi-0.9.0]#
Please help.
Thanks,
Vivek