Find the answer to your Linux question:
Results 1 to 5 of 5
I'm trying to install ndiswrapper on Kubuntu (Kernel ver. 2.6.15-26-386) but when I try to 'make' I get this error. Code: root@graham-desktop:/downloads/ndiswrapper-1.23# make make -C driver make[1]: Entering directory `/downloads/ndiswrapper-1.23/driver' ...
  1. #1
    Linux User Oxygen's Avatar
    Join Date
    Jul 2004
    Location
    Hartlepool, England
    Posts
    392

    Missing Kernel Files

    I'm trying to install ndiswrapper on Kubuntu (Kernel ver. 2.6.15-26-386) but when I try to 'make' I get this error.

    Code:
    root@graham-desktop:/downloads/ndiswrapper-1.23# make
    make -C driver
    make[1]: Entering directory `/downloads/ndiswrapper-1.23/driver'
    Can't find kernel build files in /lib/modules/2.6.15-26-386/build;
      give the path to kernel build directory with
      KBUILD=<path> argument to make
    make[1]: *** [prereq_check] Error 1
    make[1]: Leaving directory `/downloads/ndiswrapper-1.23/driver'
    make: *** [all] Error 2
    What kernel build files is it on about?
    Graham - You'd better Use Linux!

    I'm registerd Linux user #397030. What about you?

  2. #2
    Linux Enthusiast
    Join Date
    Aug 2006
    Posts
    631
    You must install the kernel source and kernel headers:

    http://www.linuxforums.org/forum/deb...-issues-2.html

    Probable you must use sudo.

    Regards

  3. #3
    Linux User Oxygen's Avatar
    Join Date
    Jul 2004
    Location
    Hartlepool, England
    Posts
    392
    Any idea where I can get kernel source (got header package) that's compatible? My version is 2.6.15-26-386. Also my Linux has no internet atm so I can't use atp-get
    Graham - You'd better Use Linux!

    I'm registerd Linux user #397030. What about you?

  4. #4
    Linux Enthusiast
    Join Date
    Aug 2006
    Posts
    631
    You must install the kernel-headers and sources that match your kernel release. If you don't have an internet connection you can install it from a CD-ROM.

    http://www.psychocats.net/ubuntu/installingsoftware

    Regards

  5. #5
    Linux User Oxygen's Avatar
    Join Date
    Jul 2004
    Location
    Hartlepool, England
    Posts
    392
    Ok, I'm going to approach this differently. I'll update Kubuntu to the latest version and start over.

    I'll reply soon.
    Graham - You'd better Use Linux!

    I'm registerd Linux user #397030. What about you?

Posting Permissions

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