Find the answer to your Linux question:
Results 1 to 4 of 4
[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]: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2007
    Posts
    14

    Exclamation 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.

  2. #2
    Just Joined!
    Join Date
    Dec 2005
    Posts
    2
    Hi, are you successfull in installing the above mentioned LAN driver for realtek r8168? Can you please let me know? I am successfull in installing it, but the card is not recognized still. In the next step, when I try insmode ./src/r8168.ko , an error is coming "error inserting './src/r8168.ko': -1 Invalid module format"

    Anybody can help me pls?

  3. #3
    Just Joined!
    Join Date
    Oct 2008
    Posts
    2
    I got the same problem as venkatteshb

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Oct 2008
    Posts
    2
    editing the make file to only src/ will do the first part

    but this
    [root@localhost r8168-8.003.00]# make install

Posting Permissions

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