Problem installing LAN DRIVER R8168 in CentOS 5.0
[root@localhost r8168-8.003.00]# make clean modules
make -C src/ clean make[1]: Entering directory `/home/venkatteshb/Source/LAN Drivers/r8168-8.003.00/src' rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers make[1]: Leaving directory `/home/venkatteshb/Source/LAN Drivers/r8168-8.003.00/src' make -C src/ modules make[1]: Entering directory `/home/venkatteshb/Source/LAN Drivers/r8168-8.003.00/src' make -C /lib/modules/2.6.18-8.el5/build SUBDIRS=/home/venkatteshb/Source/LAN Drivers/r8168-8.003.00/src modules make[2]: Entering directory `/usr/src/kernels/2.6.18-8.el5-i686' make[2]: *** No rule to make target `Drivers/r8168-8.003.00/src'. Stop. make[2]: Leaving directory `/usr/src/kernels/2.6.18-8.el5-i686' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/home/venkatteshb/Source/LAN Drivers/r8168-8.003.00/src' make: *** [modules] Error 2 [root@localhost r8168-8.003.00]# make install make -C src/ install make[1]: Entering directory `/home/venkatteshb/Source/LAN Drivers/r8168-8.003.00/src' install -m 644 -c r8168.ko /lib/modules/2.6.18-8.el5/kernel/drivers/net/ install: cannot stat `r8168.ko': No such file or directory make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/venkatteshb/Source/LAN Drivers/r8168-8.003.00/src' make: *** [install] Error 2 This was the error message that i got. Can anyone help fix this error. |
The first error appears to occur because of the space in your LAN Drivers directory name. Try moving the r8168-8.003.00 directory up one level and then compiling again. The source compiles for me when I put that directory in one which doesn't have a space in the name, but I get the same error if there is a space in the parent's name. Edit: a better solution would be to edit the makefile in src/ so that it handles spaces properly. I'm not an expert, so I'm not really sure how to do this.
|
Quote:
|
Quote:
[root@localhost r8168-8.003.00]# make install |
Your "make modules" isn't working, that's why the module can't be found when you run "make install".
|
Quote:
I installed r8168 and running now thanks |
Quote:
I am newbie on this redhat el4, can anybody please help how to install the r8268? thanks in advance. regards, Linkie |
Quote:
2) download the driver from realtek 3) do the things in the read me file of drivers 4) set IPs and other things Raddy to go |
Quote:
|
[QUOTE=Nylex;3341479]
Quote:
but source was there for me, when I installed development packages or sort while installing Linux (centos 5.1) |
All times are GMT -5. The time now is 07:17 PM. |