LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-24-2004, 04:11 PM   #1
thiqued
LQ Newbie
 
Registered: Jul 2004
Distribution: Mandrake 10
Posts: 23

Rep: Reputation: 15
Error compiling madwifi drivers


I am not terribly literate in any kind of programming language so I am stuck when I try to compile the madwifi drivers and get this:

dave@dlaptop:~/madwifi$ make
for i in ./ath_hal ./net80211 ./ath; do \
(cd $i; make) || exit 1; \
done
make[1]: Entering directory `/home/dave/madwifi/ath_hal'
make -C /lib/modules/2.6.8.1/build SUBDIRS=/home/dave/madwifi/ath_hal modules
make[2]: Entering directory `/opt/kernel/linux-2.6.8.1'
Building modules, stage 2.
MODPOST
make[2]: Leaving directory `/opt/kernel/linux-2.6.8.1'
make[1]: Leaving directory `/home/dave/madwifi/ath_hal'
make[1]: Entering directory `/home/dave/madwifi/net80211'
make -C /lib/modules/2.6.8.1/build SUBDIRS=/home/dave/madwifi/net80211 modules
make[2]: Entering directory `/opt/kernel/linux-2.6.8.1'
CC [M] /home/dave/madwifi/net80211/ieee80211_linux.o
/home/dave/madwifi/net80211/ieee80211_linux.c: In function `ieee80211_sysctl_debug':
/home/dave/madwifi/net80211/ieee80211_linux.c:369: error: too few arguments to function `proc_dointvec'
/home/dave/madwifi/net80211/ieee80211_linux.c:374: error: too few arguments to function `proc_dointvec'
/home/dave/madwifi/net80211/ieee80211_linux.c: At top level:
/home/dave/madwifi/net80211/ieee80211_linux.c:386: warning: initialization from incompatible pointer type
/home/dave/madwifi/net80211/ieee80211_linux.c:391: warning: initialization from incompatible pointer type
make[3]: *** [/home/dave/madwifi/net80211/ieee80211_linux.o] Error 1
make[2]: *** [_module_/home/dave/madwifi/net80211] Error 2
make[2]: Leaving directory `/opt/kernel/linux-2.6.8.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/dave/madwifi/net80211'
make: *** [all] Error 1

The drivers compiled sucessfully when I was using the 2.4 kernel but would no longer compile once I moved to 2.6.8.1. I am compiling the drivers using the newest files from CVS.

Any help would be appreciated.

Thanks,
Dave
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Message Madwifi Drivers Atheros Mandrake 10.1 Help Tunein_Connect Linux - Newbie 5 07-21-2005 02:04 PM
Error compiling Madwifi Drivers kf8rd Linux - Networking 0 06-17-2005 06:08 AM
compiling madwifi Subbeh Mandriva 6 03-07-2005 08:17 PM
MadWifi drivers Nashu Linux - Newbie 1 01-16-2005 02:19 PM
Error when compiling linux-wlan drivers Harimwakairi Linux - Wireless Networking 4 05-24-2003 12:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration