LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-08-2005, 01:36 PM   #1
darknails
Member
 
Registered: Jul 2004
Location: Germany
Distribution: Debian
Posts: 46

Rep: Reputation: 15
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!
 
Old 12-09-2005, 05:47 AM   #2
darknails
Member
 
Registered: Jul 2004
Location: Germany
Distribution: Debian
Posts: 46

Original Poster
Rep: Reputation: 15
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
 
  


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
how to set up printing in debian??? eigenyeugen Debian 8 07-04-2006 05:29 AM
IPtables - Debian set up fredg Linux - Security 4 05-26-2005 05:04 PM
Debian: How do I set wireless (iwconfig) options at boot? muzicman82 Linux - Wireless Networking 1 06-06-2004 11:57 AM
Using set command Debian twantrd Linux - General 0 11-23-2003 03:10 AM
Help me set up debian nic! Ghettozn Linux - Newbie 1 07-23-2003 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:24 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