Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > [SOLVED] RT73 USB Wireless Driver Compilation Problem

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Closed Thread
 
Thread Tools Display Modes
Old 04-02-2008   #1 (permalink)
Just Joined!
 
Join Date: Dec 2007
Posts: 12
[SOLVED] RT73 USB Wireless Driver Compilation Problem

Hello everyone,

I wanted to install Ralink RT73 driver from source and can't seem to compile it. Here is the "make" output I recieved:

Code:
sudo make
make -C /lib/modules/2.6.24-ARCH/build SUBDIRS=/home/ryan/compressed/RT73_Linux_STA_Drv1.0.4.0/Module modules
make[1]: Entering directory `/usr/src/linux-2.6.24-ARCH'
scripts/Makefile.build:46: *** CFLAGS was changed in "/home/ryan/compressed/RT73_Linux_STA_Drv1.0.4.0/Module/Makefile". Fix it to use EXTRA_CFLAGS.  Stop.
make[1]: *** [_module_/home/ryan/compressed/RT73_Linux_STA_Drv1.0.4.0/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24-ARCH'
make: *** [all] Error 2
Any help as to how I can actually get this beast to compile would be greatly appreciated. Thanks,

Ryan
rkowalick is offline  


Old 04-02-2008   #2 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,059
I did some digging around for you and seemed to come up with this answer before my browser crashed. Try using this code.
Code:
sudo make KBUILD_NOPEDANTIC=1
If it doesn't work, no harm done, we'll try a different approach.
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is offline  
Old 04-02-2008   #3 (permalink)
Just Joined!
 
Join Date: Dec 2007
Posts: 12
Thanks for the help, but it didn't work. Here is the output:

Code:
sudo make KBUILD_NOPEDANTIC=1
make -C /lib/modules/2.6.24-ARCH/build SUBDIRS=/home/ryan/compressed/RT73_Linux_STA_Drv1.0.4.0/Module modules
make[1]: Entering directory `/usr/src/linux-2.6.24-ARCH'
  CC [M]  /home/ryan/compressed/RT73_Linux_STA_Drv1.0.4.0/Module/rtmp_main.o
/home/ryan/compressed/RT73_Linux_STA_Drv1.0.4.0/Module/rtmp_main.c: In function ‘usb_rtusb_probe’:
/home/ryan/compressed/RT73_Linux_STA_Drv1.0.4.0/Module/rtmp_main.c:1030: error: implicit declaration of function ‘SET_MODULE_OWNER’
/home/ryan/compressed/RT73_Linux_STA_Drv1.0.4.0/Module/rtmp_main.c:1048: error: ‘struct net_device’ has no member named ‘weight’
/home/ryan/compressed/RT73_Linux_STA_Drv1.0.4.0/Module/rtmp_main.c:1070: warning: passing argument 1 of ‘dev_get_by_name’ from incompatible pointer type
/home/ryan/compressed/RT73_Linux_STA_Drv1.0.4.0/Module/rtmp_main.c:1070: error: too few arguments to function ‘dev_get_by_name’
/home/ryan/compressed/RT73_Linux_STA_Drv1.0.4.0/Module/rtmp_main.c:1060: warning: unused variable ‘device’
make[2]: *** [/home/ryan/compressed/RT73_Linux_STA_Drv1.0.4.0/Module/rtmp_main.o] Error 1
make[1]: *** [_module_/home/ryan/compressed/RT73_Linux_STA_Drv1.0.4.0/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24-ARCH'
make: *** [all] Error 2
rkowalick is offline  
Old 04-02-2008   #4 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,059
Ahh, but it did work, if you'll notice the error is different this time. I'm pretty tired right now and I'm not too sure about this error either, So I'm going to leave you here with the hopes that someone else will help you.
PS, Try logging in as root, instead of using Sudo
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is offline  
Old 04-02-2008   #5 (permalink)
Just Joined!
 
Join Date: Dec 2007
Posts: 12
Problem Solved!

I have solved the problem. Instead of using the Ralink drivers, I used the driver found here:

Downloads - Rt2x00Wiki


Compiled and installed just fine!
rkowalick is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 09:39 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2