Originally Posted by tankqj
Still get this same error.
tankqj@keithrichards:/bin$ cd /home/tankqj/iwlwifi-0.0.32/
Makefile:21: WARNING: $SHELL not set to bash.
Makefile:22: If you experience build errors, try
Makefile:23: 'make SHELL=/bin/bash'.
Kernel Makefile not found at '/lib/modules/2.6.20-16-generic/source'
make: *** [compatible/kversion] Error 1
Sounds like you and I are having the same problem. Perhaps we can work together. What type of laptop are you using? Mine is an Asus G1S but has the same 4965AGN card. Here is what I tried:
My first problem was that the Ubuntu live CD would not run properly. It kept taking me to a console screen that said: "/bin/sh: can't access tty; job control turned off". I followed the fix on this site: http://ubuntuforums.org/showthread.php?t=421588
- now the live CD was able to boot and install.
Now the real problem is getting the Intel 4965AGN to work ...
I think the mac80211 files that come with Ubuntu need to be updated and the kernel recompiled, so I followed the steps at: http://intellinuxwireless.org/?p=mac...HOWTO-mac80211
I made a symbolic link called "source" in /lib/modules/2.6.20-15-generic/ and pointed it to the same place that "build" was pointing to. I.e. /usr/src/linux-headers-2.6.20-15-generic
I did have problems with feisty freezing after an install, but someone told me it was a problem with rc80211_simple, so I just moved it: mv $(modprobe -l rc80211_simple) /root - if your feisty freezes on you, you might have to do that.
For some reason Feisty is not showing up as using the bash shell properly, so at the end of each line I just added SHELL=/bin/bash - not sure if this was necessary, but it didn't hurt.
I also needed to install build-essential and libncurses5-dev, both I was able to get (and their dependencies) from http://packages.ubuntu.com/feisty/devel/build-essential
- I had to download them in my windows partition, because all I have is a wireless connexion so obviously can't run apt-get in linux.
Now when I get to the step where it says to "make modules", I get the following error: "No rule to make target 'arch/i386/kernel/msr.c', needed by 'arch/i386/kernel/msr.o'. Stop."
This is the point I am stuck at now.