Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-10-2008, 05:28 PM   #1
LQ Newbie
Registered: Sep 2008
Posts: 4

Rep: Reputation: 0
Question Cannot find kernel version in /usr/src/linux-, is it configured?

Hi, I'm new in linux.
I'm trying to download ndiswrapper, but went I try to install it I get this error:

bt ndiswrapper-1.53 # ls
AUTHORS INSTALL README loadndisdriver.8 ndiswrapper.spec
ChangeLog Makefile driver/ ndiswrapper.8 utils/
bt ndiswrapper-1.53 # make
make -C driver
make[1]: Entering directory `/root/ndiswrapper-1.53/driver'
Makefile:34: *** Cannot find kernel version in /usr/src/linux-, is it configured?. Stop.
make[1]: Leaving directory `/root/ndiswrapper-1.53/driver'
make: *** [all] Error 2

I have read for two days in internet to find out how to correct this but it has been imposable.
Old 09-10-2008, 05:39 PM   #2
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 69
I'm assuming you have the kernel source installed in your /usr/src/linux directory? If so, cd to it and type (as root)

zcat /proc/config.gz > .config
make oldconfig

Now, try building your module again.
Old 09-11-2008, 02:24 PM   #3
LQ Newbie
Registered: Sep 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Uncle T, I have ndiswrapper installed and working.
Old 07-04-2010, 03:52 PM   #4
LQ Newbie
Registered: Jul 2010
Posts: 5

Rep: Reputation: 0
Help me dude

I have the same problem as you did, evelasco, and I want to know what you did to get ndiswrapper working. Thanks.


cannot, find, kernel, version

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD 6.2, no /usr/src/tools and /usr/src/usr.bin, failed to build world. Mr_Shameless *BSD 4 05-16-2008 08:43 AM
can't find usr/src/linux folder r00k2oo4 SUSE / openSUSE 2 10-19-2004 01:35 PM
I can't find my usr/src/linux folder r00k2oo4 Linux - Newbie 4 10-19-2004 09:42 AM
can't find /usr/src/linux/2.4.20-30.9 daniel31 Red Hat 8 03-02-2004 02:18 PM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 03:24 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration