LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Wireless Athero+Debian how to set up? (https://www.linuxquestions.org/questions/linux-hardware-18/wireless-athero-debian-how-to-set-up-390600/)

darknails 12-08-2005 01:36 PM

Wireless Athero+Debian how to set up?
 
Hi,

I'm using toshiba tecra S1 which uses Athero wireless lan network card, and Debian. How can I setup the wlan? From informations on the net I guess madwifi is the driver for me but after I downloaded it and type

make KERNELPATH=/usr/src/kernel-source-2.6.8-2-386
(my source is in that directory)

then I see:
Quote:

Checking if all requirements are met... ok.
mkdir -p ./symbols
for i in ./ath_hal ./net80211 ath_rate/sample ./ath; do \
make -C $i || exit 1; \
done
make[1]: Entering directory `/usr/src/modules/madwifi/ath_hal'
cp ./../hal/linux/ah_osdep.c ah_osdep.c
uudecode ./../hal/public/i386-elf.hal.o.uu
cp ./../hal/public/i386-elf.opt_ah.h opt_ah.h
make -C /usr/src/kernel-source-2.6.8 SUBDIRS=/usr/src/modules/madwifi/ath_hal MO DVERDIR=/usr/src/modules/madwifi/ath_hal/../symbols modules
make[2]: Entering directory `/usr/src/kernel-source-2.6.8'
CC [M] /usr/src/modules/madwifi/ath_hal/ah_osdep.o
In file included from include/asm/page.h:15,
from /usr/src/modules/madwifi/ath_hal/../include/compat.h:71,
from <command line>:1:
include/linux/config.h:4:28: error: linux/autoconf.h: No such file or directory
In file included from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /usr/src/modules/madwifi/ath_hal/ah_osdep.c:46:
include/asm/processor.h:67: error: 'CONFIG_X86_L1_CACHE_SHIFT' undeclared here ( not in a function)
include/asm/processor.h:67: error: requested alignment is not a constant
include/asm/processor.h:87: error: array type has incomplete element type
In file included from include/linux/module.h:23,
from /usr/src/modules/madwifi/ath_hal/ah_osdep.c:46:
include/asm/module.h:54:2: error: #error unknown processor family
make[3]: *** [/usr/src/modules/madwifi/ath_hal/ah_osdep.o] Error 1
make[2]: *** [_module_/usr/src/modules/madwifi/ath_hal] Error 2
make[2]: Leaving directory `/usr/src/kernel-source-2.6.8'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/modules/madwifi/ath_hal'
make: *** [all] Error 1

Can anyone tell me how to proceed? thanks so much!

darknails 12-09-2005 05:47 AM

I installed the kernel-headers and now the error message has changed:

pwd# make

Quote:

Checking if all requirements are met... ok.
mkdir -p ./symbols
for i in ./ath_hal ./net80211 ath_rate/sample ./ath; do \
make -C $i || exit 1; \
done
make[1]: Entering directory `/usr/src/modules/madwifi/ath_hal'
make -C /usr/src/kernel-headers-2.6.8-2-386 SUBDIRS=/usr/src/modules/madwifi/ath_hal MODVERDIR=/usr/src/modules/madwifi/ath_hal/../symbols modules
make[2]: Entering directory `/usr/src/kernel-headers-2.6.8-2-386'
CC [M] /usr/src/modules/madwifi/ath_hal/ah_osdep.o
In file included from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /usr/src/modules/madwifi/ath_hal/ah_osdep.c:46:
include/asm/processor.h:87: error: array type has incomplete element type
make[3]: *** [/usr/src/modules/madwifi/ath_hal/ah_osdep.o] Error 1
make[2]: *** [_module_/usr/src/modules/madwifi/ath_hal] Error 2
make[2]: Leaving directory `/usr/src/kernel-headers-2.6.8-2-386'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/modules/madwifi/ath_hal'
make: *** [all] Error 1



All times are GMT -5. The time now is 03:49 PM.