LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Finding Kernel for Atmel Wlan Drivers (https://www.linuxquestions.org/questions/linux-wireless-networking-41/finding-kernel-for-atmel-wlan-drivers-346729/)

Tide 07-25-2005 07:29 PM

Finding Kernel for Atmel Wlan Drivers
 
Hello. I'm a linux newbie who has been trying to get the atmel at76c503 wlan driver to work so that I get my Netgear MA-101 rev b wireless adapter up an running on linux. I've done about two days of research trying to solve this problem, but have not had any luck, so as a last resort I've come here to post my question. I should preface the following by stating that I am using knoppix 3.8 installed to my harddrive as my linux distribution. When I try to compile my drivers, I recieve the following errors:

Code:

owner@box:~/at76c503a$ make
mkdir -p .tmp_versions
cp /usr/src/2.6.11/build/.tmp_versions/*.mod /home/owner/at76c503a/.tmp_versions
cp: cannot stat `/usr/src/2.6.11/build/.tmp_versions/*.mod': No such file or directory
make: [modules] Error 1 (ignored)
make -C /usr/src/2.6.11/build SUBDIRS=/home/owner/at76c503a MODVERDIR=/home/owner/at76c503a/.tmp_versions \
EXTRA_CFLAGS=" -DCOMPILE_FIRMWARE_INTO_DRIVER" modules
make: *** /usr/src/2.6.11/build: No such file or directory.  Stop.
make: *** [modules] Error 2
owner@box:~/at76c503a$

I thought the problem was that the makefile wasn't looking in the right directory for the kernel, so I tried changing it to point to to several differerent directories, all to no avail. In fact, the only .tmp_versions folder I can find on my harddrive is the one in my at76c503a directory. Does anyone know what destination I have to set the makefile to in order to be able to compile my driver successfully?

darkleaf 07-26-2005 12:19 PM

I think the make file searches for a rather strange kernel source directory. Usually it's called /usr/src/linux-2.6.11 or /usr/src/linux. Maybe you can set the kernel source path in the configure or don't you have to do that?


All times are GMT -5. The time now is 09:32 PM.