LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-30-2007, 04:39 PM   #1
mc6415
LQ Newbie
 
Registered: Apr 2007
Posts: 1

Rep: Reputation: 0
Please help trying to install ndiswrapper 1.42 keep getting error


Im new to linux so speak to me as if i'm an idiot basically while trying to install ndiswrapper 1.42 on mandriva 2007 free with kernel 2.6.17-5 i keep getting the error
Quote:
make -C driver
make[1]: Entering directory `/home/coombes/Documents/ndiswrapper-1.42/driver'
Can't find kernel build files in /lib/modules/2.6.17-5mdv/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/coombes/Documents/ndiswrapper-1.42/driver'
make: *** [all] Error 2
since it seems to be my kernel build files so i dowloaded the tarball of my kernel and extracted it but thats as far as ive got as i didn't want to touch the kernel all help appreciated

Coombes,
(a n00b)
 
Old 05-02-2007, 01:04 AM   #2
Gryyphyn
Member
 
Registered: Dec 2006
Location: Ogden, UT (Go OALUG!)
Distribution: OpenSuSE 10.1
Posts: 61

Rep: Reputation: 15
Cool ndiswrapper problem

Quote:
Originally Posted by mc6415
Im new to linux so speak to me as if i'm an idiot basically while trying to install ndiswrapper 1.42 on mandriva 2007 free with kernel 2.6.17-5 i keep getting the error

since it seems to be my kernel build files so i dowloaded the tarball of my kernel and extracted it but thats as far as ive got as i didn't want to touch the kernel all help appreciated

Coombes,
(a n00b)

I had the same issue recently with OpenSUSE 10.2 (2.6.18). I had inadvertently de-selected the kernel source packages when I installed. From that aspect you did right by grabbing the kernel source for your ver. However it looks like some of the build files themselves, which are generated during installation of Linux, are missing, thus the error. I'm not sure how to correct that problem non-destructively.

The only solution I've come up with is a re-install and making sure you have the kernel source installed. I don't know how Mandriva handles package management or package selection during install. OpenSUSE uses YAST, which made it easy for me (simply selecting the package and it regenerated the build files with the kernel source dir). You may try hitting the Mandriva forums for specific answers on resolving the build file problem.

Once you have that done you should be able to install as root. (That's another tip: try installing as root and it may resolve the package dependency issues).

Gryyphyn, out.
 
  


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
Error after install ndiswrapper vietmusicteam Linux - Wireless Networking 3 01-01-2007 07:21 AM
Error after install ndiswrapper vietmusicteam Linux - Wireless Networking 1 01-01-2007 01:26 AM
error with ndiswrapper 1.22 install on FC5 nicetok Fedora 1 08-18-2006 03:56 AM
Trying to install ndiswrapper. getting error (need to know what it means) .nu Linux - Newbie 7 07-30-2006 02:19 AM
ndiswrapper- Make Install Error Seribicus Linux - Wireless Networking 3 07-05-2004 06:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:13 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