rt2x00.serialmonkey.com

Support forum for the rt2x00 project
It is currently Sun May 26, 2013 3:02 am

All times are UTC


Forum rules


Important: Read Project restructuring announcement regarding the pending removal of the legacy drivers from this project.



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message
PostPosted: Wed Dec 31, 2008 8:16 am 
Offline

Joined: Wed Dec 31, 2008 8:07 am
Posts: 4
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.c:1030: error: implicit declaration of function `SET_MODULE_OWNER'
drivers/usb/rt73/rtmp_main.c:1048: error: structure has no member named `weight'
drivers/usb/rt73/rtmp_main.c:1070: warning: passing arg 1 of `dev_get_by_name' from incompatible pointer type
drivers/usb/rt73/rtmp_main.c:1070: error: too few arguments to function `dev_get_by_name'
drivers/usb/rt73/rtmp_main.c:1060: 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


Top
 Profile  
 
PostPosted: Wed Dec 31, 2008 3:58 pm 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5905
Location: Haarlem, The Netherlands
yuanyang84317 wrote:
RT73_Linux_STA_Drv1.0.4.0.tar.gz


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.

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com


Top
 Profile  
 
PostPosted: Thu Jan 01, 2009 5:53 am 
Offline

Joined: Wed Dec 31, 2008 8:07 am
Posts: 4
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


Top
 Profile  
 
PostPosted: Fri Jan 02, 2009 11:11 am 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5905
Location: Haarlem, The Netherlands
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.

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com


Top
 Profile  
 
PostPosted: Sun Apr 19, 2009 7:31 am 
Offline

Joined: Wed Dec 31, 2008 8:07 am
Posts: 4
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.h:16:31: 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.h:16:31: asm/arch/hardware.h: No such file or directory

PS:i 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~~


Top
 Profile  
 
PostPosted: Sun Apr 19, 2009 7:58 am 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5905
Location: Haarlem, The Netherlands
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

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com


Top
 Profile  
 
PostPosted: Tue Apr 21, 2009 6:12 am 
Offline

Joined: Wed Dec 31, 2008 8:07 am
Posts: 4
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?


Top
 Profile  
 
PostPosted: Tue Apr 21, 2009 12:48 pm 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5905
Location: Haarlem, The Netherlands
Cleanly unpacked kernel sources require 'make prepare' this will generate some files and folders required for compilation.

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group