Find the answer to your Linux question:
Results 1 to 5 of 5
When I try to install madwifi there are some errors. can anyone help me?? Code: [arabbani@localhost madwifi-0.9.4]$ make Checking requirements... ok. Checking kernel configuration... ok. make -C /lib/modules/2.6.26.5-45.fc9.i686/build SUBDIRS=/home/arabbani/Download/madwifi-0.9.4 modules ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Posts
    12

    Can't install madwifi


    When I try to install madwifi there are some errors. can anyone help me??
    Code:
    [arabbani@localhost madwifi-0.9.4]$ make
    Checking requirements... ok.
    Checking kernel configuration... ok.
    make -C /lib/modules/2.6.26.5-45.fc9.i686/build SUBDIRS=/home/arabbani/Download/madwifi-0.9.4 modules
    make[1]: Entering directory `/usr/src/kernels/2.6.26.5-45.fc9.i686'
      CC [M]  /home/arabbani/Download/madwifi-0.9.4/ath/if_ath.o
      CC [M]  /home/arabbani/Download/madwifi-0.9.4/ath/if_ath_pci.o
      LD [M]  /home/arabbani/Download/madwifi-0.9.4/ath/ath_pci.o
      CC [M]  /home/arabbani/Download/madwifi-0.9.4/ath_hal/ah_os.o
      HOSTCC  /home/arabbani/Download/madwifi-0.9.4/ath_hal/uudecode
      UUDECODE /home/arabbani/Download/madwifi-0.9.4/ath_hal/i386-elf.hal.o
      LD [M]  /home/arabbani/Download/madwifi-0.9.4/ath_hal/ath_hal.o
      CC [M]  /home/arabbani/Download/madwifi-0.9.4/ath_rate/amrr/amrr.o
      LD [M]  /home/arabbani/Download/madwifi-0.9.4/ath_rate/amrr/ath_rate_amrr.o
      CC [M]  /home/arabbani/Download/madwifi-0.9.4/ath_rate/minstrel/minstrel.o
      LD [M]  /home/arabbani/Download/madwifi-0.9.4/ath_rate/minstrel/ath_rate_minstrel.o
      CC [M]  /home/arabbani/Download/madwifi-0.9.4/ath_rate/onoe/onoe.o
      LD [M]  /home/arabbani/Download/madwifi-0.9.4/ath_rate/onoe/ath_rate_onoe.o
      CC [M]  /home/arabbani/Download/madwifi-0.9.4/ath_rate/sample/sample.o
      LD [M]  /home/arabbani/Download/madwifi-0.9.4/ath_rate/sample/ath_rate_sample.o
      CC [M]  /home/arabbani/Download/madwifi-0.9.4/net80211/if_media.o
      CC [M]  /home/arabbani/Download/madwifi-0.9.4/net80211/ieee80211.o
      CC [M]  /home/arabbani/Download/madwifi-0.9.4/net80211/ieee80211_beacon.o
      CC [M]  /home/arabbani/Download/madwifi-0.9.4/net80211/ieee80211_crypto.o
      CC [M]  /home/arabbani/Download/madwifi-0.9.4/net80211/ieee80211_crypto_none.o
      CC [M]  /home/arabbani/Download/madwifi-0.9.4/net80211/ieee80211_input.o
      CC [M]  /home/arabbani/Download/madwifi-0.9.4/net80211/ieee80211_node.o
      CC [M]  /home/arabbani/Download/madwifi-0.9.4/net80211/ieee80211_output.o
      CC [M]  /home/arabbani/Download/madwifi-0.9.4/net80211/ieee80211_power.o
    /home/arabbani/Download/madwifi-0.9.4/net80211/ieee80211_power.c: In function 'ieee80211_pwrsave':
    /home/arabbani/Download/madwifi-0.9.4/net80211/ieee80211_power.c:240: error: implicit declaration of function '__skb_append'
    make[3]: *** [/home/arabbani/Download/madwifi-0.9.4/net80211/ieee80211_power.o] Error 1
    make[2]: *** [/home/arabbani/Download/madwifi-0.9.4/net80211] Error 2
    make[1]: *** [_module_/home/arabbani/Download/madwifi-0.9.4] Error 2
    make[1]: Leaving directory `/usr/src/kernels/2.6.26.5-45.fc9.i686'
    make: *** [modules] Error 2
    [arabbani@localhost madwifi-0.9.4]$

  2. #2
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    Try the latest SVN of the driver. Or, if you don't want to mess with SVN, you can get the latest snapshot.

    You can try to diagnose it by checking the file that it chokes on. I'll bet it's missing a package that needs to be installed first. (ieee80211_power.o)
    Please do not send Private Messages to me with requests for help. I will not reply.

  3. #3
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    I have two recent versions of the madwifi source. I checked the file "ieee80211_power.c" and found the function "ieee80211_pwrsave" and there is no command matching "__skb_append".

    So again, try the latest SVN version of the driver.

    EDIT: Because you are using such a recent kernel, you have to use the SVN version of the driver. That's the reason for the error. It's not compatible with your kernel.
    Last edited by waterhead; 10-17-2008 at 02:36 AM.
    Please do not send Private Messages to me with requests for help. I will not reply.

  4. #4
    Just Joined!
    Join Date
    Oct 2008
    Posts
    12
    I tried to use that SVN but couldn't install it.

    So I tried this again:

    # yum install madwifi

    after downloading, everything seemed to be ok and installation was successful. But after installing, there is no change with my atheros wireless adapter. The strange thing is that when I try a madwifi command e.g "ath_pci", It says command not found.

  5. #5
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    This thread is a continuation of another thread:

    http://www.linuxforums.org/forum/red...gging-net.html

    Please do not double post about the same problem, as it is against forum rules!

    This thread is now locked. Refer to my link above for more info on this topic.
    Please do not send Private Messages to me with requests for help. I will not reply.

Posting Permissions

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