An error occurred while porting the USB wireless NIC Driver RT73.
Source: Internet
Author: User
An error occurred while porting the USB wireless NIC Driver RT73-Linux general technology-Linux technology and application information. For more information, see the following. Reference http://blogold.chinaunix.net/u2/89095/showart_1880442.html
Porting the RT73 wireless network card has many problems. One of them is as follows:
1. RT73 wireless NIC Driver:
Http://www.ralinktech.com.tw/dat... _Drv1.1.0.2.tar.bz2
[Root @ localhost Module] # pwd
/Tmp/rt73/Module
[Root @ localhost Module] # make all
Make-C/tmp/linux-2.6.32.2 SUBDIRS =/tmp/rt73/Module modules
Make [1]: Entering directory '/tmp/linux-2.6.32.2'
WARNING: Symbol version dump/tmp/linux-2.6.32.2/Module. symvers
Is missing; modules will have no dependencies and modversions.
CC [M]/tmp/rt73/Module/rtmp_main.o
/Tmp/rt73/Module/rtmp_main.c: In function 'rt73 _ get_drvinfo ':
/Tmp/rt73/Module/rtmp_main.c: 198: error: 'struct net_device 'has no member named 'priv'
/Tmp/rt73/Module/rtmp_main.c: In function 'rt73 _ get_regs ':
/Tmp/rt73/Module/rtmp_main.c: 217: error: 'struct net_device 'has no member named 'priv'
/Tmp/rt73/Module/rtmp_main.c: In function 'rt73 _ ethtool_get_link ':
/Tmp/rt73/Module/rtmp_main.c: 234: error: 'struct net_device 'has no member named 'priv'
/Tmp/rt73/Module/rtmp_main.c: In function 'rt73 _ get_eeprom ':
/Tmp/rt73/Module/rtmp_main.c: 250: error: 'struct net_device 'has no member named 'priv'
/Tmp/rt73/Module/rtmp_main.c: In function 'rt73 _ get_ether_stats ':
/Tmp/rt73/Module/rtmp_main.c: 282: error: 'struct net_device 'has no member named 'priv'
/Tmp/rt73/Module/rtmp_main.c: In function 'rt73 _ get_wireless_stats ':
/Tmp/rt73/Module/rtmp_main.c: 343: error: 'struct net_device 'has no member named 'priv'
/Tmp/rt73/Module/rtmp_main.c: In function 'usb _ rtusb_open ':
/Tmp/rt73/Module/rtmp_main.c: 481: error: 'struct net_device 'has no member named 'priv'
/Tmp/rt73/Module/rtmp_main.c: In function 'usb _ rtusb_close ':
/Tmp/rt73/Module/rtmp_main.c: 585: error: 'struct net_device 'has no member named 'priv'
/Tmp/rt73/Module/rtmp_main.c: In function 'usb _ rtusb_init_device ':
/Tmp/rt73/Module/rtmp_main.c: 668: error: 'struct net_device 'has no member named 'priv'
/Tmp/rt73/Module/rtmp_main.c: In function 'usb _ rtusb_probe ':
/Tmp/rt73/Module/rtmp_main.c: 1124: error: 'struct net_device 'has no member named 'priv'
/Tmp/rt73/Module/rtmp_main.c: 1125: error: 'struct net_device 'has no member named 'priv'
/Tmp/rt73/Module/rtmp_main.c: 1148: error: 'struct net_device 'has no member named 'open'
/Tmp/rt73/Module/rtmp_main.c: 1149: error: 'struct net_device 'has no member named 'stop'
/Tmp/rt73/Module/rtmp_main.c: 1150: error: 'struct net_device 'has no member named 'priv'
/Tmp/rt73/Module/rtmp_main.c: 1151: error: 'struct net_device 'has no member named' hard _ start_xmit'
/Tmp/rt73/Module/rtmp_main.c: 1152: error: 'struct net_device 'has no member named 'get _ stats'
/Tmp/rt73/Module/rtmp_main.c: 1160: error: 'struct net_device 'has no member named 'do _ ioctl'
Make [2]: *** [/tmp/rt73/Module/rtmp_main.o] Error 1
Make [1]: *** [_ module _/tmp/rt73/Module] Error 2
Make [1]: Leaving directory '/tmp/linux-2.6.32.2'
Make: *** [all] Error 2
Solution:
An error occurred while defining the data structure in rtmp_main.c. Check the definition in rtmp_main.c.
Refer to http://www.backtrack-linux.org/f... t2570.html? Langid = 8
Http://rt2x00.serialmonkey.com/phpBB/viewtopic.php? F = 5 & t = 5713
I have not understood the above solution. Hope you can give me some advice! Thank you!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service