Results 1 to 2 of 2

Thread: Madwifi Make Error

  1. #1
    Just burned his ISO
    Join Date
    May 2011
    Location
    Athens, OH
    Posts
    12

    Default Madwifi Make Error

    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#

  2. #2
    Just burned his ISO
    Join Date
    Nov 2011
    Posts
    1

    Default Re: Madwifi Make Error

    Quote Originally Posted by ckcrown View Post
    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#
    i have the same problem what can i do to fix it?
    thank you

Similar Threads

  1. Error on Make && Make install Command
    By KherKhere in forum OLD Newbie Area
    Replies: 1
    Last Post: 01-22-2010, 03:17 PM
  2. make error - help with installing drivers for WG111v2
    By mewoshh in forum OLD Newbie Area
    Replies: 4
    Last Post: 02-23-2009, 08:45 PM
  3. Module madwifi patched removed from svn madwifi.org/ticket/1192
    By soportec in forum OLD BT3final Support
    Replies: 0
    Last Post: 08-06-2008, 02:38 PM
  4. getting make: *** /lib/modules/2.6.21.5/build error
    By jgurer in forum OLD BT3beta General
    Replies: 5
    Last Post: 04-11-2008, 06:50 AM
  5. backtrack 2- Madwifi installation error
    By cronoswing in forum OLD Newbie Area
    Replies: 3
    Last Post: 04-08-2008, 10:23 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •