MA101 and 9.1 driver install

"Jeff Meeks" <jeff.meeks-pozgTuqYdP5Wk0Htik3J/[email protected]> Fri, 22 Aug 2003 08:38:37 -0700
Newsgroups gmane.linux.drivers.atmel-wlan
Message-ID <004501c368c3$75fb70f0$0200a8c0@MeeksHP>
First off, thanks to the moderator for providing such a valuable venue
for wirless networking issues under Linux. Even with my marginal level
of linux literacy, I learn a great deal from it. I am still very much on
the vertical part of the learning curve. 

During my recent mandrake 9.1 install I repartitioned my thinkpad 600e
6gb fat32 hdd into a 3gb win 98 dual boot using the mandrake default
formatter. I then installed mandrake 9.1 from the iso images. When I
installed it with my ma101 rev b plugged in, I got a kernel panic. I
restarted the install with it unplugged, and didn't attempt to install a
driver from the setup wizard. It now works fine (except no network, of
course)
I'm trying to get the ma101 running, I've followed the howto at
http://atmelwlandriver.sourceforge.net/howto/howto.html but found enough
idiosyncracies that cause me a bit of trouble.

The most obvious problem comes when I attempt to compile the 2.1.2.2
atmelwlan driver (the most recent available file). Here's the log of
what happened, I'm sure you can follow it. The suspect replies are
prefaced with >>
+++++++++++++++++++++++++++
[jeffm@localhost atmelwlandriver]$ su
Password:
[root@localhost atmelwlandriver]# ls
CHANGES  COPYING  Makefile  man/  objs/  patch/  README  scripts/  src/
[root@localhost atmelwlandriver]# make config
Build all [y/N] : n
Set extra module version information [y/N] : n
Build Debug version [y/N] : n
Build USB Drivers [y/N] : y
Build USB 503A RFMD Driver [y/N] : y
Build USB RFMD 505 Driver [y/N] : n
Build USB RFMD 505 + 2958 Driver [y/N] : y
Build PCMCIA Drivers [y/N] : n
Build miniPCI Driver [y/N] : n
Build applications [y/N] : n
>>X Windows include files missing
>>Kernel Version Running 2.4.21-0.13mdk
>>Found Kernel Source Directory ()
Finished. Now run make clean, all, install
[root@localhost atmelwlandriver]# make clean all install
find . -name '*.o' -o -name '*.map' |xargs rm -f
Building src/usb
make[1]: Entering directory `/home/jeffm/.gnome-
desktop/drivers_wireless/atmelwlandriver/src/usb'
for i in  rfmd r505_2958; do make $i || exit 1; done
make[2]: Entering directory `/home/jeffm/.gnome-
desktop/drivers_wireless/atmelwlandriver/src/usb'
make[3]: Entering directory `/home/jeffm/.gnome-
desktop/drivers_wireless/atmelwlandriver/src/usb'
make[3]: Leaving directory `/home/jeffm/.gnome-
desktop/drivers_wireless/atmelwlandriver/src/usb'
make final CFLAGS:='-D__KERNEL__ -O3 -fno-strict-aliasing
-fomit-frame-pointer -
pipe         -I/include -I/home/jeffm/.gnome-
desktop/drivers_wireless/atmelwlandriver/src/includes
-I/home/jeffm/.gnome-
desktop/drivers_wireless/atmelwlandriver/src/includes/usb -Wall  -DRFMD'

MODULE:='usbvnetr.o'
make[3]: Entering directory `/home/jeffm/.gnome-
desktop/drivers_wireless/atmelwlandriver/src/usb'
gcc -D__KERNEL__ -O3 -fno-strict-aliasing -fomit-frame-pointer -pipe
-
I/include -I/home/jeffm/.gnome-
desktop/drivers_wireless/atmelwlandriver/src/includes
-I/home/jeffm/.gnome-
desktop/drivers_wireless/atmelwlandriver/src/includes/usb -Wall  -DRFMD
-c -o 
callbacks.o callbacks.c
>>make[3]: gcc: Command not found
>>make[3]: *** [callbacks.o] Error 127
make[3]: Leaving directory `/home/jeffm/.gnome-
desktop/drivers_wireless/atmelwlandriver/src/usb'
>>make[2]: *** [rfmd] Error 2
make[2]: Leaving directory `/home/jeffm/.gnome-
desktop/drivers_wireless/atmelwlandriver/src/usb'
>>make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/jeffm/.gnome-
desktop/drivers_wireless/atmelwlandriver/src/usb'
>>make: *** [all] Error 1
[root@localhost atmelwlandriver]# gcc
bash: gcc: command not found
[root@localhost atmelwlandriver]#
+++++++++++++++++++++++++++++++++
Unsurprisingly, the driver is not in the directory it is supposed to be.

I'm wondering if the kernel source is perhaps not installed, I'm also
wondering if I should retry a fresh install with the mandrake-supplied
atmel driver (but with the device unplugged) and tweak it from there.

I throw my ignorance at your mercy. What am I doing wrong?

Thanks
Jeff Meeks