darkapostrophe@Liberty:~/downloads/iwlwifi-1.1.20$ make make -C /lib/modules/2.6.22-2-amd64/source O=/lib/modules/2.6.22-2-amd64/build M=/home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/ EXTRA_CFLAGS="-DCONFIG_IWLWIFI_DEBUG=y -DCONFIG_IWLWIFI_SPECTRUM_MEASUREMENT=y -DCONFIG_IWLWIFI_HT=y -DCONFIG_IWLWIFI_HT_AGG=y -DCONFIG_IWLWIFI_SENSITIVITY=y -DCONFIG_IWLWIFI_QOS=y" modules make[1]: Entering directory `/usr/src/linux-source-2.6.22' CC [M] /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.o /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:1827: warning: ‘struct ieee80211_ht_capability’ declared inside parameter list /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:1827: warning: its scope is only this definition or declaration, which is probably not what you want /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c: In function ‘iwl_fill_probe_req’: /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:1929: error: ‘WLAN_EID_HT_CAPABILITY’ undeclared (first use in this function) /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:1929: error: (Each undeclared identifier is reported only once /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:1929: error: for each function it appears in.) /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:1930: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_ht_capability’ /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:1932: warning: passing argument 2 of ‘iwl_set_ht_capab’ from incompatible pointer type /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:1933: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_ht_capability’ /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c: In function ‘iwl_tx_skb’: /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:2883: error: ‘IEEE80211_TXCTL_HT_MPDU_AGG’ undeclared (first use in this function) /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c: At top level: /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8033: warning: ‘struct ieee80211_ht_additional_info’ declared inside parameter list /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8033: warning: ‘struct ieee80211_ht_capability’ declared inside parameter list /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c: In function ‘sta_ht_info_init’: /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8048: error: dereferencing pointer to incomplete type /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8049: error: dereferencing pointer to incomplete type /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8059: error: dereferencing pointer to incomplete type /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8059: error: dereferencing pointer to incomplete type /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8064: error: dereferencing pointer to incomplete type /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8064: error: dereferencing pointer to incomplete type /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8077: error: dereferencing pointer to incomplete type /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8078: error: dereferencing pointer to incomplete type /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8083: error: dereferencing pointer to incomplete type /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8085: error: dereferencing pointer to incomplete type /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c: At top level: /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8097: warning: ‘struct ieee80211_ht_additional_info’ declared inside parameter list /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8097: warning: ‘struct ieee80211_ht_capability’ declared inside parameter list /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c: In function ‘iwl_mac_conf_ht’: /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8104: warning: passing argument 1 of ‘sta_ht_info_init’ from incompatible pointer type /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8104: warning: passing argument 2 of ‘sta_ht_info_init’ from incompatible pointer type /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8119: error: dereferencing pointer to incomplete type /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c: At top level: /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8127: warning: ‘struct ieee80211_ht_capability’ declared inside parameter list /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8128: error: conflicting types for ‘iwl_set_ht_capab’ /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:1827: error: previous declaration of ‘iwl_set_ht_capab’ was here /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c: In function ‘iwl_set_ht_capab’: /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8144: error: dereferencing pointer to incomplete type /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8145: error: dereferencing pointer to incomplete type /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8147: error: dereferencing pointer to incomplete type /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8148: error: dereferencing pointer to incomplete type /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8149: error: dereferencing pointer to incomplete type /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c: At top level: /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8154: warning: ‘struct ieee80211_ht_capability’ declared inside parameter list /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c: In function ‘iwl_mac_get_ht_capab’: /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8167: warning: passing argument 2 of ‘iwl_set_ht_capab’ from incompatible pointer type /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c: At top level: /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8883: error: unknown field ‘conf_ht’ specified in initializer /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8883: warning: initialization from incompatible pointer type /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8884: error: unknown field ‘get_ht_capab’ specified in initializer /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8884: warning: excess elements in struct initializer /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8884: warning: (near initialization for ‘iwl_hw_ops’) /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8886: error: unknown field ‘ht_tx_agg_start’ specified in initializer /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8886: warning: excess elements in struct initializer /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8886: warning: (near initialization for ‘iwl_hw_ops’) /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8887: error: unknown field ‘ht_tx_agg_stop’ specified in initializer /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8887: warning: excess elements in struct initializer /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8887: warning: (near initialization for ‘iwl_hw_ops’) /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8888: error: unknown field ‘ht_rx_agg_start’ specified in initializer /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8888: warning: excess elements in struct initializer /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8888: warning: (near initialization for ‘iwl_hw_ops’) /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8889: error: unknown field ‘ht_rx_agg_stop’ specified in initializer /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8889: warning: excess elements in struct initializer /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8889: warning: (near initialization for ‘iwl_hw_ops’) /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c: In function ‘iwl_pci_probe’: /home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.c:8953: error: ‘struct ieee80211_hw’ has no member named ‘preferred_rate_control’ make[3]: *** [/home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible/iwl4965-base.o] Error 1 make[2]: *** [_module_/home/darkapostrophe/downloads/iwlwifi-1.1.20/compatible] Error 2 make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/linux-source-2.6.22' make: *** [modules] Error 2