orospakr@orospakr-laptop:~/code/others/iwlwifi$ make
Makefile:11:
Makefile:12: WARNING: $SHELL not set to bash.
Makefile:13: If you experience build errors, try
Makefile:14: 'make SHELL=/bin/bash'.
Makefile:15:
Checking kernel compatibility in:
/lib/modules/2.6.22-6-generic/source
* Kernel supports required features for 'tip' version.
Building compatibility version in 'compatible/' directory:
Copying compatible/ from origin/...done
make -C /lib/modules/2.6.22-6-generic/source O=/lib/modules/2.6.22-6-generic/build M=/home/orospakr/code/others/iwlwifi/compatible/ modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-6-generic'
CC [M] /home/orospakr/code/others/iwlwifi/compatible/base-3945.o
CC [M] /home/orospakr/code/others/iwlwifi/compatible/iwl-3945.o
CC [M] /home/orospakr/code/others/iwlwifi/compatible/iwl-3945-rs.o
/home/orospakr/code/others/iwlwifi/compatible/iwl-3945-rs.c:43:44: error: ../net/mac80211/ieee80211_rate.h: No such file or directory
/home/orospakr/code/others/iwlwifi/compatible/iwl-3945-rs.c:336: warning: struct sta_info declared inside parameter list
/home/orospakr/code/others/iwlwifi/compatible/iwl-3945-rs.c:336: warning: its scope is only this definition or declaration, which is probably not what you want
/home/orospakr/code/others/iwlwifi/compatible/iwl-3945-rs.c:336: warning: struct ieee80211_local declared inside parameter list