eeePC 2G Intrepid Ibex - Can't compile wireless driver

Asked by komputes

I'm using kernel 2.6.27-7-generic on an eeePC and it seems that unlike with previous versions of the kernel I am not able to compile the madwifi-hal-0.10.5.6-r3698-20080604 driver for the built-in Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)

Instruction can be found here:
https://help.ubuntu.com/community/EeePC/Fixes

First I tried to do what the site said for Intrepid Ibex:

Quote:
Wireless should work out-of-the-box with Ubuntu 8.10 Intrepid Ibex (as from kernel 2.6.27-1-generic). EeePC 900s (and possibly 701s) may still require "blacklist ath_pci" added to /etc/modprobe.d/blacklist" to enable wireless.

So I blacklisted the ath_pci module and rebooted. Still no wireless.

Then I went on with trying to compile the driver I got stuck at the make command:

$ make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.27-7-generic/build SUBDIRS=/home/komputes/eee/madwifi-hal-0.10.5.6-r3698-20080604 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
  CC [M] /home/komputes/eee/madwifi-hal-0.10.5.6-r3698-20080604/ath/if_ath.o
  CC [M] /home/komputes/eee/madwifi-hal-0.10.5.6-r3698-20080604/ath/if_ath_radar.o
  CC [M] /home/komputes/eee/madwifi-hal-0.10.5.6-r3698-20080604/ath/if_ath_hal_extensions.o
  CC [M] /home/komputes/eee/madwifi-hal-0.10.5.6-r3698-20080604/ath/if_ath_pci.o
  LD [M] /home/komputes/eee/madwifi-hal-0.10.5.6-r3698-20080604/ath/ath_pci.o
  CC [M] /home/komputes/eee/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ah_os.o
cc1: warnings being treated as errors
/home/komputes/eee/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ah_os.c: In function 'ath_hal_lookup_register_name':
/home/komputes/eee/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ah_os.c:451: error: format not a string literal and no format arguments
make[3]: *** [/home/komputes/eee/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ah_os.o] Error 1
make[2]: *** [/home/komputes/eee/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal] Error 2
make[1]: *** [_module_/home/komputes/eee/madwifi-hal-0.10.5.6-r3698-20080604] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
make: *** [modules] Error 2

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Berry van der Linden
Solved:
Last query:
Last reply:
Revision history for this message
Best Berry van der Linden (madberry) said :
#1
Revision history for this message
komputes (komputes) said :
#2

Thank you, this is not using the madwifi driver but the ath5k driver.
The instructions for Ubuntu 8.10 Intrepid Ibex have been updated on https://help.ubuntu.com/community/EeePC/Fixes#Wireless

Revision history for this message
komputes (komputes) said :
#3

Thanks madberry, that solved my question.