Results 1 to 4 of 4
while trying to install driver for network card i am receiving this error
i used the below command
make clean modules
make -C src/ clean
make[1]: Entering directory `/root/gg/r8101-1.009.00/src'
rm ...
- 01-16-2009 #1Just Joined!
- Join Date
- Jan 2009
- Posts
- 7
please tell me how to install r8101 NIC driver
while trying to install driver for network card i am receiving this error
i used the below command
make clean modules
make -C src/ clean
make[1]: Entering directory `/root/gg/r8101-1.009.00/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers *.order
make[1]: Leaving directory `/root/gg/r8101-1.009.00/src'
make -C src/ modules
make[1]: Entering directory `/root/gg/r8101-1.009.00/src'
make -C /lib/modules/2.6.18-53.el5/build SUBDIRS=/root/gg/r8101-1.009.00/src modules
/usr/src/kernels/2.6.18-53.el5-i686/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/kernels/2.6.18-53.el5-i686/scripts/gcc-version.sh: line 12: gcc: command not found
make[2]: gcc: Command not found
make[2]: Entering directory `/usr/src/kernels/2.6.18-53.el5-i686'
CC [M] /root/gg/r8101-1.009.00/src/r8101_n.o
/bin/sh: gcc: command not found
make[3]: *** [/root/gg/r8101-1.009.00/src/r8101_n.o] Error 127
make[2]: *** [_module_/root/gg/r8101-1.009.00/src] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.18-53.el5-i686'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/gg/r8101-1.009.00/src'
make: *** [modules] Error 2
i am very new to linux
please help me
- 01-18-2009 #2Linux User
- Join Date
- Jan 2007
- Location
- cleveland
- Posts
- 452
> gcc: command not found
evidently you haven't installed the c compiler.
if you are using debian "apt-get install gcc"
other distributions, other waysthe sun is new every day (heraclitus)
- 01-19-2009 #3Just Joined!
- Join Date
- Jan 2009
- Posts
- 7
thank you for your support
successfully installed NIC card
- 10-26-2009 #4
I was found same problem in RHEL 5 (Tikanga)....
Error came kernel module directory
check the following symlink directory is present or not ? in /lib/modules/2.6.18-8.el5
1) source
2) build
both are link to /usr/scr/kernel/2.6.18-8.el5-i6386
if your modules dont have above directory , it wont run any Make command properly
( i reinstall my Tikanga for above directory and then r8101 installed properly)


Reply With Quote