
Originally Posted by
ckcrown
I have no wireless accessability on my backtrack 5. I used madwifi drivers on BT4. I downloaded the src from the site and when I issue the make command I get the error below. I looked all around the net, have not found a solution.
root@bt:~/madwifi-0.9.4# make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.38/build SUBDIRS=/root/madwifi-0.9.4 modules
make[1]: Entering directory `/usr/src/linux-source-2.6.38'
WARNING: Symbol version dump /usr/src/linux-source-2.6.38/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /root/madwifi-0.9.4/ath/if_ath.o
/root/madwifi-0.9.4/ath/if_ath.c:48:26: error: linux/config.h: No such file or directory
In file included from /root/madwifi-0.9.4/ath/../net80211/ieee80211_monitor.h:45,
from /root/madwifi-0.9.4/ath/if_ath.c:71:
/root/madwifi-0.9.4/ath/../ath/if_athvar.h:98: error: conflicting types for 'irqreturn_t'
include/linux/irqreturn.h:16: note: previous declaration of 'irqreturn_t' was here
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_attach':
/root/madwifi-0.9.4/ath/if_ath.c:402: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c:426: error: implicit declaration of function 'init_MUTEX'
/root/madwifi-0.9.4/ath/if_ath.c:678: error: 'struct net_device' has no member named 'open'
/root/madwifi-0.9.4/ath/if_ath.c:679: error: 'struct net_device' has no member named 'stop'
/root/madwifi-0.9.4/ath/if_ath.c:680: error: 'struct net_device' has no member named 'hard_start_xmit'
/root/madwifi-0.9.4/ath/if_ath.c:681: error: 'struct net_device' has no member named 'tx_timeout'
/root/madwifi-0.9.4/ath/if_ath.c:683: error: 'struct net_device' has no member named
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_bstuck_tasklet':
/root/madwifi-0.9.4/ath/if_ath.c:4368: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_node_alloc':
/root/madwifi-0.9.4/ath/if_ath.c:4820: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_node_cleanup':
/root/madwifi-0.9.4/ath/if_ath.c:4855: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_node_free':
/root/madwifi-0.9.4/ath/if_ath.c:4909: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_rx_capture':
/root/madwifi-0.9.4/ath/if_ath.c:5404: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_capture':
/root/madwifi-0.9.4/ath/if_ath.c:5437: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_recv_mgmt':
/root/madwifi-0.9.4/ath/if_ath.c:5502: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_rx_tasklet':
/root/madwifi-0.9.4/ath/if_ath.c:5574: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_grppoll_start':
/root/madwifi-0.9.4/ath/if_ath.c:6013: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_grppoll_stop':
/root/madwifi-0.9.4/ath/if_ath.c:6226: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_wme_update':
/root/madwifi-0.9.4/ath/if_ath.c:6441: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_uapsd_flush':
/root/madwifi-0.9.4/ath/if_ath.c:6460: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_start':
/root/madwifi-0.9.4/ath/if_ath.c:6655: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_tasklet_q0':
/root/madwifi-0.9.4/ath/if_ath.c:7495: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_tasklet_q0123':
/root/madwifi-0.9.4/ath/if_ath.c:7516: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_tasklet':
/root/madwifi-0.9.4/ath/if_ath.c:7551: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_timeout':
/root/madwifi-0.9.4/ath/if_ath.c:7574: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_calibrate':
/root/madwifi-0.9.4/ath/if_ath.c:7937: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_scan_start':
/root/madwifi-0.9.4/ath/if_ath.c:8003: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_scan_end':
/root/madwifi-0.9.4/ath/if_ath.c:8023: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_set_channel':
/root/madwifi-0.9.4/ath/if_ath.c:8041: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_set_coverageclass':
/root/madwifi-0.9.4/ath/if_ath.c:8057: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_mhz2ieee':
/root/madwifi-0.9.4/ath/if_ath.c:8067: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_newstate':
/root/madwifi-0.9.4/ath/if_ath.c:8082: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_setup_stationkey':
/root/madwifi-0.9.4/ath/if_ath.c:8471: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_newassoc':
/root/madwifi-0.9.4/ath/if_ath.c:8631: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_getchannels':
/root/madwifi-0.9.4/ath/if_ath.c:8662: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_xr_rate_setup':
/root/madwifi-0.9.4/ath/if_ath.c:8832: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_setup_subrates':
/root/madwifi-0.9.4/ath/if_ath.c:8861: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_rate_setup':
/root/madwifi-0.9.4/ath/if_ath.c:8904: error: 'struct net_device' has no member named 'priv'
/root/madwifi-0.9.4/ath/if_ath.c: In function 'ath_getstats':
/root/madwifi-0.9.4/ath/if_ath.c:9141: error: 'struct net_device' has no member named 'priv'
make[3]: *** [/root/madwifi-0.9.4/ath/if_ath.o] Error 1
make[2]: *** [/root/madwifi-0.9.4/ath] Error 2
make[1]: *** [_module_/root/madwifi-0.9.4] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.38'
make: *** [modules] Error 2
root@bt:~/madwifi-0.9.4#