Find the answer to your Linux question:
Results 1 to 3 of 3
Hey, i just did a fresh netinstall of debian and was trying to configure my wireless adapter. When i tried to compile ndiswrapper i'm getting this error.. Code: droogie@debian:~/ndiswrapper-1.52$ make ...
  1. #1
    Just Joined!
    Join Date
    Apr 2008
    Posts
    4

    Cant compile ndiswrapper, kernel source error

    Hey, i just did a fresh netinstall of debian and was trying to configure my wireless adapter.

    When i tried to compile ndiswrapper i'm getting this error..

    Code:
    droogie@debian:~/ndiswrapper-1.52$ make
    make -C driver
    make[1]: Entering directory `/home/droogie/ndiswrapper-1.52/driver'
    Makefile:35: *** Cannot find kernel version in /lib/modules/2.6.18-6-486/build, is it configured?.  Stop.
    make[1]: Leaving directory `/home/droogie/ndiswrapper-1.52/driver'
    make: *** [all] Error 2
    Could someone show me how to make this compile, thanks!

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,343
    You need to install the kernel source that matches the version of the kernel you are running. According to the output you posted, you are running kernel 2.6.18-6, so you need to install linux-source-2.6.18.

  3. #3
    Just Joined!
    Join Date
    Apr 2008
    Posts
    4
    Thanks for the response daark.child,

    Dapper_Dan actually walked me through everything and helped me install everything to compile ndiswrapper and eventually get on my wireless network

Posting Permissions

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