(solved)Make errors in today's cvs

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

knedlyk

21-07-2008 12:10:51

Today I downloaded new cvs and tried to compile module. But I've got the following

CC [M] /home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtmp_main.o
CC [M] /home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/mlme.o
CC [M] /home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/connect.o
CC [M] /home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.o
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c In function ‘RTUSBBulkOutDataPacketComplete’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c107 error incompatible type for argument 1 of ‘_spin_lock_irqsave’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c107 error incompatible type for argument 1 of ‘_spin_unlock_irqrestore’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c121 error incompatible type for argument 1 of ‘_spin_lock_irqsave’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c121 error incompatible type for argument 1 of ‘_spin_unlock_irqrestore’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c In function ‘RTUSBBulkOutMLMEPacketComplete’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c322 error incompatible type for argument 1 of ‘_spin_lock_irqsave’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c322 error incompatible type for argument 1 of ‘_spin_unlock_irqrestore’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c In function ‘RTUSBBulkOutDataPacket’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c569 error incompatible type for argument 1 of ‘_spin_lock_irqsave’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c569 error incompatible type for argument 1 of ‘_spin_unlock_irqrestore’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c570 error incompatible type for argument 1 of ‘_spin_lock_irqsave’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c570 error incompatible type for argument 1 of ‘_spin_unlock_irqrestore’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c In function ‘RTUSBBulkOutNullFrame’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c683 error incompatible type for argument 1 of ‘_spin_lock_irqsave’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c683 error incompatible type for argument 1 of ‘_spin_unlock_irqrestore’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c In function ‘RTUSBBulkOutRTSFrame’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c753 error incompatible type for argument 1 of ‘_spin_lock_irqsave’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c753 error incompatible type for argument 1 of ‘_spin_unlock_irqrestore’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c In function ‘RTUSBBulkOutMLMEPacket’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c812 error incompatible type for argument 1 of ‘_spin_lock_irqsave’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c812 error incompatible type for argument 1 of ‘_spin_unlock_irqrestore’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c In function ‘RTUSBBulkOutPsPoll’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c872 error incompatible type for argument 1 of ‘_spin_lock_irqsave’
/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.c872 error incompatible type for argument 1 of ‘_spin_unlock_irqrestore’
make[2] *** [/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module/rtusb_bulk.o] ??????? 1
make[1] *** [_module_/home/root/install/ubuntu/wireless/rt73-cvs-2008072105/Module] ??????? 2
make[1] ??????? ??????? "/usr/src/linux-headers-2.6.24-19-generic"
rt73.ko failed to build!
make *** [module] ??????? 1

It seems to me that it caused by the last changes in file rtmp.h (strange comments "\" from line 136).


My system is Ubuntu 8.04.1, kernel 2.6.24-19-generic.

Vern

21-07-2008 16:39:56

Hi knedlyk,

You should see the fix show up soon in the CVS tarball.

Sorry.

knedlyk

21-07-2008 17:06:15

Well, could you post a message when it is fixed, pls? Thank you!