[Solved] Won't compile on Jaunty

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=5648

Adz

23-09-2009 11:54:24

Hello everyone, I'm using Jaunty 64 with kernel 2.6.28-15.49 (including headers) and am trying to see how the rt2800usb driver is coming on. I have tried compat-wireless 2009-09-22 down to 2009-09-08. Unfortunately every time I try the "make" command I keep getting the same error, 2009-09-08 is the only one to install.
[quotey7kbm28k]./scripts/gen-compat-autoconf.sh config.mk > include/linux/compat_autoconf.h
make -C /lib/modules/2.6.28-15-generic/build M=/usr/local/src/drivers/compat-wireless-2009-09-22 modules
make[1] Entering directory `/usr/src/linux-headers-2.6.28-15-generic'
LD /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/misc/eeprom/built-in.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/misc/eeprom/eeprom_93cx6.o
LD /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/usb/built-in.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/usb/cdc_ether.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/usb/rndis_host.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/usb/usbnet.o
LD /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/built-in.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/main.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/regd.o
LD [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath.o
LD /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ar9170/built-in.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ar9170/usb.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ar9170/main.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ar9170/cmd.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ar9170/mac.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ar9170/phy.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ar9170/led.o
LD [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ar9170/ar9170usb.o
LD /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath5k/built-in.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath5k/caps.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath5k/initvals.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath5k/eeprom.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath5k/gpio.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath5k/desc.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath5k/dma.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath5k/qcu.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath5k/pcu.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath5k/phy.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath5k/reset.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath5k/attach.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath5k/base.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath5k/led.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath5k/rfkill.o
LD [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath5k/ath5k.o
LD /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath9k/built-in.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath9k/hw.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath9k/eeprom.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath9k/eeprom_def.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath9k/eeprom_4k.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath9k/eeprom_9287.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath9k/mac.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath9k/calib.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath9k/ani.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath9k/phy.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath9k/beacon.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath9k/main.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath9k/recv.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath9k/xmit.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath9k/virtual.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath9k/rc.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath9k/btcoex.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath9k/pci.o
LD [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/ath/ath9k/ath9k.o
LD /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/b43/built-in.o
CC [M] /usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/b43/main.o
/usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/b43/main.c In function ‘b43_do_interrupt’
/usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/b43/main.c1888 error ‘IRQ_WAKE_THREAD’ undeclared (first use in this function)
/usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/b43/main.c1888 error (Each undeclared identifier is reported only once
/usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/b43/main.c1888 error for each function it appears in.)
/usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/b43/main.c In function ‘b43_request_firmware’
/usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/b43/main.c2218 warning format not a string literal and no format arguments
/usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/b43/main.c In function ‘b43_wireless_core_start’
/usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/b43/main.c3867 error implicit declaration of function ‘request_threaded_irq’
make[4] *** [/usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/b43/main.o] Error 1
make[3] *** [/usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless/b43] Error 2
make[2] *** [/usr/local/src/drivers/compat-wireless-2009-09-22/drivers/net/wireless] Error 2
make[1] *** [_module_/usr/local/src/drivers/compat-wireless-2009-09-22] Error 2
make[1] Leaving directory `/usr/src/linux-headers-2.6.28-15-generic'
make *** [modules] Error 2
[/quotey7kbm28k]
If this is a mistake on my part, could you please point me in the right direction. The only thing that I can find is "update your kernel", but I have the newest Ubu kernal and headers installed.
Thankyou for your help.

IvD

23-09-2009 19:54:44

If you are not interested in the b43 driver, then simply update the config file, and disable b43. That will save you compilation time and will bypass this error message.

Adz

24-09-2009 01:33:43

Thank you for your reply. I've never done that before, but after some more reading and a bit of trial and error 2009-09-23 compiled just fine.
Thank you for your help and to everyone for their hard work on what will hopefully be an excellent set of drivers

Adz

25-09-2009 22:21:44

Update.

I tried compat-wireless 2009-09-24 and 09-25 and they both compiled without the need to edit the config file. Thankyou.