Fedora Linux Support Community & Resources Center
  #1  
Old 8th May 2010, 09:50 AM
vivek146 Offline
Registered User
 
Join Date: May 2010
Posts: 1
linuxfedorafirefox
Problem in installing madwifi on fedora 12

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
Reply With Quote
  #2  
Old 8th May 2010, 10:06 AM
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,629
linuxfedorafirefox
Re: Problem in installing madwifi on fedora 12

Try installing kernel-devel and see if the compile gets further along or actually completes.
Code:
su -c 'yum install kernel-devel'
You may need more than that but it's a start.
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #3  
Old 8th May 2010, 10:17 AM
JEO Offline
Registered User
 
Join Date: Jan 2006
Posts: 2,787
linuxfedorafirefox
Re: Problem in installing madwifi on fedora 12

The first errors look like the kernel is too new (or old) for the source that you have. Check what kernel versions it is compatible with.

The second errors look like gcc version incompatible or macros incompatible. Check the required gcc version for that old source. Or try using compat-gcc
Reply With Quote
  #4  
Old 8th May 2010, 12:42 PM
leigh123linux Online
Retired Administrator
 
Join Date: Oct 2006
Posts: 22,375
linuxfedorafirefox
Re: Problem in installing madwifi on fedora 12

The source code is too old for the kernel.



Code:
[leigh@localhost madwifi-0.9.4]$ make
./kernelversion.c:13:30: error: linux/utsrelease.h: No such file or directory
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 1
[leigh@localhost madwifi-0.9.4]$

Try

Code:
su
yum install svn
get the latest source


Code:
svn checkout http://madwifi-project.org/svn/madwifi/trunk madwifi
cd madwifi
make
su
make install
Reply With Quote
Reply

Tags
fedora, installing, madwifi, problem

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
installing Madwifi Fedora 8 fdestcroix Servers & Networking 25 24th May 2008 10:19 AM
installing madwifi help plz! Karim Using Fedora 6 19th July 2007 03:05 PM
problem ?: Hostapd + madwifi-0.9.3 on Fedora core 6 ???????? xula_1983 Servers & Networking 6 16th May 2007 04:13 PM
Need help installing madwifi on FC5 Quiltface Servers & Networking 4 13th April 2006 02:51 AM


Current GMT-time: 09:05 (Wednesday, 30-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat