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...
for i in ./ath_hal ath_rate/onoe ./net80211 ./ath; do \
(cd $i; make) || exit 1; \
make: 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: Entering directory `/lib/modules/2.6.8-1-386/build'
make: *** No rule to make target `modules'. Stop.
make: Leaving directory `/lib/modules/2.6.8-1-386/build'
make: *** [all] Error 2
make: Leaving directory `/home/jlucas/madnoworkie/madwifi-20041023.orig/madwifi/ath_hal'
make: *** [all] Error 1
What am I missing here? I'm sure it's a simple fix.
Did you actually follow all the steps on the page you link to? The reason I'm asking is this:
Yes, I added that line to /etc/kernel-pkg.conf. Still getting the same error. :(
Okay. Got it working. Don't know what the problem was with compiling, but I started all over and followed the instructions here...
...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.
|All times are GMT -5. The time now is 09:32 AM.|