Hi everyone, my laptop has an Intel 2200 chipset and I'm running Backtrack4 in a hard drive partition. I was trying to install the ieee80211-1.2.17 driver from aircrack-ng so that afterwards I could install the ipw2200 driver to allow for packet injection. The point is, I screwed up at some point, I had to do it again and now when I try to install this driver I get this:

root@bt:~tar zxvf ieee80211-1.2.17.tar.gz
root@bt:~cd ieee80211-1.2.17
root@bt:~/ieee80211-1.2.17# sudo make
Makefile:17:
Makefile:18: WARNING: $SHELL not set to bash
Makefile:19: If you experience build errors, try
Makefile:20: 'make SHELL=/bin/bash'.
Makefile:21:
Checking in /lib/modules/2.6.28.1 for ieee80211 components...
find: File system loop detected; `/lib/modules/2.6.28.1/build/debian/linux-image-2.6.28.1/lib/modules/2.6.28.1/build' is part of the same file system loop as `/lib/modules/2.6.28.1/build'.
find: File system loop detected; `/lib/modules/2.6.28.1/build/debian/linux-image-2.6.28.1/lib/modules/2.6.28.1/source' is part of the same file system loop as `/lib/modules/2.6.28.1/build'.
find: File system loop detected; `/lib/modules/2.6.28.1/source/debian/linux-image-2.6.28.1/lib/modules/2.6.28.1/build' is part of the same file system loop as `/lib/modules/2.6.28.1/source'.
find: File system loop detected; `/lib/modules/2.6.28.1/source/debian/linux-image-2.6.28.1/lib/modules/2.6.28.1/source' is part of the same file system loop as `/lib/modules/2.6.28.1/source'.
find: File system loop detected; `/lib/modules/2.6.28.1/build/debian/linux-image-2.6.28.1/lib/modules/2.6.28.1/build' is part of the same file system loop as `/lib/modules/2.6.28.1/build/'.
find: File system loop detected; `/lib/modules/2.6.28.1/build/debian/linux-image-2.6.28.1/lib/modules/2.6.28.1/source' is part of the same file system loop as `/lib/modules/2.6.28.1/build/'.
make -C /lib/modules/2.6.28.1/build M=/root/ieee80211-1.2.17 modules
make[1]: Entering directory `/usr/src/linux-source-2.6.28.1'
/root/ieee80211-1.2.17/Makefile:17:
/root/ieee80211-1.2.17/Makefile:18: WARNING: $SHELL not set to bash.
/root/ieee80211-1.2.17/Makefile:19: If you experience build errors, try
/root/ieee80211-1.2.17/Makefile:20: 'make SHELL=/bin/bash'.
/root/ieee80211-1.2.17/Makefile:21:
CC [M] /root/ieee80211-1.2.17/ieee80211_module.o
/root/ieee80211-1.2.17/ieee80211_module.c: In function ‘ieee80211_init’:
/root/ieee80211-1.2.17/ieee80211_module.c:267: error: ‘proc_net’ undeclared (first use in this function)
/root/ieee80211-1.2.17/ieee80211_module.c:267: error: (Each undeclared identifier is reported only once
/root/ieee80211-1.2.17/ieee80211_module.c:267: error: for each function it appears in.)
/root/ieee80211-1.2.17/ieee80211_module.c: In function ‘ieee80211_exit’:
/root/ieee80211-1.2.17/ieee80211_module.c:296: error: ‘proc_net’ undeclared (first use in this function)
make[2]: *** [/root/ieee80211-1.2.17/ieee80211_module.o] Error 1
make[1]: *** [_module_/root/ieee80211-1.2.17] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.28.1'
make: *** [modules] Error 2
root@bt:~/ieee80211-1.2.17#

I know that if I had to do it now I wouldn't screw up again, but the first time I tried I did something wrong and now I have to undo it before I can install the patch. I'm a big unix noob but this seems to be a really simple error, I tried the aircrack-ng forums but I'm not able to post there, so I hope someone could help me here.