Compiling Problems on Centos 4.7 , Kernel 2.6.9-78.ELsmp

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

bonvivz

26-09-2008 11:53:27

Hello All,

I recently bought a belkin G usb wireless adaptor. As mentioned in many notes on this site, i tried compiling the driver, but unfortunately it fails. Tried googl'ng it for many days still doesnt work.
The details of the system are
Kernel 2.6.9-78.ELsmp
rpm All the required rpms are installed.(Kernel,Kernel-devel,gcc,binutils,almost everything)
Whenever I compile I get the following error

-----------------------------
make[1] Entering directory `/usr/src/kernels/2.6.9-78.EL-smp-i686'
CC [M] /tmp/rt73-cvs-2008092411/Module/rtmp_main.o
/tmp/rt73-cvs-2008092411/Module/rtmp_main.c112 error syntax error before "pm_message_t"
/tmp/rt73-cvs-2008092411/Module/rtmp_main.c112 warning function declaration isn't a prototype
/tmp/rt73-cvs-2008092411/Module/rtmp_main.c2052 error syntax error before "pm_message_t"
/tmp/rt73-cvs-2008092411/Module/rtmp_main.c2053 warning function declaration isn't a prototype
/tmp/rt73-cvs-2008092411/Module/rtmp_main.c In function `rt73_suspend'
/tmp/rt73-cvs-2008092411/Module/rtmp_main.c2055 error `intf' undeclared (first use in this function)
/tmp/rt73-cvs-2008092411/Module/rtmp_main.c2055 error (Each undeclared identifier is reported only once
/tmp/rt73-cvs-2008092411/Module/rtmp_main.c2055 error for each function it appears in.)
make[2] *** [/tmp/rt73-cvs-2008092411/Module/rtmp_main.o] Error 1
make[1] *** [_module_/tmp/rt73-cvs-2008092411/Module] Error 2
make[1] Leaving directory `/usr/src/kernels/2.6.9-78.EL-smp-i686'
rt73.ko failed to build!
make *** [module] Error 1
[root@localhost Module]#
---------------------------------------------------------------

Thanks,

Bon