Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Redhat / Fedora Linux Help > Can't install madwifi
 Redhat / Fedora Linux Help   Help and discussion related to Redhat and Fedora Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Closed Thread
 
Thread Tools Display Modes
Old 10-16-2008   #1 (permalink)
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]$
arabbani is offline  

Old 10-17-2008   #2 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,153
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)
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline  
Old 10-17-2008   #3 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,153
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.
__________________
Paul

Please do not PM me with requests for help. I will not reply.

Last edited by waterhead; 10-17-2008 at 02:36 AM..
waterhead is offline  
Old 10-17-2008   #4 (permalink)
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.
arabbani is offline  
Old 10-17-2008   #5 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,153
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.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Free Network Mapping Tool for Microsoft® Office Visio® Professional 2007 Users
Don't map your network by hand – let LANsurveyor Express for Microsoft Visio Professional 2007 automatically create network diagrams for you.
subscribe
Free eBook:"Vulnerability Management for Dummies"
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.
subscribe
Google vs The World: The Battle of the Message Security Vendors
With such a powerful name behind it, Google Message Security stands out in a sea of products that do exactly the same thing - or so they say.
subscribe

Safe, Secure Backup


All times are GMT. The time now is 02:32 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2