LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   madwifi drivers on debian (compile errors) (http://www.linuxquestions.org/questions/linux-wireless-networking-41/madwifi-drivers-on-debian-compile-errors-275425/)

Erik Thorsson 01-08-2005 12:37 PM

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

Hangdog42 01-08-2005 02:09 PM

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.

Erik Thorsson 01-08-2005 09:21 PM

Yes, I added that line to /etc/kernel-pkg.conf. Still getting the same error. :(

Erik Thorsson 01-08-2005 10:50 PM

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


All times are GMT -5. The time now is 01:18 AM.