Find the answer to your Linux question:
Results 1 to 5 of 5
while compiling sc92031.c i am receiving this error, Makefile:24: *** Linux kernel source not found. Stop. Please help me i am using redhat linux redhat kernel 2.6.18-53.e15...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    7

    Makefile:24: *** Linux kernel source not found. Stop.


    while compiling sc92031.c i am receiving this error,

    Makefile:24: *** Linux kernel source not found. Stop.

    Please help me

    i am using redhat linux

    redhat kernel 2.6.18-53.e15

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    You need to install the kernel-devel package that matches the version of the kernel you are running. This should be available in the Red Hat software repositories.

  3. #3
    Just Joined!
    Join Date
    Jan 2009
    Posts
    7
    Quote Originally Posted by daark.child View Post
    You need to install the kernel-devel package that matches the version of the kernel you are running. This should be available in the Red Hat software repositories.
    Thank you very much
    i am very new to linux
    i am fighting from last one week to install my NIC card

  4. #4
    Just Joined!
    Join Date
    Jan 2009
    Posts
    7
    hi i installed kernel-devel package for this version
    after that while compiling sc92031.c i am receiving new error,

    /bin/sh: -W: invalid option
    Usage: /bin/sh [GNU long option] [option] ...
    /bin/sh [GNU long option] [option] script-file ...
    GNU long options:
    --debug
    --debugger
    --dump-po-strings
    --dump-strings
    --help
    --init-file
    --login
    --noediting
    --noprofile
    --norc
    --posix
    --protected
    --rcfile
    --rpm-requires
    --restricted
    --verbose
    --version
    --wordexp
    Shell options:
    -irsD or -c command or -O shopt_option (invocation only)
    -abefhkmnptuvxBCHP or -o option
    Makefile:62: ***
    Makefile:63: *** Warning: kernel source version ()
    Makefile:64: *** does not match running kernel (2.6.18-53.el5)
    Makefile:65: *** Continuing with build,
    Makefile:66: *** resulting driver may not be what you want
    Makefile:67: ***
    /bin/sh: -W: invalid option
    Usage: /bin/sh [GNU long option] [option] ...
    /bin/sh [GNU long option] [option] script-file ...
    GNU long options:
    --debug
    --debugger
    --dump-po-strings
    --dump-strings
    --help
    --init-file
    --login
    --noediting
    --noprofile
    --norc
    --posix
    --protected
    --rcfile
    --rpm-requires
    --restricted
    --verbose
    --version
    --wordexp
    Shell options:
    -irsD or -c command or -O shopt_option (invocation only)
    -abefhkmnptuvxBCHP or -o option
    Makefile:85: ***
    Makefile:90: *** Warning: kernel source configuration (UP)
    Makefile:91: *** does not match running kernel (SMP)
    Makefile:93: *** Continuing with build,
    Makefile:94: *** resulting driver may not be what you want
    Makefile:95: ***
    make: Nothing to be done for `sc92031.c'.



    Please look into this and do the needful

  5. #5
    Just Joined!
    Join Date
    Jan 2009
    Posts
    7
    and i am not able find sc92031.ko file in
    /lib/modules/2.6.18-53.el5/kernel/drivers/net directory

    please do the needful

Posting Permissions

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