LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 01-08-2005, 12:37 PM   #1
Erik Thorsson
Member
 
Registered: Jun 2004
Location: NYC
Distribution: Fedora Core 1
Posts: 64

Rep: Reputation: 15
madwifi drivers on debian (compile errors)


I'm trying to build the madwifi drivers from source, since there doesn't seem to be any way to apt-get them. I installed and unpacked the kernel source, and kernel headers, then I copied /boot/config-2.6.8-1-386 to /usr/src/kernel-source-2.6.8/.config like it says to do in the madwifiwiki ath0 on debian page (http://madwifiwiki.thewebhost.de/wiki/Ath0OnDebian). This is a Debian Sarge machine. Here is my sad output...

[START]

yew:/home/jlucas/madnoworkie/madwifi-20041023.orig/madwifi# make
for i in ./ath_hal ath_rate/onoe ./net80211 ./ath; do \
(cd $i; make) || exit 1; \
done
make[1]: Entering directory `/home/jlucas/madnoworkie/madwifi-20041023.orig/madwifi/ath_hal'
make -C /lib/modules/2.6.8-1-386/build SUBDIRS=/home/jlucas/madnoworkie/madwifi-20041023.orig/madwifi/ath_hal modules
make[2]: Entering directory `/lib/modules/2.6.8-1-386/build'
make[2]: *** No rule to make target `modules'. Stop.
make[2]: Leaving directory `/lib/modules/2.6.8-1-386/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jlucas/madnoworkie/madwifi-20041023.orig/madwifi/ath_hal'
make: *** [all] Error 1
yew:/home/jlucas/madnoworkie/madwifi-20041023.orig/madwifi#

[END]

What am I missing here? I'm sure it's a simple fix.

Help?

-Erik
 
Old 01-08-2005, 02:09 PM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,780
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Did you actually follow all the steps on the page you link to? The reason I'm asking is this:

Quote:
now before re-building the kernel, I modified /etc/kernel-pkg.conf to include the line:

do_clean := No

this can be necessary because the madwifi driver wants some built executables for compiling. Newer versions of the driver (from mid-March, 2004) will build without this step.
Some wireless drivers have actually requried the user to have compiled their own kernel first, and it looks to me like this is a way around having to do that.
 
Old 01-08-2005, 09:21 PM   #3
Erik Thorsson
Member
 
Registered: Jun 2004
Location: NYC
Distribution: Fedora Core 1
Posts: 64

Original Poster
Rep: Reputation: 15
Yes, I added that line to /etc/kernel-pkg.conf. Still getting the same error.
 
Old 01-08-2005, 10:50 PM   #4
Erik Thorsson
Member
 
Registered: Jun 2004
Location: NYC
Distribution: Fedora Core 1
Posts: 64

Original Poster
Rep: Reputation: 15
Okay. Got it working. Don't know what the problem was with compiling, but I started all over and followed the instructions here...

http://www.marlow.dk/site.php/tech/madwifi

...to the letter and everything worked smoothly. You'll have to apt-get kernel-source-whateverversionyourkernelis, and a few other packages, before you get to the point where you can start following the instructions, but if you have some experience with Linux it should be do-able.

Good luck.

-E
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
MadWiFi make errors PhilHalf Linux - Newbie 1 07-07-2005 03:24 AM
madwifi errors Murph00009 Linux - Wireless Networking 7 01-10-2005 05:58 AM
Madwifi compile problems Hockeyfan Linux - Wireless Networking 5 11-19-2004 06:06 PM
MADWifi compile problems MysteriousRevC Linux - Newbie 2 08-28-2004 02:35 PM
MADWifi compile problems MysteriousRevC Linux - Networking 1 08-28-2004 02:18 PM


All times are GMT -5. The time now is 12:44 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration