LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-26-2006, 08: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:

Code:
make -C driver
make[1]: Entering directory '/home/abatnij/ndiswraper-1.21/driver'
Can't find kernel build files in /lib/modules/2.6.16.13-4-default/build;
  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 08:54 PM.
 
Old 07-26-2006, 09:37 PM   #2
gizza23
Member
 
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:
Code:
ln -s /usr/src/linux-<kernel-version> /lib/modules/VERSION/build
Take a look at it for yourself at http://ndiswrapper.sourceforge.net/.

Good luck!
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:12 PM.

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