problem of porting rt73 on s3c2440(2.6.24.4)

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

yuanyang84317

31-12-2008 08:16:32

hi~~everybody~~
i am porting rt73 wirless network adapter on s3c2440,the kernel version is 2.6.24.4,and the driver version is RT73_Linux_STA_Drv1.0.4.0.tar.gz,here are the problems when corss-compiling,i dont know why??how it caused the problem?is the 2.6.24 kernel conflict with the driver?? help,please...

CC [M] drivers/usb/rt73/rtmp_main.o
drivers/usb/rt73/rtmp_main.c In function `usb_rtusb_probe'
drivers/usb/rt73/rtmp_main.c1030 error implicit declaration of function `SET_MODULE_OWNER'
drivers/usb/rt73/rtmp_main.c1048 error structure has no member named `weight'
drivers/usb/rt73/rtmp_main.c1070 warning passing arg 1 of `dev_get_by_name' from incompatible pointer type
drivers/usb/rt73/rtmp_main.c1070 error too few arguments to function `dev_get_by_name'
drivers/usb/rt73/rtmp_main.c1060 warning unused variable `device'
make[3] *** [drivers/usb/rt73/rtmp_main.o] error 1
make[2] *** [drivers/usb/rt73] error 2
make[1] *** [drivers/usb] error 2
make *** [drivers] error 2

IvD

31-12-2008 15:58:31

RT73_Linux_STA_Drv1.0.4.0.tar.gz[/quote396ll7mr]

As usual Drivers not released by this project are not support by us. The package you were using does not originate from our website, but from the Ralink website.

yuanyang84317

01-01-2009 05:53:41

yes,i know~~i just look for help~~can you give me some clue or suggestion so that i can slove the problem and get my wireless adapter work~~thank you so much

IvD

02-01-2009 11:11:41

The problem you have was fixed in our package, but since you don't want to use that package, you have to go to Ralink and report the problem.

yuanyang84317

19-04-2009 07:31:29

hi~~i'm using rt73-cvs-daily.tar.gz instead this time,but it occurs the following problems,what is the problem is and how can i slove it?

include/asm/hardware.h1631 asm/arch/hardware.h No such file or directory
make[2] *** [/11/rt73-cvs-2009040104/Module/rtmp_main.o] Error 1
make[1] *** [_module_/11/rt73-cvs-2009040104/Module] Error 2
make[1] Leaving directory `/utuLinux2.6.24/kernel-2.6.24'
rt73.ko failed to build!
make *** [module] Error 1
[root@localhost Module]#

and there are a lot of similar mistakes in the makefile process like this
include/asm/hardware.h1631 asm/arch/hardware.h No such file or directory

PSi have no sub-directory named "arch" under include/asm/ at all in my kernel resource directory,there only are a lot arch-xxx sub-directory under include/asm/~~

how can i slove this problem?thanks~~

IvD

19-04-2009 07:58:43

Your kernel sources have not been properly initialized.
You have to do "make prepare" inside your kernel sources.

Also note that the the Project restructuring announcement[/urluek0m41e]

yuanyang84317

21-04-2009 06:12:29

thank you IvD,it worked,i have complied the drivers scuccessfully,although there are a lot of warnings~~why i have to make prepare before compling? what's the main funtion of make prepare? in what condition i must make prepare first?

IvD

21-04-2009 12:48:25

Cleanly unpacked kernel sources require 'make prepare' this will generate some files and folders required for compilation.