When trying to build I get: /home/aleks/compat-wireless-2008-07-29/drivers/net/wireless/iwlwifi/iwl-led.c: В функции 'iwl_led_brightness_set' /home/aleks/compat-wireless-2008-07-29/drivers/net/wireless/iwlwifi/iwl-led.c:198: ошибка: 'led_type_str' undeclared (first use in this function) /home/aleks/compat-wireless-2008-07-29/drivers/net/wireless/iwlwifi/iwl-led.c:198: ошибка: (Each undeclared identifier is reported only once /home/aleks/compat-wireless-2008-07-29/drivers/net/wireless/iwlwifi/iwl-led.c:198: ошибка: for each function it appears in.) make[4]: *** [/home/aleks/compat-wireless-2008-07-29/drivers/net/wireless/iwlwifi/iwl-led.o] Ошибка 1 make[3]: *** [/home/aleks/compat-wireless-2008-07-29/drivers/net/wireless/iwlwifi] Ошибка 2 make[2]: *** [/home/aleks/compat-wireless-2008-07-29/drivers/net/wireless] Ошибка 2 make[1]: *** [_module_/home/aleks/compat-wireless-2008-07-29] Ошибка 2 make[1]: Выход из каталога `/usr/src/linux-headers-2.6.24-20-generic' make: *** [modules] Ошибка 2 When I've looked at source code, I discovered, that led_type_str is defined only if CONFIG_IWLWIFI_DEBUG is defined, while it is used in "IWL_DEBUG_LED("Led type = %s brightness = %d\n", led_type_str[led->type], brightness);" on iwl-led.c:198 Defining led_type_str outside ifdef block solves the problem. Please, change it somehow, so that compat-wireless would build by itself
Attachment:
config.mk
Description: Binary data