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.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Wireless Internet
Reload this Page [SOLVED] RT73 USB Wireless Driver Compilation Problem
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

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

Closed Thread
 
Thread Tools Display Modes
Old 04-02-2008   #1 (permalink)
rkowalick
Just Joined!
 
Join Date: Dec 2007
Posts: 11
[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)
MikeTbob
Linux Guru
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Cowtown, Texas
Posts: 2,287
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.
__________________
Linux user #286065
Distro:Gentoo + KDE-3.5.9
MikeTbob is offline  
Old 04-02-2008   #3 (permalink)
rkowalick
Just Joined!
 
Join Date: Dec 2007
Posts: 11
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)
MikeTbob
Linux Guru
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Cowtown, Texas
Posts: 2,287
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
__________________
Linux user #286065
Distro:Gentoo + KDE-3.5.9
MikeTbob is offline  
Old 04-02-2008   #5 (permalink)
rkowalick
Just Joined!
 
Join Date: Dec 2007
Posts: 11
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




All times are GMT. The time now is 10:35 PM.




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

Content Relevant URLs by vBSEO 3.0.0