orospakr@orospakr-laptop:~/code/others/iwlwifi$ make KSRC=/usr/src/linux-source-2.6.22/ Makefile:22: Makefile:23: WARNING: $SHELL not set to bash. Makefile:24: If you experience build errors, try Makefile:25: 'make SHELL=/bin/bash'. Makefile:26: Checking kernel compatibility in: /usr/src/linux-source-2.6.22/ * Kernel supports required features for 'tip' version. Building compatibility version in 'compatible/' directory: Copying compatible/ from origin/...done make -C /usr/src/linux-source-2.6.22/ O=/usr/src/linux-source-2.6.22/ M=/home/orospakr/code/others/iwlwifi/compatible/ modules make[1]: Entering directory `/usr/src/linux-source-2.6.22' WARNING: Symbol version dump /usr/src/linux-source-2.6.22/Module.symvers is missing; modules will have no dependencies and modversions. 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 CC [M] /home/orospakr/code/others/iwlwifi/compatible/base-4965.o /home/orospakr/code/others/iwlwifi/compatible/base.c:1826: warning: ‘struct ieee80211_ht_capability’ declared inside parameter list /home/orospakr/code/others/iwlwifi/compatible/base.c:1826: warning: its scope is only this definition or declaration, which is probably not what you want /home/orospakr/code/others/iwlwifi/compatible/base.c: In function ‘iwl_fill_probe_req’: /home/orospakr/code/others/iwlwifi/compatible/base.c:1914: error: ‘WLAN_EID_HT_CAPABILITY’ undeclared (first use in this function) /home/orospakr/code/others/iwlwifi/compatible/base.c:1914: error: (Each undeclared identifier is reported only once /home/orospakr/code/others/iwlwifi/compatible/base.c:1914: error: for each function it appears in.) /home/orospakr/code/others/iwlwifi/compatible/base.c:1915: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_ht_capability’ /home/orospakr/code/others/iwlwifi/compatible/base.c:1916: warning: passing argument 2 of ‘d_get_ht_capab’ from incompatible pointer type /home/orospakr/code/others/iwlwifi/compatible/base.c:1917: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_ht_capability’ /home/orospakr/code/others/iwlwifi/compatible/base.c: In function ‘iwl_tx_skb’: /home/orospakr/code/others/iwlwifi/compatible/base.c:2876: error: ‘IEEE80211_TXCTL_HT_MPDU_AGG’ undeclared (first use in this function) /home/orospakr/code/others/iwlwifi/compatible/base.c: At top level: /home/orospakr/code/others/iwlwifi/compatible/base.c:8032: warning: ‘struct ieee80211_ht_additional_info’ declared inside parameter list /home/orospakr/code/others/iwlwifi/compatible/base.c:8032: warning: ‘struct ieee80211_ht_capability’ declared inside parameter list /home/orospakr/code/others/iwlwifi/compatible/base.c: In function ‘sta_ht_info_init’: /home/orospakr/code/others/iwlwifi/compatible/base.c:8047: error: dereferencing pointer to incomplete type /home/orospakr/code/others/iwlwifi/compatible/base.c:8048: error: dereferencing pointer to incomplete type /home/orospakr/code/others/iwlwifi/compatible/base.c:8058: error: dereferencing pointer to incomplete type /home/orospakr/code/others/iwlwifi/compatible/base.c:8058: error: dereferencing pointer to incomplete type /home/orospakr/code/others/iwlwifi/compatible/base.c:8072: error: dereferencing pointer to incomplete type /home/orospakr/code/others/iwlwifi/compatible/base.c:8073: error: dereferencing pointer to incomplete type /home/orospakr/code/others/iwlwifi/compatible/base.c:8078: error: dereferencing pointer to incomplete type /home/orospakr/code/others/iwlwifi/compatible/base.c:8080: error: dereferencing pointer to incomplete type /home/orospakr/code/others/iwlwifi/compatible/base.c: At top level: /home/orospakr/code/others/iwlwifi/compatible/base.c:8092: warning: ‘struct ieee80211_ht_additional_info’ declared inside parameter list /home/orospakr/code/others/iwlwifi/compatible/base.c:8092: warning: ‘struct ieee80211_ht_capability’ declared inside parameter list /home/orospakr/code/others/iwlwifi/compatible/base.c: In function ‘d_conf_ht’: /home/orospakr/code/others/iwlwifi/compatible/base.c:8099: warning: passing argument 1 of ‘sta_ht_info_init’ from incompatible pointer type /home/orospakr/code/others/iwlwifi/compatible/base.c:8099: warning: passing argument 2 of ‘sta_ht_info_init’ from incompatible pointer type /home/orospakr/code/others/iwlwifi/compatible/base.c:8107: error: dereferencing pointer to incomplete type /home/orospakr/code/others/iwlwifi/compatible/base.c: At top level: /home/orospakr/code/others/iwlwifi/compatible/base.c:8114: warning: ‘struct ieee80211_ht_capability’ declared inside parameter list /home/orospakr/code/others/iwlwifi/compatible/base.c:8115: error: conflicting types for ‘d_get_ht_capab’ /home/orospakr/code/others/iwlwifi/compatible/base.c:1826: error: previous declaration of ‘d_get_ht_capab’ was here /home/orospakr/code/others/iwlwifi/compatible/base.c: In function ‘d_get_ht_capab’: /home/orospakr/code/others/iwlwifi/compatible/base.c:8132: error: dereferencing pointer to incomplete type /home/orospakr/code/others/iwlwifi/compatible/base.c:8133: error: dereferencing pointer to incomplete type /home/orospakr/code/others/iwlwifi/compatible/base.c:8135: error: dereferencing pointer to incomplete type /home/orospakr/code/others/iwlwifi/compatible/base.c:8136: error: dereferencing pointer to incomplete type /home/orospakr/code/others/iwlwifi/compatible/base.c:8137: error: dereferencing pointer to incomplete type /home/orospakr/code/others/iwlwifi/compatible/base.c: At top level: /home/orospakr/code/others/iwlwifi/compatible/base.c:8884: error: unknown field ‘conf_ht’ specified in initializer /home/orospakr/code/others/iwlwifi/compatible/base.c:8884: warning: initialization from incompatible pointer type /home/orospakr/code/others/iwlwifi/compatible/base.c:8885: error: unknown field ‘get_ht_capab’ specified in initializer /home/orospakr/code/others/iwlwifi/compatible/base.c:8885: warning: excess elements in struct initializer /home/orospakr/code/others/iwlwifi/compatible/base.c:8885: warning: (near initialization for ‘iwl_hw_ops’) /home/orospakr/code/others/iwlwifi/compatible/base.c:8887: error: unknown field ‘ht_tx_agg_start’ specified in initializer /home/orospakr/code/others/iwlwifi/compatible/base.c:8887: warning: excess elements in struct initializer /home/orospakr/code/others/iwlwifi/compatible/base.c:8887: warning: (near initialization for ‘iwl_hw_ops’) /home/orospakr/code/others/iwlwifi/compatible/base.c:8888: error: unknown field ‘ht_tx_agg_stop’ specified in initializer /home/orospakr/code/others/iwlwifi/compatible/base.c:8888: warning: excess elements in struct initializer /home/orospakr/code/others/iwlwifi/compatible/base.c:8888: warning: (near initialization for ‘iwl_hw_ops’) /home/orospakr/code/others/iwlwifi/compatible/base.c:8889: error: unknown field ‘ht_rx_agg_start’ specified in initializer /home/orospakr/code/others/iwlwifi/compatible/base.c:8889: warning: excess elements in struct initializer /home/orospakr/code/others/iwlwifi/compatible/base.c:8889: warning: (near initialization for ‘iwl_hw_ops’) /home/orospakr/code/others/iwlwifi/compatible/base.c:8890: error: unknown field ‘ht_rx_agg_stop’ specified in initializer /home/orospakr/code/others/iwlwifi/compatible/base.c:8890: warning: excess elements in struct initializer /home/orospakr/code/others/iwlwifi/compatible/base.c:8890: warning: (near initialization for ‘iwl_hw_ops’) make[3]: *** [/home/orospakr/code/others/iwlwifi/compatible/base-4965.o] Error 1 make[2]: *** [_module_/home/orospakr/code/others/iwlwifi/compatible] Error 2 make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/linux-source-2.6.22' make: *** [modules] Error 2