[solved] Problem building wifi-drivers
Posted: 17. Jul 2012, 23:30
Okay, I got my drivers from Intel Linux Wireless.
I successfully installed the mac80211 subsystem and recompiled the kernel. At least, I think I did that successfully, since returns no errors. I put the microcode in the right place. But after I extract the drivers and use make, make errors out.
I get this warning at the beginning:
And it ends with:
The errors that appear most often are "'struct device' has no member named 'driver_data'" and "'TASK_INTERRUPTIBLE' undeclared (first use in this function)"
Relevant lspci is:
Hopefully, that's enough information. I'm roughly an intermediate-level user, who got sick of the Ubuntu family and wanted to jump into Slackware with Salix. I like the distro so far, but I really want to get wifi working.
ETA: Since I figured out how to copy from the terminal, here's exactly what happens:
I successfully installed the mac80211 subsystem and recompiled the kernel. At least, I think I did that successfully, since
Code: Select all
modprobe mac80211
I get this warning at the beginning:
Code: Select all
WARNING: Symbol version dump /usr/src/linux-2.6.33.4/Module.symvers
is missing; modules will have no dependencies and modversions.
Code: Select all
make: *** [modules] Error 2
Relevant lspci is:
Code: Select all
02.00.0 Network controller: Intel Corporation WiMAX/WiFi Link 6050 Series (rev 5f)
ETA: Since I figured out how to copy from the terminal, here's exactly what happens:
Code: Select all
root[iwlwifi-1.2.25]# make
make -C /lib/modules/2.6.33.4-smp/source O=/lib/modules/2.6.33.4-smp/build M=/home/impatiens/iwlwifi-1.2.25/compatible/ EXTRA_CFLAGS="-DCONFIG_IWL3945_DEBUG=y -DCONFIG_IWL4965_DEBUG=y -DCONFIG_IWL3945_SPECTRUM_MEASUREMENT=y -DCONFIG_IWL4965_SPECTRUM_MEASUREMENT=y -DCONFIG_IWL4965_HT=y -DCONFIG_IWL4965_HT_AGG=y -DCONFIG_IWL4965_SENSITIVITY=y -DCONFIG_IWL3945_QOS=y -DCONFIG_IWL4965_QOS=y" modules
make[1]: Entering directory `/usr/src/linux-2.6.33.4'
WARNING: Symbol version dump /usr/src/linux-2.6.33.4/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.o
In file included from include/net/mac80211.h:20,
from /home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:47:
include/net/wireless.h: In function ‘wiphy_name’:
include/net/wireless.h:92: error: ‘struct device’ has no member named ‘bus_id’
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c: In function ‘iwl3945_send_cmd_sync’:
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:797: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:797: error: (Each undeclared identifier is reported only once
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:797: error: for each function it appears in.)
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:797: error: implicit declaration of function ‘signal_pending’
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:797: error: implicit declaration of function ‘schedule_timeout’
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c: In function ‘iwl3945_rx_card_state_notif’:
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:3837: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c: In function ‘iwl3945_tx_cmd_complete’:
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:3925: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c: In function ‘iwl3945_irq_handle_error’:
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:4739: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c: In function ‘iwl3945_alive_start’:
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:6266: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c: In function ‘__iwl3945_down’:
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:6295: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c: In function ‘iwl3945_bg_rf_kill’:
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:6503: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c: In function ‘iwl3945_mac_open’:
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:6991: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c: In function ‘show_rf_kill’:
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:7767: error: ‘struct device’ has no member named ‘driver_data’
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c: In function ‘store_rf_kill’:
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:7778: error: ‘struct device’ has no member named ‘driver_data’
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c: In function ‘show_temperature’:
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:7792: error: ‘struct device’ has no member named ‘driver_data’
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c: In function ‘show_rs_window’:
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:7806: error: ‘struct device’ has no member named ‘driver_data’
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c: In function ‘show_tx_power’:
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:7814: error: ‘struct device’ has no member named ‘driver_data’
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c: In function ‘store_tx_power’:
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:7822: error: ‘struct device’ has no member named ‘driver_data’
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c: In function ‘show_flags’:
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:7841: error: ‘struct device’ has no member named ‘driver_data’
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c: In function ‘store_flags’:
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:7850: error: ‘struct device’ has no member named ‘driver_data’
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c: In function ‘show_filter_flags’:
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:7875: error: ‘struct device’ has no member named ‘driver_data’
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c: In function ‘store_filter_flags’:
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:7885: error: ‘struct device’ has no member named ‘driver_data’
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c: In function ‘show_tune’:
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:7912: error: ‘struct device’ has no member named ‘driver_data’
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c: In function ‘store_tune’:
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:7925: error: ‘struct device’ has no member named ‘driver_data’
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c: In function ‘show_status’:
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:8332: error: ‘struct device’ has no member named ‘driver_data’
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c: In function ‘dump_error_log’:
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:8347: error: ‘struct device’ has no member named ‘driver_data’
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c: In function ‘dump_event_log’:
/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.c:8361: error: ‘struct device’ has no member named ‘driver_data’
make[3]: *** [/home/impatiens/iwlwifi-1.2.25/compatible/iwl3945-base.o] Error 1
make[2]: *** [_module_/home/impatiens/iwlwifi-1.2.25/compatible] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.33.4'
make: *** [modules] Error 2