LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-15-2011, 02:10 AM   #1
venkatachalam
LQ Newbie
 
Registered: Feb 2011
Posts: 1

Rep: Reputation: 0
Realtek 8111/8168 LAN Driver will not install on RHEL 5


[root@localhost r8169-6.002.00]# make clean modules
make -C src/ clean
make[1]: Entering directory `/root/r8169-6.002.00/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers rset
make[1]: Leaving directory `/root/r8169-6.002.00/src'
make -C src/ modules
make[1]: Entering directory `/root/r8169-6.002.00/src'
make -C /lib/modules/2.6.9-55.ELsmp/build SUBDIRS=/root/r8169-6.002.00/src modules
make: *** /lib/modules/2.6.9-55.ELsmp/build: No such file or directory. Stop.
make: Entering an unknown directorymake: Leaving an unknown directorymake[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/r8169-6.002.00/src'
make: *** [modules] Error 2
[root@localhost r8169-6.002.00]# make install
make -C src/ install
make[1]: Entering directory `/root/r8169-6.002.00/src'
install -m 644 -c r8169.ko /lib/modules/2.6.9-55.ELsmp/kernel/drivers/net/
install: cannot stat `r8169.ko': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/root/r8169-6.002.00/src'
make: *** [install] Error 2
[root@localhost r8169-6.002.00]#
 
Old 02-15-2011, 02:18 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Code:
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers rset
That's why you have the error. After you ran "make clean modules," you tried to install programs that were not there. You need to run make before you run make install.
 
  


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
Unable to Enable My LAN Card: Realtek 8168/8111 rajkumar17dec Red Hat 1 06-23-2010 06:21 PM
Realtek 8111/8168 LAN Driver will not install on RHEL4.5 Astol Linux - Networking 6 05-08-2008 11:36 AM
No network detected, Realtek 8111/8168 issue jio23 Linux - Networking 20 04-20-2008 12:48 AM
How to install the RTL 8168/8111 driver? blueskyhff Linux - Networking 2 12-18-2007 12:24 PM
Realtek 8168/8111 hang on high load ari197 Linux - Laptop and Netbook 1 12-29-2006 03:42 AM


All times are GMT -5. The time now is 05:01 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