LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 12-29-2012, 04:06 AM   #1
nicksu
Member
 
Registered: Dec 2012
Posts: 34

Rep: Reputation: Disabled
Problem in making driver for RT5370


Guys,who can help me handle the problem,I am sure that GCC and Kernel-devel are alrady installed successfully in my CentOS,which kernel version is2.6.18-194.e15,when making driver for RT5370, it reports as below:

make -C tools
make[1]: Entering directory `/tmp/rt/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO_ml-1/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/tmp/rt/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO_ml-1/tools'
/tmp/rt/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO_ml-1/tools/bin2h
cp -f os/linux/Makefile.6 /tmp/rt/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO_ml-1/os/linux/Makefile
make -C /lib/modules/2.6.18-194.e15/build SUBDIRS=/tmp/rt/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO_ml-1/os/linux modules
make[1]: Entering directory `/lib/modules/2.6.18-194.e15/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/2.6.18-194.e15/build'
make: *** [Linux] Error 2
 
Old 12-29-2012, 10:17 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2015, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 15,335

Rep: Reputation: 2939Reputation: 2939Reputation: 2939Reputation: 2939Reputation: 2939Reputation: 2939Reputation: 2939Reputation: 2939Reputation: 2939Reputation: 2939Reputation: 2939
CentOS 5.

# yum install kernel kernel-devel
... and then reboot to use the new kernel.

Note 1 : 2.6.18-194.el5 is an old version.
Current is kernel-2.6.18-308.24.1.el5.i686.rpm : 05-Dec-2012.

Note 2 : 'kernel' and 'kernel-devel' must be the same version.

.
 
Old 12-29-2012, 11:22 AM   #3
nicksu
Member
 
Registered: Dec 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
CentOS 5.

# yum install kernel kernel-devel
... and then reboot to use the new kernel.

Note 1 : 2.6.18-194.el5 is an old version.
Current is kernel-2.6.18-308.24.1.el5.i686.rpm : 05-Dec-2012.

Note 2 : 'kernel' and 'kernel-devel' must be the same version.

.
Hi,thank you for your help,I have updated the kernel to the latest version and make sure both the kernel and the kernel-devel are the same version,but it doesn't make any sense,the problem exists,no rule to make target,please provide some further advises,thank you

Last edited by nicksu; 12-29-2012 at 11:25 AM.
 
Old 12-29-2012, 03:43 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2015, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 15,335

Rep: Reputation: 2939Reputation: 2939Reputation: 2939Reputation: 2939Reputation: 2939Reputation: 2939Reputation: 2939Reputation: 2939Reputation: 2939Reputation: 2939Reputation: 2939
Did you remember to reboot after the package install ? ?

No issues here, "2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO_ml-1"
http://harkko.lattu.biz/notes/rt5370...PO_ml-1.tar.gz

Or "2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO"
http://harkko.lattu.biz/notes/rt5370....5.0.3_DPO.bz2

Ref. http://harkko.lattu.biz/notes/rt5370_ubuntu.html

.
 
Old 12-29-2012, 09:28 PM   #5
nicksu
Member
 
Registered: Dec 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Did you remember to reboot after the package install ? ?

No issues here, "2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO_ml-1"
http://harkko.lattu.biz/notes/rt5370...PO_ml-1.tar.gz

Or "2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO"
http://harkko.lattu.biz/notes/rt5370....5.0.3_DPO.bz2

Ref. http://harkko.lattu.biz/notes/rt5370_ubuntu.html

.
Oh,it is amazing,it finally work,thank you guy,it seems something wrong with the file I download from the offcial website,and now it can successfully compiled driver from your file,thank you very much.
The wifi now can work correctly,thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RT5370 sh4 compile driver errors VItaliy69 Linux - Software 1 12-04-2012 04:15 PM
Wicd can't see any wirless networks rt5370 Slackware 14 lethal_lee Linux - Wireless Networking 5 11-21-2012 06:21 AM
Problem making ati driver corbintechboy Slackware 1 05-06-2009 05:58 PM
Problem making MA101 Driver Shaikoten Linux - General 1 11-21-2003 05:30 AM
Problem making Linux-WLAN driver, newbie needs help. sabaka Linux - Wireless Networking 1 09-09-2003 06:22 PM


All times are GMT -5. The time now is 04:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration