Review your favorite Linux distribution.
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 07-26-2006, 09:35 PM   #1
Ian Paul Freely
LQ Newbie
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
Error compiling NdisWrapper

I'm running a fresh install of SuSE 10.1 and my computer has a Linksys WMP54GS installed. Currently, the only way I can access my network is wireless, so I have no other alternative. My problem is that when I follow the installation on its site (I would give a link but the forum is saying no), I can only get as far as halfway through "Compile and Install." When I type "make distclean" it works just fine, but when I type just "make" as instructed it gives me the following:

make -C driver
make[1]: Entering directory '/home/abatnij/ndiswraper-1.21/driver'
Can't find kernel build files in /lib/modules/;
  give the path to kernel build directory with
  KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory '/home/abatnij/ndiswrapper-1.21/driver'
make: *** [all] Error 2
What does all this mean and how can I fix it?

[EDIT] Nevermind, I found my answer on google.

Last edited by Ian Paul Freely; 07-26-2006 at 09:54 PM.
Old 07-26-2006, 10:37 PM   #2
Registered: Jun 2005
Location: Chicago, IL, USA
Distribution: Fedora Core, CentOS
Posts: 188

Rep: Reputation: 31
I've run into this two when I was configuring my Wireless card. The compiler is complaining because there's no link to the kernel build files in the in that directory. In the ndiswrapper site they instruct users to make this link using this command:
ln -s /usr/src/linux-<kernel-version> /lib/modules/VERSION/build
Take a look at it for yourself at

Good luck!


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
Ndiswrapper compiling in Slackware 10.1 apinta10 Linux - Wireless Networking 6 06-20-2006 10:13 AM
problem in compiling ndiswrapper stragatto Slackware 1 03-04-2006 06:26 PM
compiling Ndiswrapper kernel joshknape Linux - Wireless Networking 1 07-17-2005 03:18 AM
error compiling ndiswrapper jkfff Linux - Wireless Networking 2 04-04-2005 09:32 PM
compiling a module (ndiswrapper) r.stiltskin Debian 4 10-23-2004 03:14 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:23 PM.

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