Find the answer to your Linux question:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just 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

  2. #2
    tpl
    tpl is offline
    Linux User
    Join Date
    Jan 2007
    Location
    cleveland
    Posts
    478
    > gcc: command not found

    evidently you haven't installed the c compiler.
    if you are using debian "apt-get install gcc"
    other distributions, other ways
    the sun is new every day (heraclitus)

  3. #3
    Just Joined!
    Join Date
    Jan 2009
    Posts
    7
    thank you for your support
    successfully installed NIC card

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined! sameed's Avatar
    Join Date
    Aug 2009
    Location
    Every Where
    Posts
    1
    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)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •